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

Side by Side Diff: xfa/src/fdp/include/fde_tto.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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/src/fdp/include/fde_rdv.h ('k') | xfa/src/fdp/include/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 _FDE_TEXTOUT 7 #ifndef _FDE_TEXTOUT
8 #define _FDE_TEXTOUT 8 #define _FDE_TEXTOUT
9 class IFDE_TextOut; 9 class IFDE_TextOut;
10 #define FDE_TTOSTYLE_Underline 0x0001 10 #define FDE_TTOSTYLE_Underline 0x0001
(...skipping 25 matching lines...) Expand all
36 public: 36 public:
37 static IFDE_TextOut* Create(); 37 static IFDE_TextOut* Create();
38 virtual void Release() = 0; 38 virtual void Release() = 0;
39 virtual void SetFont(IFX_Font *pFont) = 0; 39 virtual void SetFont(IFX_Font *pFont) = 0;
40 virtual void SetFontSize(FX_FLOAT fFontSize) = 0; 40 virtual void SetFontSize(FX_FLOAT fFontSize) = 0;
41 virtual void SetTextColor(FX_ARGB color) = 0; 41 virtual void SetTextColor(FX_ARGB color) = 0;
42 virtual void SetStyles(FX_DWORD dwStyles) = 0; 42 virtual void SetStyles(FX_DWORD dwStyles) = 0;
43 virtual void SetTabWidth(FX_FLOAT fTabWidth) = 0; 43 virtual void SetTabWidth(FX_FLOAT fTabWidth) = 0;
44 virtual void SetEllipsisString(const CFX_WideString &wsEllips is) = 0; 44 virtual void SetEllipsisString(const CFX_WideString &wsEllips is) = 0;
45 virtual void SetParagraphBreakChar(FX_WCHAR wch) = 0; 45 virtual void SetParagraphBreakChar(FX_WCHAR wch) = 0;
46 virtual void» » SetAlignment(FX_INT32 iAlignment) = 0; 46 virtual void» » SetAlignment(int32_t iAlignment) = 0;
47 virtual void SetLineSpace(FX_FLOAT fLineSpace) = 0; 47 virtual void SetLineSpace(FX_FLOAT fLineSpace) = 0;
48 virtual void SetDIBitmap(CFX_DIBitmap *pDIB) = 0; 48 virtual void SetDIBitmap(CFX_DIBitmap *pDIB) = 0;
49 virtual void SetRenderDevice(CFX_RenderDevice *pDevice) = 0; 49 virtual void SetRenderDevice(CFX_RenderDevice *pDevice) = 0;
50 virtual void SetClipRect(const CFX_Rect &rtClip) = 0; 50 virtual void SetClipRect(const CFX_Rect &rtClip) = 0;
51 virtual void SetClipRect(const CFX_RectF &rtClip) = 0; 51 virtual void SetClipRect(const CFX_RectF &rtClip) = 0;
52 virtual void SetMatrix(const CFX_Matrix &matrix) = 0; 52 virtual void SetMatrix(const CFX_Matrix &matrix) = 0;
53 virtual void SetLineBreakTolerance(FX_FLOAT fTolerance) = 0; 53 virtual void SetLineBreakTolerance(FX_FLOAT fTolerance) = 0;
54 virtual void» » CalcSize(FX_LPCWSTR pwsStr, FX_INT32 iLength, CF X_Size &size) = 0; 54 virtual void» » CalcSize(FX_LPCWSTR pwsStr, int32_t iLength, CFX _Size &size) = 0;
55 virtual void» » CalcSize(FX_LPCWSTR pwsStr, FX_INT32 iLength, CF X_SizeF &size) = 0; 55 virtual void» » CalcSize(FX_LPCWSTR pwsStr, int32_t iLength, CFX _SizeF &size) = 0;
56 virtual void» » CalcSize(FX_LPCWSTR pwsStr, FX_INT32 iLength, CF X_Rect &rect) = 0; 56 virtual void» » CalcSize(FX_LPCWSTR pwsStr, int32_t iLength, CFX _Rect &rect) = 0;
57 virtual void» » CalcSize(FX_LPCWSTR pwsStr, FX_INT32 iLength, CF X_RectF &rect) = 0; 57 virtual void» » CalcSize(FX_LPCWSTR pwsStr, int32_t iLength, CFX _RectF &rect) = 0;
58 virtual void» » DrawText(FX_LPCWSTR pwsStr, FX_INT32 iLength, FX _INT32 x, FX_INT32 y) = 0; 58 virtual void» » DrawText(FX_LPCWSTR pwsStr, int32_t iLength, int 32_t x, int32_t y) = 0;
59 virtual void» » DrawText(FX_LPCWSTR pwsStr, FX_INT32 iLength, FX _FLOAT x, FX_FLOAT y) = 0; 59 virtual void» » DrawText(FX_LPCWSTR pwsStr, int32_t iLength, FX_ FLOAT x, FX_FLOAT y) = 0;
60 virtual void» » DrawText(FX_LPCWSTR pwsStr, FX_INT32 iLength, co nst CFX_Rect &rect) = 0; 60 virtual void» » DrawText(FX_LPCWSTR pwsStr, int32_t iLength, con st CFX_Rect &rect) = 0;
61 virtual void» » DrawText(FX_LPCWSTR pwsStr, FX_INT32 iLength, co nst CFX_RectF &rect) = 0; 61 virtual void» » DrawText(FX_LPCWSTR pwsStr, int32_t iLength, con st CFX_RectF &rect) = 0;
62 virtual void SetLogicClipRect(const CFX_RectF &rtClip) = 0; 62 virtual void SetLogicClipRect(const CFX_RectF &rtClip) = 0;
63 virtual void» » CalcLogicSize(FX_LPCWSTR pwsStr, FX_INT32 iLengt h, CFX_SizeF &size) = 0; 63 virtual void» » CalcLogicSize(FX_LPCWSTR pwsStr, int32_t iLength , CFX_SizeF &size) = 0;
64 virtual void» » CalcLogicSize(FX_LPCWSTR pwsStr, FX_INT32 iLengt h, CFX_RectF &rect) = 0; 64 virtual void» » CalcLogicSize(FX_LPCWSTR pwsStr, int32_t iLength , CFX_RectF &rect) = 0;
65 virtual void» » DrawLogicText(FX_LPCWSTR pwsStr, FX_INT32 iLengt h, FX_FLOAT x, FX_FLOAT y) = 0; 65 virtual void» » DrawLogicText(FX_LPCWSTR pwsStr, int32_t iLength , FX_FLOAT x, FX_FLOAT y) = 0;
66 virtual void» » DrawLogicText(FX_LPCWSTR pwsStr, FX_INT32 iLengt h, const CFX_RectF &rect) = 0; 66 virtual void» » DrawLogicText(FX_LPCWSTR pwsStr, int32_t iLength , const CFX_RectF &rect) = 0;
67 virtual FX_INT32» GetTotalLines() = 0; 67 virtual int32_t» GetTotalLines() = 0;
68 }; 68 };
69 #endif 69 #endif
OLDNEW
« no previous file with comments | « xfa/src/fdp/include/fde_rdv.h ('k') | xfa/src/fdp/include/fde_xml.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698