@@ -201,18 +201,18 @@ block:
201201block :
202202 let ctx = newContext (newImage (300 , 150 ))
203203
204- ctx.setTransform (mat3 (1 , 0.2 , 0 , 0.8 , 1 , 0 , 0 , 0 , 1 ))
204+ ctx.setTransform (mat3 (1 , 0.8 , 0 , 0.2 , 1 , 0 , 0 , 0 , 1 ))
205205 ctx.fillRect (0 , 0 , 100 , 100 )
206206
207207 ctx.image.xray (" tests/contexts/setTransform_1.png" )
208208
209209block :
210210 let ctx = newContext (newImage (300 , 150 ))
211211
212- ctx.setTransform (mat3 (1 , 0.2 , 0 , 0.8 , 1 , 0 , 0 , 0 , 1 ))
212+ ctx.setTransform (mat3 (1 , 0.8 , 0 , 0.2 , 1 , 0 , 0 , 0 , 1 ))
213213 ctx.fillRect (0 , 0 , 100 , 100 )
214214
215- ctx.image.xray (" tests/contexts/resetTransform_1 .png" )
215+ ctx.image.xray (" tests/contexts/setTransform_2 .png" )
216216
217217block :
218218 let ctx = newContext (newImage (300 , 150 ))
@@ -225,7 +225,7 @@ block:
225225block :
226226 let ctx = newContext (newImage (300 , 150 ))
227227
228- ctx.transform (mat3 (1 , 0 , 0 , 1.7 , 1 , 0 , 0 , 0 , 1 ))
228+ ctx.transform (mat3 (1 , 1.7 , 0 , 0 , 1 , 0 , 0 , 0 , 1 ))
229229 ctx.fillStyle = " gray"
230230 ctx.fillRect (40 , 40 , 50 , 20 )
231231 ctx.fillRect (40 , 90 , 50 , 20 )
0 commit comments