Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: xfa/fde/tto/fde_textout.h

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fde/fde_visualset.h ('k') | xfa/fde/xml/fde_xml.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FDE_TTO_FDE_TEXTOUT_H_ 7 #ifndef XFA_FDE_TTO_FDE_TEXTOUT_H_
8 #define XFA_FDE_TTO_FDE_TEXTOUT_H_ 8 #define XFA_FDE_TTO_FDE_TEXTOUT_H_
9 9
10 #include "core/include/fxge/fx_dib.h" 10 #include "core/include/fxge/fx_dib.h"
(...skipping 26 matching lines...) Expand all
37 #define FDE_TTOALIGNMENT_BottomAuto 11 37 #define FDE_TTOALIGNMENT_BottomAuto 11
38 38
39 class IFDE_TextOut { 39 class IFDE_TextOut {
40 public: 40 public:
41 static IFDE_TextOut* Create(); 41 static IFDE_TextOut* Create();
42 virtual ~IFDE_TextOut() {} 42 virtual ~IFDE_TextOut() {}
43 virtual void Release() = 0; 43 virtual void Release() = 0;
44 virtual void SetFont(IFX_Font* pFont) = 0; 44 virtual void SetFont(IFX_Font* pFont) = 0;
45 virtual void SetFontSize(FX_FLOAT fFontSize) = 0; 45 virtual void SetFontSize(FX_FLOAT fFontSize) = 0;
46 virtual void SetTextColor(FX_ARGB color) = 0; 46 virtual void SetTextColor(FX_ARGB color) = 0;
47 virtual void SetStyles(FX_DWORD dwStyles) = 0; 47 virtual void SetStyles(uint32_t dwStyles) = 0;
48 virtual void SetTabWidth(FX_FLOAT fTabWidth) = 0; 48 virtual void SetTabWidth(FX_FLOAT fTabWidth) = 0;
49 virtual void SetEllipsisString(const CFX_WideString& wsEllipsis) = 0; 49 virtual void SetEllipsisString(const CFX_WideString& wsEllipsis) = 0;
50 virtual void SetParagraphBreakChar(FX_WCHAR wch) = 0; 50 virtual void SetParagraphBreakChar(FX_WCHAR wch) = 0;
51 virtual void SetAlignment(int32_t iAlignment) = 0; 51 virtual void SetAlignment(int32_t iAlignment) = 0;
52 virtual void SetLineSpace(FX_FLOAT fLineSpace) = 0; 52 virtual void SetLineSpace(FX_FLOAT fLineSpace) = 0;
53 virtual void SetDIBitmap(CFX_DIBitmap* pDIB) = 0; 53 virtual void SetDIBitmap(CFX_DIBitmap* pDIB) = 0;
54 virtual void SetRenderDevice(CFX_RenderDevice* pDevice) = 0; 54 virtual void SetRenderDevice(CFX_RenderDevice* pDevice) = 0;
55 virtual void SetClipRect(const CFX_Rect& rtClip) = 0; 55 virtual void SetClipRect(const CFX_Rect& rtClip) = 0;
56 virtual void SetClipRect(const CFX_RectF& rtClip) = 0; 56 virtual void SetClipRect(const CFX_RectF& rtClip) = 0;
57 virtual void SetMatrix(const CFX_Matrix& matrix) = 0; 57 virtual void SetMatrix(const CFX_Matrix& matrix) = 0;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 int32_t iLength, 93 int32_t iLength,
94 FX_FLOAT x, 94 FX_FLOAT x,
95 FX_FLOAT y) = 0; 95 FX_FLOAT y) = 0;
96 virtual void DrawLogicText(const FX_WCHAR* pwsStr, 96 virtual void DrawLogicText(const FX_WCHAR* pwsStr,
97 int32_t iLength, 97 int32_t iLength,
98 const CFX_RectF& rect) = 0; 98 const CFX_RectF& rect) = 0;
99 virtual int32_t GetTotalLines() = 0; 99 virtual int32_t GetTotalLines() = 0;
100 }; 100 };
101 101
102 #endif // XFA_FDE_TTO_FDE_TEXTOUT_H_ 102 #endif // XFA_FDE_TTO_FDE_TEXTOUT_H_
OLDNEW
« no previous file with comments | « xfa/fde/fde_visualset.h ('k') | xfa/fde/xml/fde_xml.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698