mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
chore(gx): improve param names for GxuFontGetTextExtent
This commit is contained in:
parent
d1a30161f4
commit
76bc57edb5
@ -478,8 +478,8 @@ float GxuFontGetOneToOneHeight(CGxFont* font) {
|
||||
return PixelToScreenHeight(font->GetPixelSize());
|
||||
}
|
||||
|
||||
void GxuFontGetTextExtent(CGxFont* font, const char* text, uint32_t numBytes, float a4, float* extent, float a6, float a7, float a8, uint32_t flags) {
|
||||
InternalGetTextExtent(font, text, numBytes, a4, extent, flags, a6, a7);
|
||||
void GxuFontGetTextExtent(CGxFont* font, const char* text, uint32_t numBytes, float height, float* extent, float a6, float scale, float a8, uint32_t flags) {
|
||||
InternalGetTextExtent(font, text, numBytes, height, extent, flags, a6, scale);
|
||||
}
|
||||
|
||||
float GxuFontGetWrappedTextHeight(CGxFont* font, const char* text, float a3, float a4, const C2Vector& a5, float a6, float a7, uint32_t flags) {
|
||||
|
||||
@ -81,7 +81,7 @@ uint32_t GxuFontGetMaxCharsWithinWidthAndHeight(CGxFont*, const char*, float, fl
|
||||
|
||||
float GxuFontGetOneToOneHeight(CGxFont*);
|
||||
|
||||
void GxuFontGetTextExtent(CGxFont*, const char*, uint32_t, float, float*, float, float, float, uint32_t);
|
||||
void GxuFontGetTextExtent(CGxFont* font, const char* text, uint32_t numBytes, float height, float* extent, float a6, float scale, float a8, uint32_t flags);
|
||||
|
||||
float GxuFontGetWrappedTextHeight(CGxFont*, const char*, float, float, const C2Vector&, float, float, uint32_t);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user