Stéphane Marchesin | ae37e6c | 2014-08-08 18:19:40 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2014 The Chromium OS Authors. All rights reserved. |
| 3 | * Use of this source code is governed by a BSD-style license that can be |
| 4 | * found in the LICENSE file. |
| 5 | */ |
| 6 | |
| 7 | #ifndef FONT_H |
| 8 | #define FONT_H |
| 9 | |
Stéphane Marchesin | af4423b | 2014-08-13 16:39:24 -0700 | [diff] [blame] | 10 | void font_init(int scaling); |
Stéphane Marchesin | ae37e6c | 2014-08-08 18:19:40 -0700 | [diff] [blame] | 11 | void font_fillchar(uint32_t * dst_pointer, int dst_char_x, int dst_char_y, |
| 12 | int32_t pitch, uint32_t front_color, uint32_t back_color); |
| 13 | void font_render(uint32_t * dst_pointer, int dst_char_x, int dst_char_y, |
Dominik Behr | 0000350 | 2014-08-15 16:42:37 -0700 | [diff] [blame^] | 14 | int32_t pitch, uint32_t ch, uint32_t front_color, |
Stéphane Marchesin | ae37e6c | 2014-08-08 18:19:40 -0700 | [diff] [blame] | 15 | uint32_t back_color); |
| 16 | void font_get_size(uint32_t * char_width, uint32_t * char_height); |
| 17 | |
| 18 | #endif |