You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
722 B
Diff
22 lines
722 B
Diff
diff --git a/ksvg/plugin/backends/libart/LibartCanvas.cpp b/ksvg/plugin/backends/libart/LibartCanvas.cpp
|
|
index 03b18f06..f46051f5 100644
|
|
--- a/ksvg/plugin/backends/libart/LibartCanvas.cpp
|
|
+++ b/ksvg/plugin/backends/libart/LibartCanvas.cpp
|
|
@@ -75,11 +75,11 @@ ArtSVP *art_svp_from_rect(int x0, int y0, int x1, int y1)
|
|
{
|
|
ArtVpath vpath[] =
|
|
{
|
|
- { ART_MOVETO, x0, y0 },
|
|
- { ART_LINETO, x0, y1 },
|
|
- { ART_LINETO, x1, y1 },
|
|
- { ART_LINETO, x1, y0 },
|
|
- { ART_LINETO, x0, y0 },
|
|
+ { ART_MOVETO, (double)x0, (double)y0 },
|
|
+ { ART_LINETO, (double)x0, (double)y1 },
|
|
+ { ART_LINETO, (double)x1, (double)y1 },
|
|
+ { ART_LINETO, (double)x1, (double)y0 },
|
|
+ { ART_LINETO, (double)x0, (double)y0 },
|
|
{ ART_END, 0, 0}
|
|
};
|
|
|