Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update for issue with test NoUnusedTemporaryVariablesLeftTest >> #testNoUnusedTemporaryVariablesLeft #3

Merged
merged 1 commit into from
Aug 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Athens-SVG-PathConverter/ASConverter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Conforming High-Quality SVG Viewers are required to use at least double-precisio
Within the SVG DOM, a <number> is represented as a float or an SVGAnimatedNumber.
"

| result char sign esign pos int frac exponent |
| result sign esign pos int frac exponent |

esign := sign := 1.
pos := stream position.
Expand Down
2 changes: 1 addition & 1 deletion src/Athens-SVG-PathConverter/ASPathConverter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ ASPathConverter >> m [
If a moveto is followed by multiple pairs of coordinates, the subsequent pairs are treated as implicit lineto commands.

"
| pt reset |
| pt |

pt := self readPoint.
pt ifNil: [ self error: 'a point expected following after M/m command'].
Expand Down
10 changes: 3 additions & 7 deletions src/Athens-SVG-PathConverter/AthensCairoPathBuilder.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ AthensCairoPathBuilder >> ellipticalArc3: radii xrot: xAxisRotation large: large

" self cwArcTo: pt angle: 45 degreesToRadians "

| rx ry x1 y1 x2 y2 dx2 dy2 phi cosAngle sinAngle arx ary coeff cx1 cy1 ux uy vx vy sign xPrime1 yPrime1 r radical startAngle sweepAngle cx cy aPoint |


| rx ry x1 y1 x2 y2 dx2 dy2 phi cosAngle sinAngle arx ary coeff cx1 cy1 ux uy vx vy sign xPrime1 yPrime1 radical startAngle sweepAngle cx cy aPoint |
aPoint := lastControlPoint.

rx := radii x.
Expand Down Expand Up @@ -105,9 +103,7 @@ AthensCairoPathBuilder >> ellipticalArc: radii xrot: xAxisRotation large: largeA

" self cwArcTo: pt angle: 45 degreesToRadians "

| rx ry x1 y1 x2 y2 dx2 dy2 phi cosAngle sinAngle arx ary coeff cx1 cy1 ux uy vx vy sign xPrime1 yPrime1 r radical startAngle sweepAngle cx cy aPoint lFlag swFlag isRelative aCenter |


| rx ry x1 y1 x2 y2 dx2 dy2 phi cosAngle sinAngle arx ary coeff cx1 cy1 ux uy vx vy sign xPrime1 yPrime1 radical startAngle sweepAngle cx cy aPoint lFlag swFlag isRelative aCenter |
aPoint := 0@0.

lFlag := false.
Expand Down Expand Up @@ -193,7 +189,7 @@ AthensCairoPathBuilder >> ellipticalArc: radii xrot: xAxisRotation large: largeA

" self cwArcTo: pt angle: 45 degreesToRadians "

| rx ry x1 y1 x2 y2 dx2 dy2 phi cosAngle sinAngle arx ary coeff cx1 cy1 ux uy vx vy sign xPrime1 yPrime1 r radical startAngle sweepAngle cx cy aPoint lFlag swFlag aCenter uySign |
| rx ry x1 y1 x2 y2 dx2 dy2 arx ary coeff cx1 cy1 ux uy vx vy sign xPrime1 yPrime1 radical startAngle sweepAngle cx cy aPoint lFlag swFlag aCenter uySign |


aPoint := isRelative
Expand Down