From 3b916fa74930e8f95e727b2ddbca9d2c9cf1507f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 27 Dec 2015 11:32:47 -0500 Subject: [PATCH] Stubbed out the text drawing functions on OS X. --- darwin/draw.m | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/darwin/draw.m b/darwin/draw.m index e14c5d2d..268108e5 100644 --- a/darwin/draw.m +++ b/darwin/draw.m @@ -488,3 +488,20 @@ void uiDrawFreeFontFamilies(uiDrawFontFamilies *ff) CFRelease(ff->fonts); uiFree(ff); } + +double uiDrawTextSizeToPoints(double textSize) +{ + // TODO + return 0; +} + +double uiDrawPointsToTextSize(double points) +{ + // TODO + return 0; +} + +void uiDrawText(uiDrawContext *c, double x, double y, const char *text, uiDrawTextStyle *style) +{ + // TODO +}