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

Side by Side Diff: core/fxge/ifx_renderdevicedriver.cpp

Issue 2078783002: Move ifx_renderdevicedriver to a separate file to share (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase to master Created 4 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 | « core/fxge/ge/fx_ge_text.cpp ('k') | core/fxge/include/fx_ge.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #include "core/fxge/include/ifx_renderdevicedriver.h"
8
9 #include "core/fxcrt/include/fx_coordinates.h"
10
11 IFX_RenderDeviceDriver::~IFX_RenderDeviceDriver() {}
12
13 CFX_Matrix IFX_RenderDeviceDriver::GetCTM() const {
14 return CFX_Matrix();
15 }
16
17 FX_BOOL IFX_RenderDeviceDriver::StartRendering() {
18 return TRUE;
19 }
20
21 void IFX_RenderDeviceDriver::EndRendering() {}
22
23 FX_BOOL IFX_RenderDeviceDriver::SetClip_PathStroke(
24 const CFX_PathData* pPathData,
25 const CFX_Matrix* pObject2Device,
26 const CFX_GraphStateData* pGraphState) {
27 return FALSE;
28 }
29
30 FX_BOOL IFX_RenderDeviceDriver::SetPixel(int x, int y, uint32_t color) {
31 return FALSE;
32 }
33
34 FX_BOOL IFX_RenderDeviceDriver::FillRectWithBlend(const FX_RECT* pRect,
35 uint32_t fill_color,
36 int blend_type) {
37 return FALSE;
38 }
39
40 FX_BOOL IFX_RenderDeviceDriver::DrawCosmeticLine(FX_FLOAT x1,
41 FX_FLOAT y1,
42 FX_FLOAT x2,
43 FX_FLOAT y2,
44 uint32_t color,
45 int blend_type) {
46 return FALSE;
47 }
48
49 FX_BOOL IFX_RenderDeviceDriver::GetDIBits(CFX_DIBitmap* pBitmap,
50 int left,
51 int top) {
52 return FALSE;
53 }
54
55 CFX_DIBitmap* IFX_RenderDeviceDriver::GetBackDrop() {
56 return nullptr;
57 }
58
59 FX_BOOL IFX_RenderDeviceDriver::ContinueDIBits(void* handle,
60 IFX_Pause* pPause) {
61 return FALSE;
62 }
63
64 void IFX_RenderDeviceDriver::CancelDIBits(void* handle) {}
65
66 FX_BOOL IFX_RenderDeviceDriver::DrawDeviceText(int nChars,
67 const FXTEXT_CHARPOS* pCharPos,
68 CFX_Font* pFont,
69 CFX_FontCache* pCache,
70 const CFX_Matrix* pObject2Device,
71 FX_FLOAT font_size,
72 uint32_t color) {
73 return FALSE;
74 }
75
76 void* IFX_RenderDeviceDriver::GetPlatformSurface() const {
77 return nullptr;
78 }
79
80 int IFX_RenderDeviceDriver::GetDriverType() const {
81 return 0;
82 }
83
84 void IFX_RenderDeviceDriver::ClearDriver() {}
85
86 FX_BOOL IFX_RenderDeviceDriver::DrawShading(const CPDF_ShadingPattern* pPattern,
87 const CFX_Matrix* pMatrix,
88 const FX_RECT& clip_rect,
89 int alpha,
90 FX_BOOL bAlphaMode) {
91 return false;
92 }
OLDNEW
« no previous file with comments | « core/fxge/ge/fx_ge_text.cpp ('k') | core/fxge/include/fx_ge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698