Skip to content

Commit dd3996f

Browse files
committed
Add FONT_SIZE_METRIC definitions to raylib.h
1 parent 314f560 commit dd3996f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/raylib.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,12 @@ typedef enum {
913913
FONT_SDF // SDF font generation, requires external shader
914914
} FontType;
915915

916+
// Font size metric types
917+
typedef enum {
918+
FONT_SIZE_METRIC_EM_BOX = 0,
919+
FONT_SIZE_METRIC_ASCENT
920+
} FontSizeMetric;
921+
916922
// Color blending modes (pre-defined)
917923
typedef enum {
918924
BLEND_ALPHA = 0, // Blend textures considering alpha (default)

0 commit comments

Comments
 (0)