mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
PdfDraw: Fixed to compile (replaced FormatDoubleFix with FormatF)
This commit is contained in:
parent
d7c885f8c7
commit
c1e2b0fdfe
1 changed files with 4 additions and 4 deletions
|
|
@ -518,10 +518,10 @@ void PdfDraw::DrawEllipseOp(const Rect& r, Color color, int pen, Color outline)
|
|||
Pointf B = A + k * dA;
|
||||
Pointf C = D - k * dD;
|
||||
if(!partid)
|
||||
page << FormatDoubleFix(A.x, 2) << ' ' << FormatDoubleFix(A.y, 2) << " m\n";
|
||||
page << FormatDoubleFix(B.x, 2) << ' ' << FormatDoubleFix(B.y, 2) << ' '
|
||||
<< FormatDoubleFix(C.x, 2) << ' ' << FormatDoubleFix(C.y, 2) << ' '
|
||||
<< FormatDoubleFix(D.x, 2) << ' ' << FormatDoubleFix(D.y, 2) << " c\n";
|
||||
page << FormatF(A.x, 2) << ' ' << FormatF(A.y, 2) << " m\n";
|
||||
page << FormatF(B.x, 2) << ' ' << FormatF(B.y, 2) << ' '
|
||||
<< FormatF(C.x, 2) << ' ' << FormatF(C.y, 2) << ' '
|
||||
<< FormatF(D.x, 2) << ' ' << FormatF(D.y, 2) << " c\n";
|
||||
}
|
||||
page << closeop << '\n';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue