More TODOs.

This commit is contained in:
Pietro Gagliardi 2017-09-27 14:24:07 -04:00
parent cb5f9b3c9c
commit e597d8ce3b
1 changed files with 1 additions and 0 deletions

View File

@ -190,6 +190,7 @@ void uiDrawText(uiDrawContext *c, uiDrawTextLayout *tl, double x, double y)
// TODO how is this affected by a non-identity CTM? // TODO how is this affected by a non-identity CTM?
CGContextTranslateCTM(c->c, 0, c->height); CGContextTranslateCTM(c->c, 0, c->height);
CGContextScaleCTM(c->c, 1.0, -1.0); CGContextScaleCTM(c->c, 1.0, -1.0);
// TODO save the text matrix
CGContextSetTextMatrix(c->c, CGAffineTransformIdentity); CGContextSetTextMatrix(c->c, CGAffineTransformIdentity);
// wait, that's not enough; we need to offset y values to account for our new flipping // wait, that's not enough; we need to offset y values to account for our new flipping