mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-13 06:12:49 -06:00
Painter fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@753 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
148eaeaa6e
commit
3665324a45
2 changed files with 2 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ void BufferPainter::CubicOp(double x1, double y1, double x2, double y2, double x
|
|||
|
||||
void BufferPainter::CubicOp(double x2, double y2, double x, double y, bool rel)
|
||||
{
|
||||
Pointf c = current + current - qcontrol;
|
||||
Pointf c = current + current - ccontrol;
|
||||
PathPoint0(c.x, c.y);
|
||||
PathPoint(x2, y2, rel);
|
||||
ccontrol = Pointf(x2, y2);
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ Pointf Painter::ReadPoint(CParser& p)
|
|||
{
|
||||
Pointf t;
|
||||
t.x = p.IsDouble() ? p.ReadDouble() : 0;
|
||||
p.Char(',');
|
||||
t.y = p.IsDouble() ? p.ReadDouble() : 0;
|
||||
return t;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue