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

VirtualDraw and Scale\Transform #31

Open
mPisano opened this issue Jul 20, 2018 · 2 comments
Open

VirtualDraw and Scale\Transform #31

mPisano opened this issue Jul 20, 2018 · 2 comments

Comments

@mPisano
Copy link

mPisano commented Jul 20, 2018

First off - Richard Great work!

I have some print code that I would love to have as a form component.
The Print routine now currently assumes Width, Length and Scale to deal with Letter vs A4 and 300 vs 600 DPI in printers. ie (ie RenderReport(g, 850,1100,100);

I can only render the whole page, so after I would like to Transform(x,y) to shift to the newer upper left and clip(x+w, y+h) the right and bottom based on the scale so that the rendered size is always the size of the Window while maintaining the aspect ratio.

I can get it to sort of work, but the scroll bars are screwed and the highlight a region is off?

Any Suggestions?
Thanks,
Mike

@cyotek
Copy link
Owner

cyotek commented Aug 4, 2018

Hello,

Apologies for the delay in responding. Do you have a small project you can share which demonstrates the approach you're taking and the unexpected behaviour you're experiencing?

Regards;
Richard Moss

@lordofscripts
Copy link

Is there more information about how to use Virtual Mode and its applications? I read the articles but am still lost. What is the use of Virtual Mode other than displaying that bounding box as some sort of "helper"?

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

3 participants