Changeset d2100e2 in mainline for uspace/lib/gfxfont/private/glyph.h


Ignore:
Timestamp:
2020-08-09T18:40:28Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
06b8383
Parents:
5592c56
Message:

Finish glyph bitmap operations and tests

Setting/getting pixel, opening/saving glyph bitmap.

File:
1 edited

Legend:

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

    r5592c56 rd2100e2  
    3939
    4040#include <adt/list.h>
     41#include <gfx/coord.h>
    4142#include <types/gfx/glyph.h>
    4243
     
    5455        /** Text patterns (of gfx_glyph_pattern_t) */
    5556        list_t patterns;
     57        /** Rectangle within font bitmap containing the glyph */
     58        gfx_rect_t rect;
     59        /** Glyph origin within font bitmap (pen start point) */
     60        gfx_coord2_t origin;
    5661};
    5762
     
    6974};
    7075
     76extern errno_t gfx_glyph_transfer(gfx_glyph_t *, gfx_coord_t, gfx_bitmap_t *,
     77    gfx_rect_t *);
     78
    7179#endif
    7280
Note: See TracChangeset for help on using the changeset viewer.