We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a61e09a commit 298ad0fCopy full SHA for 298ad0f
SwiftDraw/Sources/SVG+CoreGraphics.swift
@@ -64,8 +64,8 @@ public extension CGContext {
64
for r in 0..<rows {
65
for c in 0..<cols {
66
let tile = CGRect(
67
- x: rect.minX + CGFloat(r) * svg.size.width,
68
- y: rect.minY + CGFloat(c) * svg.size.height,
+ x: rect.minX + CGFloat(c) * svg.size.width,
+ y: rect.minY + CGFloat(r) * svg.size.height,
69
width: svg.size.width,
70
height: svg.size.height
71
)
0 commit comments