summaryrefslogtreecommitdiff
path: root/core/fxge/cfx_pathdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/cfx_pathdata.cpp')
-rw-r--r--core/fxge/cfx_pathdata.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fxge/cfx_pathdata.cpp b/core/fxge/cfx_pathdata.cpp
index 4ac5cf6a7a..ac1ff42629 100644
--- a/core/fxge/cfx_pathdata.cpp
+++ b/core/fxge/cfx_pathdata.cpp
@@ -210,6 +210,10 @@ void CFX_PathData::AppendLine(const CFX_PointF& pt1, const CFX_PointF& pt2) {
AppendPoint(pt2, FXPT_TYPE::LineTo, false);
}
+void CFX_PathData::AppendRect(const CFX_FloatRect& rect) {
+ return AppendRect(rect.left, rect.bottom, rect.right, rect.top);
+}
+
void CFX_PathData::AppendRect(float left,
float bottom,
float right,