From d2bbb5a8e08d2dd2eeaf1a7bb99424fcc880d1ec Mon Sep 17 00:00:00 2001 From: cxl Date: Sat, 28 Jan 2017 16:33:07 +0000 Subject: [PATCH] Painter: EndPath git-svn-id: svn://ultimatepp.org/upp/trunk@10782 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Painter/Painter.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uppsrc/Painter/Painter.h b/uppsrc/Painter/Painter.h index 8dc2d7447..399d0398d 100644 --- a/uppsrc/Painter/Painter.h +++ b/uppsrc/Painter/Painter.h @@ -297,6 +297,8 @@ public: Painter& Text(double x, double y, const String& s, Font fnt, const double *dx = NULL); Painter& Text(const Pointf& p, const char *text, Font fnt, int n = -1, const double *dx = NULL); Painter& Text(double x, double y, const char *text, Font fnt, int n = -1, const double *dx = NULL); + + void EndPath() { Stroke(0, RGBAZero()); } void Begin(); void End();