summaryrefslogtreecommitdiff
path: root/core/fxge/cfx_renderdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/cfx_renderdevice.h')
-rw-r--r--core/fxge/cfx_renderdevice.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/fxge/cfx_renderdevice.h b/core/fxge/cfx_renderdevice.h
index 1a69c42b14..53443ab72f 100644
--- a/core/fxge/cfx_renderdevice.h
+++ b/core/fxge/cfx_renderdevice.h
@@ -229,23 +229,23 @@ class CFX_RenderDevice {
CFX_PathData* pClippingPath,
int nFlag);
- void DrawFillRect(CFX_Matrix* pUser2Device,
+ void DrawFillRect(const CFX_Matrix* pUser2Device,
const CFX_FloatRect& rect,
const CFX_Color& color,
int32_t nTransparency);
- void DrawFillRect(CFX_Matrix* pUser2Device,
+ void DrawFillRect(const CFX_Matrix* pUser2Device,
const CFX_FloatRect& rect,
const FX_COLORREF& color);
- void DrawStrokeRect(CFX_Matrix* pUser2Device,
+ void DrawStrokeRect(const CFX_Matrix* pUser2Device,
const CFX_FloatRect& rect,
const FX_COLORREF& color,
float fWidth);
- void DrawStrokeLine(CFX_Matrix* pUser2Device,
+ void DrawStrokeLine(const CFX_Matrix* pUser2Device,
const CFX_PointF& ptMoveTo,
const CFX_PointF& ptLineTo,
const FX_COLORREF& color,
float fWidth);
- void DrawBorder(CFX_Matrix* pUser2Device,
+ void DrawBorder(const CFX_Matrix* pUser2Device,
const CFX_FloatRect& rect,
float fWidth,
const CFX_Color& color,
@@ -253,11 +253,11 @@ class CFX_RenderDevice {
const CFX_Color& crRightBottom,
BorderStyle nStyle,
int32_t nTransparency);
- void DrawFillArea(CFX_Matrix* pUser2Device,
+ void DrawFillArea(const CFX_Matrix* pUser2Device,
const CFX_PointF* pPts,
int32_t nCount,
const FX_COLORREF& color);
- void DrawShadow(CFX_Matrix* pUser2Device,
+ void DrawShadow(const CFX_Matrix* pUser2Device,
bool bVertical,
bool bHorizontal,
CFX_FloatRect rect,