aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-03-20 09:56:18 +1100
committerNeil <nyamatongwe@gmail.com>2021-03-20 09:56:18 +1100
commitfa10779da55ff13c95a0cd39bffdf57dcdfc9cc5 (patch)
treef29c68da031bbc4219f96a9e023380adfaa21cec /src
parent7fe8bb0dba466798ca9efc448f772d37f360efe2 (diff)
downloadscintilla-mirror-fa10779da55ff13c95a0cd39bffdf57dcdfc9cc5.tar.gz
Implement LineDraw and PolyLine.
Diffstat (limited to 'src')
-rw-r--r--src/Platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Platform.h b/src/Platform.h
index 7f61967c3..3b9443cc9 100644
--- a/src/Platform.h
+++ b/src/Platform.h
@@ -196,6 +196,8 @@ public:
virtual int DeviceHeightFont(int points)=0;
virtual void MoveTo(int x_, int y_)=0;
virtual void LineTo(int x_, int y_)=0;
+ virtual void LineDraw(Point start, Point end, Stroke stroke)=0;
+ virtual void PolyLine(const Point *pts, size_t npts, Stroke stroke)=0;
virtual void Polygon(Point *pts, size_t npts, ColourDesired fore, ColourDesired back)=0;
virtual void Polygon(const Point *pts, size_t npts, FillStroke fillStroke)=0;
virtual void RectangleDraw(PRectangle rc, ColourDesired fore, ColourDesired back)=0;