From 4f9e724d760b9a74cbbee117257dccd141fe85b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Wed, 10 Aug 2022 00:00:26 +0200 Subject: [PATCH] Paint: Add 'LineDash' and 'LineDashOffset' synonymous properties. [GB.DRAW] * NEW: Paint: 'LineDash' is now a synonymous for the 'Dash' property. * NEW: Paint: 'LineDashOffset' is now a synonymous for the 'DashOffset' property. --- main/lib/draw/cpaint.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/lib/draw/cpaint.c b/main/lib/draw/cpaint.c index 434c9f8cd..912663908 100644 --- a/main/lib/draw/cpaint.c +++ b/main/lib/draw/cpaint.c @@ -1783,7 +1783,9 @@ GB_DESC PaintDesc[] = GB_STATIC_PROPERTY("Brush", "PaintBrush", Paint_Brush), GB_STATIC_PROPERTY("BrushOrigin", "PointF", Paint_BrushOrigin), GB_STATIC_PROPERTY("Dash", "Float[]", Paint_Dash), + GB_STATIC_PROPERTY("LineDash", "Float[]", Paint_Dash), GB_STATIC_PROPERTY("DashOffset", "f", Paint_DashOffset), + GB_STATIC_PROPERTY("LineDashOffset", "f", Paint_DashOffset), GB_STATIC_PROPERTY("FillRule", "i", Paint_FillRule), GB_STATIC_PROPERTY("LineCap", "i", Paint_LineCap), GB_STATIC_PROPERTY("LineJoin", "i", Paint_LineJoin),