Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS 456 Drawing.

Similar presentations


Presentation on theme: "CS 456 Drawing."— Presentation transcript:

1 CS 456 Drawing

2 Component Widget Component Control Pane JComponent

3 Model View (Gulf of Evaluation) Controller (Gulf of Execution)

4

5

6 Drawing Models Pixels Stroke Region

7

8

9 Tank

10

11 Hue – The color (red, green, orange)
Saturation – Amount of color vs. amount of gray/white Value – how light or dark is the color

12

13 Some junk on the wall Baseline, Ascent, Descent, Leading

14 Some junk Some junk Sans serif Serif

15 Some junk Some junk Spacing of letters Some junk

16 VA V A Kerning

17 Curves - Continuity G(0) G(1) G(2) Quadratic Cubic

18 Quadratic Bezier

19 Quadratic Bezier

20 Cubic Bezier G(0) G(1)

21 Region Shapes moveTo(x,y) lineTo(x,y) quadraticTo( cx, cy, x, y)
cubicTo(c1x, c1y, c2x, c2y, x,y)

22 Quadratic Shape G.moveTo(P0x,P0y); G.quadraticTo(P1x,P1y,P2x,P2y);

23 Cubic Shape G.moveTo(A0x,A0y); G.cubicTo(A1x,A1y,A2x,A2y,A3x,A3y);
G.cubicTo(B1x,B1y,B2x,B2y,B3x,B3y);

24 Catmull-Rom Curves P0, P1, P2, P3 P1, P2, P3, P4 P2, P3, P4, P5

25 Catmull-Rom P3, P0, P1, P2 P0, P1, P2, P3 P1, P2, P3, P0


Download ppt "CS 456 Drawing."

Similar presentations


Ads by Google