public static SKPoint ToSKPoint(this RatioPoint sKRatioPoint, float containerWidth, float containerHeight) { return(new SKPoint(sKRatioPoint.XRatio * containerWidth, sKRatioPoint.YRatio * containerHeight)); }
public static SKPoint ToSKPoint(this RatioPoint ratioPoint, SKSize containerSize) { return(new SKPoint(ratioPoint.XRatio * containerSize.Width, ratioPoint.YRatio * containerSize.Height)); }