2D Graphics Fundamentals

This section describes Fastgraph's basic two-dimensional graphics functions, sometimes called graphics primitives. They perform such functions as drawing points, drawing solid and dashed lines, drawing rectangles (solid, hollow, and dithered), drawing closed shapes (polygons, circles, and ellipses), and filling arbitrary regions. All graphics primitive functions operate on the active virtual buffer, not directly on the client area, and most draw the graphics objects using the current color. After discussing the graphics primitives, we'll present an example program encompassing many of these functions. We'll then conclude the section with an explanation of how to integrate Windows GDI functions with Fastgraph.

Next >>

Fastgraph Home Page


copyright 2001 Ted Gruber Software, Inc.