mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
pixman: render vgafont glyphs into pixman images
Add helper functions to create pixman mask images for glyphs and to render these glyphs into a pixman image. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
@ -44,5 +44,12 @@ pixman_image_t *qemu_pixman_mirror_create(pixman_format_code_t format,
|
||||
void qemu_pixman_image_unref(pixman_image_t *image);
|
||||
|
||||
pixman_color_t qemu_pixman_color(PixelFormat *pf, uint32_t color);
|
||||
pixman_image_t *qemu_pixman_glyph_from_vgafont(int height, const uint8_t *font,
|
||||
unsigned int ch);
|
||||
void qemu_pixman_glyph_render(pixman_image_t *glyph,
|
||||
pixman_image_t *surface,
|
||||
pixman_color_t *fgcol,
|
||||
pixman_color_t *bgcol,
|
||||
int x, int y, int cw, int ch);
|
||||
|
||||
#endif /* QEMU_PIXMAN_H */
|
||||
|
Reference in New Issue
Block a user