aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/PlatCocoa.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-03-19 21:03:17 +1100
committerNeil <nyamatongwe@gmail.com>2021-03-19 21:03:17 +1100
commit216fca2d218c3e0dcb5cdb4273cfb609da06cbd2 (patch)
tree44e1769b98acee672f4b4cb6cb2f42ce942faec5 /cocoa/PlatCocoa.h
parent20bb1c7c0f6931819745d9756ab14246c20c4e9f (diff)
downloadscintilla-mirror-216fca2d218c3e0dcb5cdb4273cfb609da06cbd2.tar.gz
Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStroke
instead of separate colour and alpha arguments.
Diffstat (limited to 'cocoa/PlatCocoa.h')
-rw-r--r--cocoa/PlatCocoa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h
index 98a9b11ed..f50c0e7f7 100644
--- a/cocoa/PlatCocoa.h
+++ b/cocoa/PlatCocoa.h
@@ -62,6 +62,7 @@ private:
void FillColour(const ColourDesired &back);
void FillColour(ColourAlpha fill);
+ void PenColourAlpha(ColourAlpha fore);
// 24-bit RGB+A bitmap data constants
static const int BITS_PER_COMPONENT = 8;
@@ -101,6 +102,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 AlphaRectangle(PRectangle rc, XYPOSITION cornerSize, FillStroke fillStroke) 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;