Added graphics drawing primitives.