nativescript-community / ui-canvas

Implement Canvas into your NativeScript apps.
https://nativescript-community.github.io/ui-canvas/
Apache License 2.0
31 stars 9 forks source link

iOS renders bitmaps flipped vertically #5

Closed I-NOZex closed 4 years ago

I-NOZex commented 5 years ago

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Dependencies:

Plugin Version
nativescript-canvas ^2.1.5
nativescript-theme-core ~1.0.4
nativescript-vue ~2.2.0
tns-core-modules ~5.4.0

Dev Dependencies:

Plugin Version
@babel/core ~7.1.0
@babel/preset-env ~7.1.0
babel-loader ~8.0.0
nativescript-dev-webpack ~0.24.0
nativescript-vue-template-compiler ~2.2.0
node-sass ^4.7.1
vue-loader ~15.4.0

Please, tell us how to recreate the issue in as much detail as possible.

farfromrefug commented 5 years ago

@I-NOZex Thanks will fix it right away!

farfromrefug commented 5 years ago

@I-NOZex fixed in 2.1.6

I-NOZex commented 5 years ago

Wow that's fast mate! 😅 thank you! gonna update after you release and then test it 👍

I-NOZex commented 5 years ago

Now it's correct, but it seems that the Y axis is reversed. That means if I want to render the image at x: 0, y: 50, the image is rendered as if I defined y: -50

Y = 50 y50


Y = -50 y-50

ps: the X axis is ok

farfromrefug commented 5 years ago

@I-NOZex OK let me think a bit about this

farfromrefug commented 5 years ago

@I-NOZex fixed in 2.1.7

I-NOZex commented 5 years ago

I'm sorry, the issue persists :(