You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and then we just draw the path, that code works same for SVG and other cases no problem. So as I see it it's either ParseSvgPathData either (the most probable case) GetTightBounds that work differently between v2 and v3.
The text was updated successfully, but these errors were encountered:
When using SkiaShape Path, the MAUI alternative, the ski3 preview is rendering them with a smaller size..
v2
![image](https://private-user-images.githubusercontent.com/25801194/381967878-7bd28d71-0bd9-4ce1-ae61-5cf73677219c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTQwNjUsIm5iZiI6MTczOTYxMzc2NSwicGF0aCI6Ii8yNTgwMTE5NC8zODE5Njc4NzgtN2JkMjhkNzEtMGJkOS00Y2UxLWFlNjEtNWNmNzM2NzcyMTljLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEwMDI0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIyODkzZDM5NGUwNzlhMTNjMGEyZWRmODBhZjVlNGI5ZWQyYWE2N2M2YjlmMzk3MTAyNmFmODJhOGFmZjliZjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HHYT-9A0O16NeD8khX_zhV-n1nJPew6rthQahx2mQbg)
v3
![image](https://private-user-images.githubusercontent.com/25801194/381974547-ab4ff0c5-8635-43df-8b11-96705dae6740.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTQwNjUsIm5iZiI6MTczOTYxMzc2NSwicGF0aCI6Ii8yNTgwMTE5NC8zODE5NzQ1NDctYWI0ZmYwYzUtODYzNS00M2RmLThiMTEtOTY3MDVkYWU2NzQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEwMDI0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcwNThmNmQxZDgyN2FlNzcxYmRjMjEwOGQ0Njg5YTY3MjRhNmI4ZDg1NWQ1YmY4MWMwMWFiNTNhM2MzZDdlZDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.fJt3w8Mh2y1QdeQ2obGnjUSdmLvdJ1LMR9vQN48F7ho)
The rendering uses the following shiasharp API:
SKPath path = SKPath.ParseSvgPathData(this.PathData);
then
path.GetTightBounds(out var bounds);
and then we just draw the path, that code works same for SVG and other cases no problem. So as I see it it's either
ParseSvgPathData
either (the most probable case)GetTightBounds
that work differently between v2 and v3.The text was updated successfully, but these errors were encountered: