Closed EmilAlipiev closed 4 years ago
SkiaSharp uses the top-left origin. Positive X is to the right, positive Y is down.
This is counter to macOS coordinates and GPU. However, it is pretty common with 2D screen-based rendering engines.
oh ok good to know. I thought that there is a bug :) thanks for making it clear for me.
Description
I saw this existing issue https://github.com/mono/SkiaSharp/issues/231 but not sure if it is related. Basically when I draw a simple Path, the more increase the Y axis, path is moving down not to the upper direction as i would expect. Here is the code sample.
Screenshot for above code red line is the path I am drawing
if i increase those numbers like
you can see below that red path was drawn more below than the gauge.
Expected Behavior
I would expect that the more i increase the y axis, it should draw more upper.
Actual Behavior
goes down
Basic Information
Version with issue: skiasharp.views.forms 2.80.1
Platform Target Frameworks: