Lecture 3: Basic Computer Graphics . Brad Myers 05-830 Advanced User Interface Software. Why?. To draw application-specific graphical objects Lines, rectangles, text Mac, Windows, X have approximately the same model There are some complexities that are worth looking at.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
05-830Advanced User Interface Software
p.curveTo(100, 25, 125, 175, 150, 100);
g.fillRect(50, 100 ,4,4);
g.fillRect(75, 100 ,4,4);
g.fillRect(100, 25 ,4,4);
g.fillRect(125, 175 ,4,4);
g.fillRect(150, 100 ,4,4);
g.fillRect(175, 100 ,4,4);
a c tx x
b d ty y where x¢ = ax + cy + tx and y¢ = bx + dy + ty
line style (solid, dashed, double-dashed)
stipple origin X
stipple origin Y
plane mask (for drawing on specific planes)X DrawLine Parameters