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

Username:   Password: 
 RegisterRegister   
 chr graphics vs. pixel graphics
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
rollerdude




PostPosted: Sun Feb 13, 2005 2:07 pm   Post subject: chr graphics vs. pixel graphics

well... not really versus

is there an algorythm that i can type so that if i give the a pixel graphic co-ordinate, it will draw a chacter there(in that general location) rather then way off the screen?

ex/ pixel position l graphic position
1,1(b-left corner) l appear bottom left corner rather than top left


(pixel pos) figure 1-1
l
l
l
l
la___________

(chr pos) firgure 1-2
la
l
l
l
l____________

i want to tell the computer to draw at 1,1
and appear as in figure 1-1
not figure 1-2


figure 2-1
(pos 50,50)
l a
l
l
l
l_____________

firgure 2-2
(pos 50,50)
l
l
l
l
l_____________ a

cause you know how (1,1) versus (5,1)
jumps more than just 5 pixels for location 2

sort of under stand?
Sponsor
Sponsor
Sponsor
sponsor
Bacchus




PostPosted: Sun Feb 13, 2005 2:52 pm   Post subject: (No subject)

so you want to put text at a certain location? locatexy()
ssr




PostPosted: Sun Feb 13, 2005 6:13 pm   Post subject: (No subject)

do u mean like if the x y entered are bigger than the screen then use locatexy. 8)
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  [ 3 Posts ]
Jump to:   


Style:  
Search: