Zoom view content control #3011
Replies: 2 comments 1 reply
-
Update on my current progress, and a sort of code inspection. At present, I have a loose grasp that there may be some scaling issues going on, under panning scenarios. And by extension, with zoom factors. Although I am not hundred percent certain on the matter; yet. I also think that if I can arrest a Anyway, interested to gain some peer feedback. |
Beta Was this translation helpful? Give feedback.
-
Slightly improved update, yes improved, but still showing indications of some sort of scaling issue, definitely also panning issue, and possibly a combination of the two. Not quite sure how to resolve those things, need some better informed eyes than mine to help diagnose the issue, and offer some guidance. Key points, the scaling I am doing right now, is perhaps naive in nature. Additionally, I know of the algorithms involving a transformation matrix, given the scaling factors... Need to solve for the translation components, but the problem is, I do not have the B coordinates. That is precisely the point; we have A coordinates, needing to transform to the B (unknown) coordinates. My understanding is, given the scaling factors, and translation solutions, that would properly orient the B coordinates. Need a bit of help connecting those dots, identifying the issues, and guidance informing the solution. |
Beta Was this translation helpful? Give feedback.
-
Looking for a zoom view content control. That manages the mouse wheel events, as well as possibly modifier keys, control, shift, open (i.e. no keys), etc... And relay appropriate scaling to the
SKElement
contained within, trigger the correspondingInvalidateVisual
or what not.Beta Was this translation helpful? Give feedback.
All reactions