From c1e2b0fdfec7c6ee89b00f514b816f124ca6642e Mon Sep 17 00:00:00 2001 From: Mirek Fidler Date: Mon, 30 Aug 2021 10:18:29 +0200 Subject: [PATCH] PdfDraw: Fixed to compile (replaced FormatDoubleFix with FormatF) --- uppsrc/PdfDraw/PdfDraw.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uppsrc/PdfDraw/PdfDraw.cpp b/uppsrc/PdfDraw/PdfDraw.cpp index a31bb20e8..80fd1ffa0 100644 --- a/uppsrc/PdfDraw/PdfDraw.cpp +++ b/uppsrc/PdfDraw/PdfDraw.cpp @@ -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'; }