Drawing and Filling Ellipses and Circles

An ellipses is specified by its bounding rectangle, much the same as the primitives for drawing and filling rectangles in pxl-prim-rect above. To draw or fill a circle, just specify a square bounding rectangle.