Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Monday, August 14, 2006 5:35:09 PM(UTC)

Rank: Member

Groups: Member
Joined: 8/8/2006(UTC)
Posts: 2

Does Graphics Mill for .NET have a magnification tool - something you can move around the page and get a magnified view of an area of the page?

Any plans to add a tool like this?

Or any suggestions about how I should go about implementing one myself?
#2 Posted : Monday, August 14, 2006 8:21:11 PM(UTC)

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)

We have plans to add magnification tool to our controls, but at this moment this feature is not implemented.
But you can implement it by your self. To perform this you should do the following steps:
  • Create your own Navigator: inherit from UserInputController class and INavigator interface;
  • Add event handler to UserInputController.BitmapViewerMouseMove event;
  • Translate coordinates of control to coordinates of bitmap on mouse move event;
  • Crop and resize specified by mouse part of bitmap;
  • Draw this part of bitmap over BitmapViewer.
  • Sincerely yours,
    Dmitry Sevostyanov

    UserPostedImage Follow Aurigma on Twitter!
    Users browsing this topic
    Forum Jump  
    You cannot post new topics in this forum.
    You cannot reply to topics in this forum.
    You cannot delete your posts in this forum.
    You cannot edit your posts in this forum.
    You cannot create polls in this forum.
    You cannot vote in polls in this forum.