May 2012
Intermediate to advanced
679 pages
16h 56m
English
Object orientation can bring lot of ease and comfort in graphical programs too. Let us have a fresh look at graphics programs.
To see something on the screen of a monitor, we need a rectangular area. Let us call it as a canvas. We will be drawing on this canvas. Naturally, canvas will have dimensions. For practical considerations, canvas will be rectangular. We will have to put some background colour. The canvas will be painted by the background colour. In general, background colour will not change during the life of our program.
For drawing, we need drawing colour which is called foreground colour. We should be able to set this colour from time to time as per our need. The first thing is drawing ...
Read now
Unlock full access