Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Design Patterns
Expertise: Beginner
May 9, 1997

How to draw a picture with more pixel than screen

Question:
I want to draw a picture with bigger coordinates (x,y) than the screen can contain. For example, my screen's resolution is 600x800, but I will draw a filled ellipse on (20000,3000). Then how can I draw it at the location I want?

Answer:
Try setting the client area or canvas rectangle to the size you want first. Then draw your picture within those bounds, which will essentially ignore the screen resolution.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date