mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
SvgArc support
git-svn-id: svn://ultimatepp.org/upp/trunk@863 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
08d733f75a
commit
e530ffa87e
13 changed files with 303 additions and 11 deletions
|
|
@ -105,6 +105,14 @@ void BufferPainter::ArcOp(const Pointf& c, const Pointf& r, double angle, double
|
|||
current = m.EndPoint();
|
||||
}
|
||||
|
||||
void BufferPainter::SvgArcOp(const Pointf& r, double xangle, bool large, bool sweep,
|
||||
const Pointf& p, bool rel)
|
||||
{
|
||||
DoMove0();
|
||||
Pointf c = current;
|
||||
DoSvgArc(r, xangle, large, sweep, EndPoint(p, rel), c);
|
||||
}
|
||||
|
||||
void BufferPainter::CloseOp()
|
||||
{
|
||||
if(!IsNull(move) && current != move) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue