summaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-11-25 11:43:13 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-11-25 11:43:13 -0500
commitb58e9a3faa4e35ff6e872e28c7051fa19e2b11ad (patch)
treeba0ab494e36a98cbaa92b99ad1949256e4a98279 /text.h
parentc2f91a659c126d1fd5ee951bdf58540d9d39fd47 (diff)
icon
Diffstat (limited to 'text.h')
-rw-r--r--text.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/text.h b/text.h
index 45cc6bb..9f0d351 100644
--- a/text.h
+++ b/text.h
@@ -12,8 +12,8 @@ typedef struct Font Font;
typedef struct {
float x, y;
- // points at which the text should be cut off in the x and y directions
- float edge_right, edge_bottom;
+ // points at which the text should be cut off
+ float min_x, max_x, min_y, max_y;
} TextRenderState;
extern bool text_has_err(void);