954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

graphic design program

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.

cam875
Junior Poster
170 posts since Jun 2008
Reputation Points: 12
Solved Threads: 4
 

Well that pretty much describes what I would do.
What's the actual question? How to zoom an image?

Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

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.

cam875
Junior Poster
170 posts since Jun 2008
Reputation Points: 12
Solved Threads: 4
 

Gazes into crystal ball
Tell me the name of the graphics API cam875 is using

.....

.....

Sorry, crystal ball broke, you'll have to tell us.

Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

just through the windows API like GDI. sorry for not telling.

cam875
Junior Poster
170 posts since Jun 2008
Reputation Points: 12
Solved Threads: 4
 

Perhaps use some kind of "grid" control, where each cell represents a pixel.

Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

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

NickyU
Newbie Poster
22 posts since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

ok thanks for the help

cam875
Junior Poster
170 posts since Jun 2008
Reputation Points: 12
Solved Threads: 4
 
Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You