diff options
author | Neil <nyamatongwe@gmail.com> | 2018-05-22 09:08:54 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-05-22 09:08:54 +1000 |
commit | 2e2e70c7ee89b353ad0e6ef409cb9621729d72f8 (patch) | |
tree | d5899867d76d457bda2c48dd298b6f41a0217ad1 /cocoa/PlatCocoa.h | |
parent | cc5e63013d7aa447a74fafba0ee4dd560b6952c7 (diff) | |
download | scintilla-mirror-2e2e70c7ee89b353ad0e6ef409cb9621729d72f8.tar.gz |
Add GradientRectangle method to Surface to draw rectangles with vertical or
horizontal gradients.
Diffstat (limited to 'cocoa/PlatCocoa.h')
-rw-r--r-- | cocoa/PlatCocoa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h index 6a9bada96..940de83d5 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -94,6 +94,7 @@ public: void RoundedRectangle(PRectangle rc, ColourDesired fore, ColourDesired back) override; void AlphaRectangle(PRectangle rc, int cornerSize, ColourDesired fill, int alphaFill, ColourDesired outline, int alphaOutline, int flags) override; + void GradientRectangle(PRectangle rc, const std::vector<ColourStop> &stops, GradientOptions options) override; void DrawRGBAImage(PRectangle rc, int width, int height, const unsigned char *pixelsImage) override; void Ellipse(PRectangle rc, ColourDesired fore, ColourDesired back) override; void Copy(PRectangle rc, Scintilla::Point from, Surface &surfaceSource) override; |