From 85af3d2a5b78315c905ab81014f8036dab7adb4c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 13 Jan 2016 04:08:01 -0500 Subject: [PATCH] More TODOs. --- darwin/drawtext.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/darwin/drawtext.m b/darwin/drawtext.m index f175bee4..a3c3013d 100644 --- a/darwin/drawtext.m +++ b/darwin/drawtext.m @@ -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);