Jump to content

Recommended Posts

Posted

Hello, when I use Context:DrawRect() with scaled (1, 3) context with a style = 1 (ie. not filled) I get this as a result:

 

uZLpALY.jpg

 

On the contrary, when I use style = 0 - ie. filled rectangle, everything seems to be OK:

 

jNGu5RX.jpg

Posted

I've just read your example. It's such a shame that scaling does not work proprely in all cases. I've tested it with DrawImage/Text/Rectangle and it works as expected.

 

Also, I've bumped into problems with SetTranslation cause I wanted to implement variable pivot for the rotation (put the rotation pivot in the center of the image, for example). Although I've done it already in HTML5 canvas, SetScale here does not work in the similar way...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...