Changeset f13f1495 in mainline for uspace/lib/gfxfont/private/font.h


Ignore:
Timestamp:
2020-09-29T14:58:57Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
efe0881
Parents:
a81d480
git-author:
Jiri Svoboda <jiri@…> (2020-09-28 19:58:39)
git-committer:
Jiri Svoboda <jiri@…> (2020-09-29 14:58:57)
Message:

Bit pack font bitmap to 1 bit per pixel when saving to TPF file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfxfont/private/font.h

    ra81d480 rf13f1495  
    4040#include <adt/list.h>
    4141#include <errno.h>
     42#include <stdint.h>
    4243#include <types/gfx/bitmap.h>
    4344#include <types/gfx/context.h>
     
    9192    gfx_rect_t *);
    9293extern errno_t gfx_font_info_load(gfx_typeface_t *, riff_rchunk_t *);
     94extern errno_t gfx_font_bitmap_pack(gfx_coord_t, gfx_coord_t, uint32_t *,
     95    void **, size_t *);
     96extern errno_t gfx_font_bitmap_unpack(gfx_coord_t, gfx_coord_t, void *, size_t,
     97    uint32_t *);
    9398extern errno_t gfx_font_load(gfx_font_info_t *);
    9499extern errno_t gfx_font_save(gfx_font_info_t *, riffw_t *);
Note: See TracChangeset for help on using the changeset viewer.