Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » image drawing
Re: image drawing [message #26356 is a reply to message #26351] Tue, 27 April 2010 13:32 Go to previous messageGo to previous message
raxvan is currently offline  raxvan
Messages: 60
Registered: December 2009
Member
ok thanks Smile, what i want to do involves both simple and `hard` transformations:
1. zoom in/out ; mouse wheel will just zoom in/out on the image
2. Drag and drop:
Suppose that A (rectangle)is my Picture Ctr,and B is my image.
Normally B is exactly the size of A and the size of the image.
When i click and drag the image in the Picture Ctrl the image will follow my mouse , so when i move right the image will move right. The backgound will be white or black

Hard:
3. Rotate the image in the 2D space.
When i click the corner of the image for example, the picture will rotate around the center.
4. Rotate in 3D space. But i'm not sure if i want to do this.
Imagine you are looking to a plane in space from (0,0,0). The image is at (1,0,0) with the normal (-1,0,0) facing you.
You should be able to rotate the image about Y and Z only around the origin.


Thanks,
Raxvan.


92b48bf94855483bb4cec8bcc8c0c933
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Upp .dll
Next Topic: Void pointer to NTL Array and VectorMap
Goto Forum:
  


Current Time: Mon Jul 07 17:40:02 CEST 2025

Total time taken to generate the page: 0.03724 seconds