diff options
author | axtloss <axtlos@getcryst.al> | 2024-03-07 00:56:46 +0100 |
---|---|---|
committer | axtloss <axtlos@getcryst.al> | 2024-03-07 00:56:46 +0100 |
commit | c365a6bac14227a6e7e341ef8228365ca443d2fb (patch) | |
tree | 6c0fed4e74fb3198a3afb79fd7bebfa477c46a47 /fbwarn/src/parseBVG.c | |
parent | 0f5bd8e774b4746c27d9a573057d57770e1cf0de (diff) | |
download | fsverify-main.tar.gz fsverify-main.tar.bz2 |
Diffstat (limited to '')
-rw-r--r-- | fbwarn/src/parseBVG.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fbwarn/src/parseBVG.c b/fbwarn/src/parseBVG.c index db25ddc..9b0a137 100644 --- a/fbwarn/src/parseBVG.c +++ b/fbwarn/src/parseBVG.c @@ -282,7 +282,7 @@ BVGCircle *BVGParseCircleSegment(char *argv[7]) { clr = parseColorFromHex(args[3]); result->drawSector=true; - result->centerX=x; result->centerY=y*scale; + result->centerX=x*scale; result->centerY=y*scale; result->color=*clr; result->radius=radius*scale; result->segments=segments; @@ -315,7 +315,7 @@ BVGRing *BVGParseRing(char *argv[8]) { result->centerX=x*scale; result->centerY=y*scale; - result->inRadius=innerRadius; result->outRadius=outerRadius; + result->inRadius=innerRadius*scale; result->outRadius=outerRadius*scale; result->startAngle=startAngle; result->endAngle=endAngle; result->segmets=segments; result->color=*clr; @@ -343,7 +343,7 @@ BVGEllipse *BVGParseEllipse(char *argv[6]) { args[5][strlen(args[5])-1] = '\0'; clr = parseColorFromHex(args[5]); - result->centerX=x; result->centerY=y; + result->centerX=x*scale; result->centerY=y*scale; result->horizontalRadius=horizontalRadius*scale; result->verticalRadius=verticalRadius*scale; result->fill=fill; |