summaryrefslogtreecommitdiff
path: root/core/fxge/include/fx_font.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/include/fx_font.h')
-rw-r--r--core/fxge/include/fx_font.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/fxge/include/fx_font.h b/core/fxge/include/fx_font.h
index 6bc9b2e4c2..762cdfaf87 100644
--- a/core/fxge/include/fx_font.h
+++ b/core/fxge/include/fx_font.h
@@ -528,8 +528,12 @@ struct FXTEXT_GLYPHPOS {
FX_FLOAT m_fOriginY;
};
-FX_RECT FXGE_GetGlyphsBBox(FXTEXT_GLYPHPOS* pGlyphAndPos,
- int nChars,
+void Color2Argb(FX_ARGB& argb,
+ uint32_t color,
+ int alpha_flag,
+ void* pIccTransform);
+
+FX_RECT FXGE_GetGlyphsBBox(const std::vector<FXTEXT_GLYPHPOS>& glyphs,
int anti_alias,
FX_FLOAT retinaScaleX = 1.0f,
FX_FLOAT retinaScaleY = 1.0f);