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

Side by Side Diff: core/fxge/include/cfx_renderdevice.h

Issue 2345063002: Use string pools in some dictionaries (Closed)
Patch Set: windows compilation Created 4 years, 3 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
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_INCLUDE_CFX_RENDERDEVICE_H_ 7 #ifndef CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_
8 #define CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ 8 #define CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 207
208 FX_BOOL DrawNormalText(int nChars, 208 FX_BOOL DrawNormalText(int nChars,
209 const FXTEXT_CHARPOS* pCharPos, 209 const FXTEXT_CHARPOS* pCharPos,
210 CFX_Font* pFont, 210 CFX_Font* pFont,
211 CFX_FontCache* pCache, 211 CFX_FontCache* pCache,
212 FX_FLOAT font_size, 212 FX_FLOAT font_size,
213 const CFX_Matrix* pText2Device, 213 const CFX_Matrix* pText2Device,
214 uint32_t fill_color, 214 uint32_t fill_color,
215 uint32_t text_flags); 215 uint32_t text_flags);
216 FX_BOOL DrawTextPath(int nChars, 216 FX_BOOL DrawTextPath(int nChars,
217 const FXTEXT_CHARPOS* pCharPos, 217 const FXTEXT_CHARPOS* pCharPos,
218 CFX_Font* pFont, 218 CFX_Font* pFont,
219 CFX_FontCache* pCache, 219 CFX_FontCache* pCache,
220 FX_FLOAT font_size, 220 FX_FLOAT font_size,
221 const CFX_Matrix* pText2User, 221 const CFX_Matrix* pText2User,
222 const CFX_Matrix* pUser2Device, 222 const CFX_Matrix* pUser2Device,
223 const CFX_GraphStateData* pGraphState, 223 const CFX_GraphStateData* pGraphState,
224 uint32_t fill_color, 224 uint32_t fill_color,
225 uint32_t stroke_color, 225 uint32_t stroke_color,
226 CFX_PathData* pClippingPath, 226 CFX_PathData* pClippingPath,
227 int nFlag); 227 int nFlag);
228 228
229 #ifdef _SKIA_SUPPORT_ 229 #ifdef _SKIA_SUPPORT_
230 virtual void DebugVerifyBitmapIsPreMultiplied() const; 230 virtual void DebugVerifyBitmapIsPreMultiplied() const;
231 virtual bool SetBitsWithMask(const CFX_DIBSource* pBitmap, 231 virtual bool SetBitsWithMask(const CFX_DIBSource* pBitmap,
232 const CFX_DIBSource* pMask, 232 const CFX_DIBSource* pMask,
233 int left, 233 int left,
234 int top, 234 int top,
235 int bitmap_alpha, 235 int bitmap_alpha,
236 int blend_type); 236 int blend_type);
237 void Flush(); 237 void Flush();
(...skipping 14 matching lines...) Expand all
252 int m_Width; 252 int m_Width;
253 int m_Height; 253 int m_Height;
254 int m_bpp; 254 int m_bpp;
255 int m_RenderCaps; 255 int m_RenderCaps;
256 int m_DeviceClass; 256 int m_DeviceClass;
257 FX_RECT m_ClipBox; 257 FX_RECT m_ClipBox;
258 std::unique_ptr<IFX_RenderDeviceDriver> m_pDeviceDriver; 258 std::unique_ptr<IFX_RenderDeviceDriver> m_pDeviceDriver;
259 }; 259 };
260 260
261 #endif // CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ 261 #endif // CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698