PPT Slide
0. Obtain the initial position (X,Y)
1. Read current position (A,B)
2. Draw horizontal line from
(X,Y) to (A,Y) and store it
3. Draw vertical line from
(A,Y) to (A,B) and store it
4. Draw horizontal line from
(A,B) to (X,B) and store it
Image Creation:
Drawing a Rectangle
X, Y
A, Y
X, B
A, B
step 1
step 0
step 2
step 3
step 4
Previous slide
Next slide
Back to first slide
View graphic version