summaryrefslogtreecommitdiff
path: root/core/fxge/include/fx_font.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-05-19 06:17:50 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-19 06:17:50 -0700
commit7b214237e2be6a0d962987d222c73161620c0a27 (patch)
tree18b6336e63f834adedf55c5165a64ba3fcb07cc5 /core/fxge/include/fx_font.h
parentd1f843e7473263593fd153f1e3210761c29e5363 (diff)
downloadpdfium-7b214237e2be6a0d962987d222c73161620c0a27.tar.xz
Clean up CFX_RenderDevice::DrawNormalText().
Review-Url: https://codereview.chromium.org/1990583002
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);