Changeset 313ac8e in mainline for uspace/lib/gfxfont/test/font.c


Ignore:
Timestamp:
2020-09-17T15:28:03Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7bef2d8
Parents:
414020d9
Message:

Make negative quadrants actually work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfxfont/test/font.c

    r414020d9 r313ac8e  
    332332        gfx_glyph_t *glyph;
    333333        gfx_context_t *gc;
     334        gfx_rect_t nrect;
    334335        test_gc_t tgc;
    335336        errno_t rc;
     
    350351        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    351352
    352         rc = gfx_font_splice_at_glyph(font, glyph, 10, 10);
     353        nrect.p0.x = -5;
     354        nrect.p0.y = -5;
     355        nrect.p1.x = 5;
     356        nrect.p1.y = 5;
     357        rc = gfx_font_splice_at_glyph(font, glyph, &nrect);
    353358        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    354359
Note: See TracChangeset for help on using the changeset viewer.