| | |
graphic design program
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jun 2008
Posts: 158
Reputation:
Solved Threads: 3
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.
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
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.
![]() |
Similar Threads
- Application Graphic Design/Layout (Software Development Job Offers)
- Experienced Web Graphic Designer w Work Examples (Web Development Job Offers)
- Web Graphic Programs....Design? (Graphics and Multimedia)
- Learning Web design (IT Professionals' Lounge)
- Best way to integrate this? (Database Design)
- My Turbo Archive...will it help? (Search Engine Optimization)
- New Computer, is this enough hd space? (Storage)
- How to create/design a web page? (Site Layout and Usability)
Other Threads in the C++ Forum
- Previous Thread: GetPixel
- Next Thread: Peculiar behaviour with simple arithmatic
| Thread Tools | Search this Thread |
api array beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion count data database delete desktop developer directshow dll download dynamic email encryption error file forms fstream function functions game getline google graph gui homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates test text text-file tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






