mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-08 15:49:54 +03:00
chore(gx): improve param names for GxuFontGetTextExtent
This commit is contained in:
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -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) {
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user