summaryrefslogtreecommitdiff
path: root/core/fxge/ifx_renderdevicedriver.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/ifx_renderdevicedriver.h')
-rw-r--r--core/fxge/ifx_renderdevicedriver.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/fxge/ifx_renderdevicedriver.h b/core/fxge/ifx_renderdevicedriver.h
index f4df846011..1e4e30584e 100644
--- a/core/fxge/ifx_renderdevicedriver.h
+++ b/core/fxge/ifx_renderdevicedriver.h
@@ -10,6 +10,7 @@
#include <memory>
#include "core/fxcrt/cfx_retain_ptr.h"
+#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/fx_system.h"
class CFX_DIBitmap;
@@ -53,10 +54,8 @@ class IFX_RenderDeviceDriver {
virtual bool FillRectWithBlend(const FX_RECT* pRect,
uint32_t fill_color,
int blend_type);
- virtual bool DrawCosmeticLine(float x1,
- float y1,
- float x2,
- float y2,
+ virtual bool DrawCosmeticLine(const CFX_PointF& ptMoveTo,
+ const CFX_PointF& ptLineTo,
uint32_t color,
int blend_type);