mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
26 lines
555 B
C++
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
|