View
215
Download
1
Tags:
Embed Size (px)
Citation preview
A Simple Picture Language
• Provide rigorous denotational semantics– Resolution and device independent
specification
• Not about how to draw a picture but about what a picture is
• Start with informal concepts then dive into semantics
Concepts
Point – A location on R2
Shape – A set of points
Color – red, blue, green, etc…
Texture – An assignment of color to every point on the plane
Layer – A partial assignment of colors to points on the plane
Concepts (cont.)
Picture – An order collection of layers
Image – A total assignment of colors to every point on the plane. e.g. A picture with a default background
Polygon as Shapes
intersect(halfplane((0,0),(0,1), intersect(halfplane((0,1),(1,1), halfplane((1,1),(0,0)))
Miscellaneous Operators
• Set operators on shapes– Intersection, Union, Difference
• Scaling and Translation on shape coordiates