summaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'text.h')
-rw-r--r--text.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/text.h b/text.h
index 882b4ae..dbf223d 100644
--- a/text.h
+++ b/text.h
@@ -23,6 +23,10 @@ typedef struct {
float min_x, max_x, min_y, max_y;
// [0] = r, [1] = g, [2] = b, [3] = a.
float color[4];
+
+ // largest x & y achieved (for computing size)
+ double x_largest;
+ double y_largest;
} TextRenderState;
typedef enum {