Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Pic Help
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ShadowStorm




PostPosted: Fri May 09, 2003 2:35 pm   Post subject: Pic Help

when i rotate my pics, once they get to certain angle the pics get cut off... i need your help... check my attachment to see what i am talking about


Game.zip
 Description:

Download
 Filename:  Game.zip
 Filesize:  606.97 KB
 Downloaded:  226 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Homer_simpson




PostPosted: Fri May 09, 2003 2:56 pm   Post subject: (No subject)

yer missing a mission1.txt in yer attachments...
Homer_simpson




PostPosted: Fri May 09, 2003 3:00 pm   Post subject: (No subject)

and yer controlls are also very messed up... =(
Tony




PostPosted: Fri May 09, 2003 4:36 pm   Post subject: (No subject)

the way picture rotates is that the image gets rotated but the image dimentions remain the same. So you need to have a border around your picture so that image itself doesnt get cut.

then you just use picMerge as your mode so that white becomes transparent
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
ShadowStorm




PostPosted: Thu May 15, 2003 3:07 pm   Post subject: (No subject)

how? As in how do you set a border around your picture..
Tony




PostPosted: Thu May 15, 2003 3:14 pm   Post subject: (No subject)

well one way is to open up your picture in an image editing software (preferably Photoshop, but even MS Paint will do). Open it up on a larger canvas size then the image itself and center it in the middle, leaving enough white space around your picture. Then save it.

Coordinates of the picture will be off because of the border, but when you rotate, the border should get cut off, not the image itself... If it is still getting cut of, just save it with a larget boarder.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: