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

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




PostPosted: Sun Jan 11, 2009 11:34 am   Post subject: strings on backgrounds

How can you put strings on a picture background (JPG) .I try to do that but the strings erase my background. Is there a way to show put statements on the a background picture without erasing it not using font.draw ? Thanks in advance!
Sponsor
Sponsor
Sponsor
sponsor
syntax_error




PostPosted: Sun Jan 11, 2009 11:37 am   Post subject: RE:strings on backgrounds

Why do you not want to use font.draw?
Euphoracle




PostPosted: Sun Jan 11, 2009 11:45 am   Post subject: RE:strings on backgrounds

No, there isn't. However, you can write a wrapper for it, so you don't need to worry about positioning Font.Draw all the time.
aqazwsx1




PostPosted: Sun Jan 11, 2009 12:47 pm   Post subject: Re: strings on backgrounds

what do you mean? Can you how me exmaples?
aqazwsx1




PostPosted: Sun Jan 11, 2009 12:47 pm   Post subject: Re: strings on backgrounds

anyone else can help?
Tony




PostPosted: Sun Jan 11, 2009 4:03 pm   Post subject: RE:strings on backgrounds

You have to use Font.Draw. A wrapper is a helpful function that "wraps around" another function call (while setting up default arguments, or doing some other useful work), making it easier to work with that wrapped call.
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: