Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

SkiaSharp - Graphics basics

$
0
0

I am fairly new to Xamarin, Cross-platform, Forms, Graphics, etc. I see the SkiaSharp form samples. I looked at the DrawXamagon code. I modified it, to draw a polygon. Only a small part of it is shown, because my polygon is too large, (Upside down also, I think), off center, etc., etc. The sample code has predefined hard coded sizes of the sample image, display area, etc., that do not fit my polygon image.

Is there a sample anywhere that does not have hard coded values, and that is commented as it goes along. I do not care what it draws (triangle, circle, polygon, whatever). Something that besides creating the image to be displayed, that also determines the size of the display area, and, the image to be displayed, and then scales the image so that it fits, and, is centered? Is this there already in one of the samples...if so where?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>