Changeset 32066f2 in mainline for uspace/lib/gfxfont/src/glyph_bmp.c


Ignore:
Timestamp:
2020-08-27T11:24:39Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2776ff
Parents:
20d0098
git-author:
Jiri Svoboda <jiri@…> (2020-08-26 18:34:29)
git-committer:
Jiri Svoboda <jiri@…> (2020-08-27 11:24:39)
Message:

Need to be able to paint in the negative quadrants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfxfont/src/glyph_bmp.c

    r20d0098 r32066f2  
    165165}
    166166
     167/** Get rectangle covered by glyph bitmap.
     168 *
     169 * @param bmp Glyph bitmap
     170 * @param rect Place to store rectangle
     171 */
     172void gfx_glyph_bmp_get_rect(gfx_glyph_bmp_t *bmp, gfx_rect_t *rect)
     173{
     174        *rect = bmp->rect;
     175}
     176
    167177/** Get pixel from glyph bitmap.
    168178 *
Note: See TracChangeset for help on using the changeset viewer.