Drawing Graphics: 2.1 Shapes: Dots

Up: GEOS SDK TechDocs| Up | Prev: 2 Shapes | Next: 2.2 Lines
GrDrawPoint(), GrDrawPointAtCP()

A point is the smallest thing drawable; it will always appear as a single pixel. The point's position is defined by a standard coordinate pair. Points are drawn using line attributes. After drawing a point, the pen position will be at the point's coordinates.

GrDrawPoint() draws a point at the passed coordinate pair. GrDrawPointAtCP() draws a point at the current pen position.


Up: GEOS SDK TechDocs| Up | Prev: 2 Shapes | Next: 2.2 Lines