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

Side by Side Diff: core/fxge/apple/apple_int.h

Issue 1821043003: Remove FX_WORD in favor of uint16_t. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Use stdint.h directly, bitfield minefield. Created 4 years, 9 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 | « core/fxcrt/fx_unicode.cpp ('k') | core/fxge/apple/fx_apple_platform.cpp » ('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 CORE_FXGE_APPLE_APPLE_INT_H_ 7 #ifndef CORE_FXGE_APPLE_APPLE_INT_H_
8 #define CORE_FXGE_APPLE_APPLE_INT_H_ 8 #define CORE_FXGE_APPLE_APPLE_INT_H_
9 9
10 #include "core/include/fxcrt/fx_system.h" 10 #include "core/include/fxcrt/fx_system.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 public: 52 public:
53 void* createGraphics(CFX_DIBitmap* bitmap); 53 void* createGraphics(CFX_DIBitmap* bitmap);
54 void destroyGraphics(void* graphics); 54 void destroyGraphics(void* graphics);
55 55
56 void* CreateFont(const uint8_t* pFontData, FX_DWORD dwFontSize); 56 void* CreateFont(const uint8_t* pFontData, FX_DWORD dwFontSize);
57 void DestroyFont(void* pFont); 57 void DestroyFont(void* pFont);
58 void setGraphicsTextMatrix(void* graphics, CFX_Matrix* matrix); 58 void setGraphicsTextMatrix(void* graphics, CFX_Matrix* matrix);
59 FX_BOOL drawGraphicsString(void* graphics, 59 FX_BOOL drawGraphicsString(void* graphics,
60 void* font, 60 void* font,
61 FX_FLOAT fontSize, 61 FX_FLOAT fontSize,
62 FX_WORD* glyphIndices, 62 uint16_t* glyphIndices,
63 CGPoint* glyphPositions, 63 CGPoint* glyphPositions,
64 int32_t chars, 64 int32_t chars,
65 FX_ARGB argb, 65 FX_ARGB argb,
66 CFX_Matrix* matrix = NULL); 66 CFX_Matrix* matrix = NULL);
67 void saveGraphicsState(void* graphics); 67 void saveGraphicsState(void* graphics);
68 void restoreGraphicsState(void* graphics); 68 void restoreGraphicsState(void* graphics);
69 }; 69 };
70 class CApplePlatform { 70 class CApplePlatform {
71 public: 71 public:
72 CApplePlatform() {} 72 CApplePlatform() {}
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 int _totalSize; 262 int _totalSize;
263 }; 263 };
264 264
265 uint32_t FX_GetHashCode(const FX_CHAR* pStr); 265 uint32_t FX_GetHashCode(const FX_CHAR* pStr);
266 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName); 266 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName);
267 uint32_t FX_IOSGetFamilyNamesCount(); 267 uint32_t FX_IOSGetFamilyNamesCount();
268 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex); 268 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex);
269 #endif 269 #endif
270 270
271 #endif // CORE_FXGE_APPLE_APPLE_INT_H_ 271 #endif // CORE_FXGE_APPLE_APPLE_INT_H_
OLDNEW
« no previous file with comments | « core/fxcrt/fx_unicode.cpp ('k') | core/fxge/apple/fx_apple_platform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698