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

Unified Diff: core/fxge/include/cfx_renderdevice.h

Issue 2269203002: Deleting unused methods from CFX_RenderDevice (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rename Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fxge/ge/cfx_renderdevice.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxge/include/cfx_renderdevice.h
diff --git a/core/fxge/include/cfx_renderdevice.h b/core/fxge/include/cfx_renderdevice.h
index 9dd5f55ee9a4b2b5f6f87c08a8f946c31ec808e2..6607b479c7abdd0945d038e928121198ba605129 100644
--- a/core/fxge/include/cfx_renderdevice.h
+++ b/core/fxge/include/cfx_renderdevice.h
@@ -91,15 +91,12 @@ class CFX_RenderDevice {
return m_pDeviceDriver.get();
}
- FX_BOOL StartRendering();
- void EndRendering();
void SaveState();
void RestoreState(bool bKeepSaved);
int GetWidth() const { return m_Width; }
int GetHeight() const { return m_Height; }
int GetDeviceClass() const { return m_DeviceClass; }
- int GetBPP() const { return m_bpp; }
int GetRenderCaps() const { return m_RenderCaps; }
int GetDeviceCaps(int id) const;
CFX_Matrix GetCTM() const;
@@ -140,14 +137,6 @@ class CFX_RenderDevice {
uint32_t color,
int blend_type);
FX_BOOL DrawCosmeticLine(FX_FLOAT x1,
- FX_FLOAT y1,
- FX_FLOAT x2,
- FX_FLOAT y2,
- uint32_t color) {
- return DrawCosmeticLineWithFillModeAndBlend(x1, y1, x2, y2, color, 0,
- FXDIB_BLEND_NORMAL);
- }
- FX_BOOL DrawCosmeticLineWithFillModeAndBlend(FX_FLOAT x1,
FX_FLOAT y1,
FX_FLOAT x2,
FX_FLOAT y2,
@@ -224,21 +213,6 @@ class CFX_RenderDevice {
uint32_t fill_color,
uint32_t text_flags);
FX_BOOL DrawTextPath(int nChars,
- const FXTEXT_CHARPOS* pCharPos,
- CFX_Font* pFont,
- CFX_FontCache* pCache,
- FX_FLOAT font_size,
- const CFX_Matrix* pText2User,
- const CFX_Matrix* pUser2Device,
- const CFX_GraphStateData* pGraphState,
- uint32_t fill_color,
- uint32_t stroke_color,
- CFX_PathData* pClippingPath) {
- return DrawTextPathWithFlags(nChars, pCharPos, pFont, pCache, font_size,
- pText2User, pUser2Device, pGraphState,
- fill_color, stroke_color, pClippingPath, 0);
- }
- FX_BOOL DrawTextPathWithFlags(int nChars,
const FXTEXT_CHARPOS* pCharPos,
CFX_Font* pFont,
CFX_FontCache* pCache,
« no previous file with comments | « core/fxge/ge/cfx_renderdevice.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698