diff doodle/tk/drawing.d @ 78:024a5608087f

Meh
author "David Bryant <bagnose@gmail.com>"
date Sun, 15 Aug 2010 15:19:14 +0930
parents 78bc2046256e
children 535bae7a7305
line wrap: on
line diff
--- a/doodle/tk/drawing.d	Sun Aug 15 01:36:22 2010 +0930
+++ b/doodle/tk/drawing.d	Sun Aug 15 15:19:14 2010 +0930
@@ -35,5 +35,8 @@
     //void setFontSize;
     void drawText(in string text);
 
+    void measureText(in string text, out Rectangle logicalBounds, out Rectangle totalBounds);
+
     // How to fit fonts, metrics, etc in here?
+    // Initially let's just support one font
 }