Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

绘制元素无法超出屏幕大小 #26

Open
Cartagra opened this issue Apr 25, 2024 · 0 comments
Open

绘制元素无法超出屏幕大小 #26

Cartagra opened this issue Apr 25, 2024 · 0 comments

Comments

@Cartagra
Copy link

先设置了1200宽度的canvas,rootwidth也设置成1200,然后在canvas上绘制一个1200宽的白方框。
查看canvans对象的长宽是设定的2倍,然后白方框写入按屏幕大小的缩放了,
实际是绘制了828宽度的白方框到2400宽度的canvas中。
导致保存时右边一大片空白。
使用SaveToAlbum保存也有问题,destWidth设置1200图片出来也是只有2倍屏幕宽度,而且还是由2400宽度直接缩放的图片,右边一大片空白.
r47zkV3azpxFe1da574f83644dedaf61f4ae0d4d537e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant