graphic design program

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2008
Posts: 158
Reputation: cam875 is an unknown quantity at this point 
Solved Threads: 3
cam875 cam875 is offline Offline
Junior Poster

graphic design program

 
0
  #1
Jul 28th, 2008
If you were creating a graphic design drawing program for creating small images like 32x32 pixels but the windows was like 600x400. How would you create it so it could have more of a zoomed in vision of the 32x32 image so you could draw on it pixel by pixel without looking a mile away if you no what I mean.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: graphic design program

 
0
  #2
Jul 28th, 2008
Well that pretty much describes what I would do.
What's the actual question? How to zoom an image?
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 158
Reputation: cam875 is an unknown quantity at this point 
Solved Threads: 3
cam875 cam875 is offline Offline
Junior Poster

Re: graphic design program

 
0
  #3
Jul 28th, 2008
yeah so that I can actually edit a small image like 10x10 or somthing, I need to be able to zoom in on the image.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: graphic design program

 
0
  #4
Jul 28th, 2008
<aummmmmm>
<fx>Gazes into crystal ball</fx>
<aummmmmm>
Tell me the name of the graphics API cam875 is using
<aummmmmm>
.....
<aummmmmm?>
.....

Sorry, crystal ball broke, you'll have to tell us.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 158
Reputation: cam875 is an unknown quantity at this point 
Solved Threads: 3
cam875 cam875 is offline Offline
Junior Poster

Re: graphic design program

 
0
  #5
Jul 28th, 2008
just through the windows API like GDI. sorry for not telling.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: graphic design program

 
0
  #6
Jul 29th, 2008
Perhaps use some kind of "grid" control, where each cell represents a pixel.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 22
Reputation: NickyU is an unknown quantity at this point 
Solved Threads: 0
NickyU's Avatar
NickyU NickyU is offline Offline
Newbie Poster

Re: graphic design program

 
0
  #7
Jul 29th, 2008
for each step display each pixel as a a square made out of pixels that grows with each step

let me explain :

R = red
B = blue
Y = yellow
G = green

step 0:

RB
YG

step 1:

RRBB
RRBB
YYGG
YYGG
(a pixel has become a 2x2 pixel square)

step 2:

RRRBBB
RRRBBB
RRRBBB
YYYGGG
YYYGGG
YYYGGG
(a pixel has become a 3x3 pixel square)

and so on

there was an exercise exactly like this but with a character matrix at an informatics Olympiad in my country
Last edited by NickyU; Jul 29th, 2008 at 6:41 am.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 158
Reputation: cam875 is an unknown quantity at this point 
Solved Threads: 3
cam875 cam875 is offline Offline
Junior Poster

Re: graphic design program

 
0
  #8
Jul 29th, 2008
ok thanks for the help
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: graphic design program

 
0
  #9
Jul 29th, 2008
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC