diff options
author | Alexander Tkachev | 2016-06-29 19:25:57 +0600 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-03 12:21:40 +0200 |
commit | 05383532b7da1a2ed669d03ee9ca8aa9e6bdcdf1 (patch) | |
tree | 16affdf31b26c8fb816e9c8267a51d59803597d0 /graphics/VectorRendererSpec.h | |
parent | 2231de040f37502031686edf62f501a02ae6d1c4 (diff) | |
download | scummvm-rg350-05383532b7da1a2ed669d03ee9ca8aa9e6bdcdf1.tar.gz scummvm-rg350-05383532b7da1a2ed669d03ee9ca8aa9e6bdcdf1.tar.bz2 scummvm-rg350-05383532b7da1a2ed669d03ee9ca8aa9e6bdcdf1.zip |
GUI: Add drawLineClip()
Diffstat (limited to 'graphics/VectorRendererSpec.h')
-rw-r--r-- | graphics/VectorRendererSpec.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/VectorRendererSpec.h b/graphics/VectorRendererSpec.h index 01910004d2..dcef88e082 100644 --- a/graphics/VectorRendererSpec.h +++ b/graphics/VectorRendererSpec.h @@ -50,7 +50,8 @@ class VectorRendererSpec : public VectorRenderer { public: VectorRendererSpec(PixelFormat format); - void drawLine(int x1, int y1, int x2, int y2); //TODO + void drawLine(int x1, int y1, int x2, int y2); + void drawLineClip(int x1, int y1, int x2, int y2, Common::Rect clipping); void drawCircle(int x, int y, int r); void drawCircleClip(int x, int y, int r, Common::Rect clipping); void drawSquare(int x, int y, int w, int h); @@ -159,6 +160,9 @@ protected: virtual void drawLineAlg(int x1, int y1, int x2, int y2, uint dx, uint dy, PixelType color); + virtual void drawLineAlgClip(int x1, int y1, int x2, int y2, + uint dx, uint dy, PixelType color); + virtual void drawCircleAlg(int x, int y, int r, PixelType color, FillMode fill_m); |