OLD | NEW |
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 #ifndef CORE_SRC_FXGE_WIN32_WIN32_INT_H_ | 6 #ifndef CORE_SRC_FXGE_WIN32_WIN32_INT_H_ |
7 #define CORE_SRC_FXGE_WIN32_WIN32_INT_H_ | 7 #define CORE_SRC_FXGE_WIN32_WIN32_INT_H_ |
8 | 8 |
9 struct WINDIB_Open_Args_; | 9 struct WINDIB_Open_Args_; |
10 class CGdiplusExt | 10 class CGdiplusExt |
(...skipping 11 matching lines...) Expand all Loading... |
22 FX_BOOL StretchDIBits(HDC hDC, const CFX_DIBitmap* pBitm
ap, int dest_left, int dest_top, | 22 FX_BOOL StretchDIBits(HDC hDC, const CFX_DIBitmap* pBitm
ap, int dest_left, int dest_top, |
23 int dest_width, int dest_height, const FX_RECT
* pClipRect, int flags); | 23 int dest_width, int dest_height, const FX_RECT
* pClipRect, int flags); |
24 FX_BOOL DrawPath(HDC hDC, const CFX_PathData* pPathData, | 24 FX_BOOL DrawPath(HDC hDC, const CFX_PathData* pPathData, |
25 const CFX_AffineMatrix* pObject2Device, | 25 const CFX_AffineMatrix* pObject2Device, |
26 const CFX_GraphStateData* pGraphState, | 26 const CFX_GraphStateData* pGraphState, |
27 FX_DWORD fill_argb, | 27 FX_DWORD fill_argb, |
28 FX_DWORD stroke_argb, | 28 FX_DWORD stroke_argb, |
29 int fill_mode | 29 int fill_mode |
30 ); | 30 ); |
31 | 31 |
32 void*» » » LoadMemFont(FX_BYTE* pData, FX_DWORD size); | 32 void*» » » LoadMemFont(uint8_t* pData, FX_DWORD size); |
33 void DeleteMemFont(void* pFontCollection); | 33 void DeleteMemFont(void* pFontCollection); |
34 FX_BOOL GdipCreateFromImage(void* bitmap, void** graphics); | 34 FX_BOOL GdipCreateFromImage(void* bitmap, void** graphics); |
35 void GdipDeleteGraphics(void* graphics); | 35 void GdipDeleteGraphics(void* graphics); |
36 void GdipSetTextRenderingHint(void* graphics, int mode); | 36 void GdipSetTextRenderingHint(void* graphics, int mode); |
37 void GdipSetPageUnit(void* graphics, FX_DWORD unit); | 37 void GdipSetPageUnit(void* graphics, FX_DWORD unit); |
38 void GdipSetWorldTransform(void* graphics, void* pMatrix); | 38 void GdipSetWorldTransform(void* graphics, void* pMatrix); |
39 FX_BOOL GdipDrawDriverString(void *graphics, unsigned short *text,
int length, void *font, void* brush, void *positions, int flags, const void *mat
rix); | 39 FX_BOOL GdipDrawDriverString(void *graphics, unsigned short *text,
int length, void *font, void* brush, void *positions, int flags, const void *mat
rix); |
40 void GdipCreateBrush(FX_DWORD fill_argb, void** pBrush); | 40 void GdipCreateBrush(FX_DWORD fill_argb, void** pBrush); |
41 void GdipDeleteBrush(void* pBrush); | 41 void GdipDeleteBrush(void* pBrush); |
42 void GdipCreateMatrix(FX_FLOAT a, FX_FLOAT b, FX_FLOAT c, FX_FLOA
T d, FX_FLOAT e, FX_FLOAT f, void** matrix); | 42 void GdipCreateMatrix(FX_FLOAT a, FX_FLOAT b, FX_FLOAT c, FX_FLOA
T d, FX_FLOAT e, FX_FLOAT f, void** matrix); |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 HDC m_hDC; | 233 HDC m_hDC; |
234 FX_BOOL m_bCmykOutput; | 234 FX_BOOL m_bCmykOutput; |
235 int m_Width, m_Height, m_nBitsPerPixel; | 235 int m_Width, m_Height, m_nBitsPerPixel; |
236 int m_HorzSize, m_VertSize; | 236 int m_HorzSize, m_VertSize; |
237 CPSOutput* m_pPSOutput; | 237 CPSOutput* m_pPSOutput; |
238 CFX_PSRenderer m_PSRenderer; | 238 CFX_PSRenderer m_PSRenderer; |
239 }; | 239 }; |
240 void _Color2Argb(FX_ARGB& argb, FX_DWORD color, int alpha_flag, void* pIccTransf
orm); | 240 void _Color2Argb(FX_ARGB& argb, FX_DWORD color, int alpha_flag, void* pIccTransf
orm); |
241 | 241 |
242 #endif // CORE_SRC_FXGE_WIN32_WIN32_INT_H_ | 242 #endif // CORE_SRC_FXGE_WIN32_WIN32_INT_H_ |
OLD | NEW |