summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_textout.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-03-27 19:35:14 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-27 19:35:14 +0000
commit51d50d61fdee6a243ea1e2ec120560ae29c769e6 (patch)
tree374476e71a5bbe3e7e069149d7129304f6be0acb /xfa/fde/cfde_textout.h
parent1f12904e10b3dcfde861f4befeaec34519f2d6d4 (diff)
downloadpdfium-51d50d61fdee6a243ea1e2ec120560ae29c769e6.tar.xz
Cleanup some CFDE_Data structs
Change-Id: I9bf8d55d7d3624210cd54bc93db2c3671bec3a8f Reviewed-on: https://pdfium-review.googlesource.com/29270 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_textout.h')
-rw-r--r--xfa/fde/cfde_textout.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/xfa/fde/cfde_textout.h b/xfa/fde/cfde_textout.h
index 6b6878e07c..6e72f8c441 100644
--- a/xfa/fde/cfde_textout.h
+++ b/xfa/fde/cfde_textout.h
@@ -22,6 +22,17 @@ class CFGAS_GEFont;
class CFX_RenderDevice;
class CFX_TxtBreak;
+struct FDE_TTOPIECE {
+ FDE_TTOPIECE();
+ FDE_TTOPIECE(const FDE_TTOPIECE& that);
+ ~FDE_TTOPIECE();
+
+ int32_t iStartChar;
+ int32_t iChars;
+ uint32_t dwCharStyles;
+ CFX_RectF rtPiece;
+};
+
class CFDE_TextOut {
public:
static bool DrawString(CFX_RenderDevice* device,