2-D Graphics
vector graphics : the graphics that used for drawing shapes with vertices, strokes and fills.
raster graphics (光栅图形): a rectilinear ray of pixels and these pixels are assigned colors and by assigning.
一般用vector graphic去描绘点或者线;raster graphics用丰富的像素就展示图形,形成图片或者动画。
将vector graphics 光栅化,变为raster graphics,变换的结果可能会出现图像失真。
在设计一个手机或者电视时,先在canvas 坐标系中进行设计,便于控制图形的大小比例,然后可以通过坐标系变换,将图形转化到screen坐标系中。
3-D Graphics