mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02:00
ImFont: storing offsets as X0/Y0/X1/Y1 analoguous to examples for stb_truetype
This commit is contained in:
3
imgui.h
3
imgui.h
@ -1185,8 +1185,7 @@ struct ImFont
|
||||
{
|
||||
ImWchar Codepoint;
|
||||
signed short XAdvance;
|
||||
signed short Width, Height;
|
||||
signed short XOffset, YOffset;
|
||||
signed short X0, Y0, X1, Y1;
|
||||
float U0, V0, U1, V1; // Texture coordinates
|
||||
};
|
||||
float Ascent; // Distance from top to bottom of e.g. 'A' [0..FontSize]
|
||||
|
Reference in New Issue
Block a user