This commit is contained in:
Ryan Oldenburg 2021-12-12 18:08:40 -06:00
parent 790146e553
commit 4f81ae9f81

View file

@ -52,7 +52,7 @@ block:
ctx.setMatrix(matrix.unsafeAddr) ctx.setMatrix(matrix.unsafeAddr)
ctx.setSource(backdrop, 0, 0) ctx.setSource(backdrop, 0, 0)
ctx.paint() ctx.paint()
mat = rotate(15.toRadians) mat = translate(vec2(0.5, 0.5))
matrix = cairo.Matrix( matrix = cairo.Matrix(
xx: mat[0, 0], xx: mat[0, 0],
yx: mat[0, 1], yx: mat[0, 1],