From 7b214237e2be6a0d962987d222c73161620c0a27 Mon Sep 17 00:00:00 2001 From: thestig Date: Thu, 19 May 2016 06:17:50 -0700 Subject: Clean up CFX_RenderDevice::DrawNormalText(). Review-Url: https://codereview.chromium.org/1990583002 --- core/fxge/include/fx_font.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'core/fxge/include/fx_font.h') 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& glyphs, int anti_alias, FX_FLOAT retinaScaleX = 1.0f, FX_FLOAT retinaScaleY = 1.0f); -- cgit v1.2.3