More TODOs.

This commit is contained in:
Pietro Gagliardi 2016-01-13 04:08:01 -05:00
parent 6202863faa
commit 85af3d2a5b
1 changed files with 2 additions and 0 deletions

View File

@ -544,6 +544,8 @@ void doDrawText(CGContextRef c, CGFloat cheight, double x, double y, uiDrawTextL
if (line == NULL)
complain("error creating CTLine object in uiDrawText()");
// TODO image bounds are wrong for this; figure out what is correct
// TODO provide a way to get the image bounds as a separate function later
// oh, and (x, y) is the bottom-left corner; we need the top-left
// remember that we're flipped, so we subtract
bounds = CTLineGetImageBounds(line, c);