Painter fixes

git-svn-id: svn://ultimatepp.org/upp/trunk@753 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-01-15 22:51:52 +00:00
parent 148eaeaa6e
commit 3665324a45
2 changed files with 2 additions and 1 deletions

View file

@ -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);

View file

@ -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;
}