ultimatepp/examples/TextToSvgPath/TextToSvgPath.h
cxl d400a792fc .examples
git-svn-id: svn://ultimatepp.org/upp/trunk@14205 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-03-31 15:04:59 +00:00

26 lines
555 B
C++

#ifndef _TextToSvgPath_TextToSvgPath_h
#define _TextToSvgPath_TextToSvgPath_h
#include <CtrlLib/CtrlLib.h>
#include <RichEdit/RichEdit.h>
using namespace Upp;
#define LAYOUTFILE <TextToSvgPath/TextToSvgPath.lay>
#include <CtrlCore/lay.h>
String TextToSvgPath(double x, double y, const char *text, Font fnt, bool singleline);
struct Preview : Ctrl {
String svgpath;
virtual void Paint(Draw& w);
};
struct TextToSvgPathDlg : public WithTextToSvgPathLayout<TopWindow> {
Preview preview;
TextToSvgPathDlg();
};
#endif