2D Graphics Fundamentals: Function Summary

fg_arc()

Draws a circular arc in screen space, centered at the current graphics position, with clipping.

fg_arcw()

Draws a circular arc in world space, centered at the current graphics position, with clipping.

fg_box()

Draws an unfilled rectangle in screen space, with clipping. The width of the rectangle's edges is one pixel unless changed with the fg_boxdepth() function.

fg_boxdepth()

Defines the depth of rectangles drawn with the box display functions. The fg_vbinit() function initializes the box depth to one pixel.

fg_boxw()

Draws an unfilled rectangle in world space, with clipping. The width of the rectangle's edges is one pixel unless changed with the fg_boxdepth() function.

fg_boxx()

Draws an unfilled rectangle in screen space, with clipping, in "exclusive or" mode. The width of the rectangle's edges is one pixel unless changed with the fg_boxdepth() function.

fg_boxxw()

Draws an unfilled rectangle in world space, with clipping, in "exclusive or" mode. The width of the rectangle's edges is one pixel unless changed with the fg_boxdepth() function.

fg_circle()

Draws an unfilled circle in screen space. The circle is centered at the graphics cursor position.

fg_circlef()

Draws a filled circle in screen space. The circle is centered at the graphics cursor position.

fg_circlefw()

Draws a filled circle in world space. The circle is centered at the graphics cursor position.

fg_circlew()

Draws an unfilled circle in world space. The circle is centered at the graphics cursor position.

fg_clprect()

Draws a solid (filled) rectangle in screen space, with clipping.

fg_clprectw()

Draws a solid (filled) rectangle in world space, with clipping.

fg_clprectx()

Draws a solid (filled) rectangle in "exclusive or" mode in screen space, with clipping.

fg_dash()

Draws a dashed line from the graphics cursor position to an absolute screen space position. It also makes the destination position the new graphics cursor position.

fg_dashrel()

Draws a dashed line from the graphics cursor position to a screen space position relative to it. It also makes the destination position the new graphics cursor position.

fg_dashrw()

Draws a dashed line from the graphics cursor position to a world space position relative to it. It also makes the destination position the new graphics cursor position.

fg_dashw()

Draws a dashed line from the graphics cursor position to an absolute world space position. It also makes the destination position the new graphics cursor position.

fg_draw()

Draws a solid line from the graphics cursor position to an absolute screen space position. It also makes the destination position the new graphics cursor position.

fg_drawrel()

Draws a solid line from the graphics cursor position to a screen space position relative to it. It also makes the destination position the new graphics cursor position.

fg_drawrelx()

Draws a solid line in "exclusive or" mode from the graphics cursor position to a screen space position relative to it. It also makes the destination position the new graphics cursor position.

fg_drawrw()

Draws a solid line from the graphics cursor position to a world space position relative to it. It also makes the destination position the new graphics cursor position.

fg_drawrxw()

Draws a solid line in "exclusive or" mode from the graphics cursor position to a world space position relative to it. It also makes the destination position the new graphics cursor position.

fg_draww()

Draws a solid line from the graphics cursor position to an absolute world space position. It also makes the destination position the new graphics cursor position.

fg_drawx()

Draws a solid line in "exclusive or" mode from the graphics cursor position to an absolute screen space position. It also makes the destination position the new graphics cursor position.

fg_drawxw()

Draws a solid line in "exclusive or" mode from the graphics cursor position to an absolute world space position. It also makes the destination position the new graphics cursor position.

fg_drect()

Draws a dithered rectangle in screen space, without clipping.

fg_drectw()

Draws a dithered rectangle in world space, without clipping.

fg_ellipse()

Draws an unfilled ellipse in screen space. The ellipse is centered at the graphics cursor position, and its size is determined by the specified lengths of the semi-axes.

fg_ellipsef()

Draws a filled ellipse in screen space. The ellipse is centered at the graphics cursor position, and its size is determined by the specified lengths of the semi-axes.

fg_ellipsew()

Draws an unfilled ellipse in world space. The ellipse is centered at the graphics cursor position, and its size is determined by the specified lengths of the semi-axes.

fg_ellipsfw()

Draws a filled ellipse in world space. The ellipse is centered at the graphics cursor position, and its size is determined by the specified lengths of the semi-axes.

fg_erase()

Fills the active virtual buffer with color 0 pixels.

fg_fillpage()

Fills the active virtual buffer with pixels of the current color.

fg_flood()

Fills an arbitrary closed region with the current color value, with clipping. The region is defined by specifying a screen space point within its interior.

fg_floodw()

Fills an arbitrary closed region with the current color value, with clipping. The region is defined by specifying a world space point within its interior.

fg_getclip()

Returns the current clipping limits, as defined in the most recent call to fg_setclip().

fg_getpixel()

Returns the color value of a specified pixel.

fg_getxbox()

Returns the width in pixels for the left and right edges of unfilled rectangles drawn with the box display functions.

fg_getxpos()

Returns the screen space x coordinate of the graphics cursor position.

fg_getybox()

Returns the width in pixels for the top and bottom edges of unfilled rectangles drawn with the box display functions.

fg_getypos()

Returns the screen space y coordinate of the graphics cursor position.

fg_inside()

Determines if the specified point is inside a given convex polygon.

fg_move()

Establishes the graphics cursor position at an absolute screen space point.

fg_moverel()

Establishes the graphics cursor position at a screen space point relative to the current position.

fg_moverw()

Establishes the graphics cursor position at a world space point relative to the current position.

fg_movew()

Establishes the graphics cursor position at an absolute world space point.

fg_paint()

Fills an arbitrary closed region with the current color value, without clipping. The region is defined by specifying a screen space point within its interior.

fg_paintw()

Fills an arbitrary closed region with the current color value, without clipping. The region is defined by specifying a world space point within its interior.

fg_point()

Draws a point (that is, displays a pixel) in screen space.

fg_pointw()

Draws a point in world space.

fg_pointx()

Draws a point in "exclusive or" mode in screen space.

fg_pointxw()

Draws a point in "exclusive or" mode in world space.

fg_polyedge()

Defines whether or not fg_polyfill() includes all pixels lying on a polygon's right and bottom edges when drawing filled convex polygons.

fg_polyfill()

Draws a filled convex polygon in screen space. The polygon is closed if necessary. By default, pixels lying on the polygon's right and bottom edges are not included when drawing the polygon. This behavior can be changed with fg_polyedge().

fg_polygon()

Draws an unfilled polygon in screen space, using two coordinate arrays to define the polygon vertices. The polygon is closed if necessary.

fg_polygonw()

Draws an unfilled polygon in world space. It is the same as fg_polygon(), except the coordinate arrays contain world space values.

fg_polyline()

Draws an unfilled polygon in screen space, using a single coordinate array to define the polygon vertices. The polygon is closed if necessary.

fg_polyoff()

Defines the screen space offset applied to each vertex for polygons drawn with fg_polyfill() or fg_polyline().

fg_putpixel()

Displays a pixel in screen space, without clipping.

fg_rect()

Draws a solid (filled) rectangle in screen space, without clipping.

fg_rectw()

Draws a solid (filled) rectangle in world space, without clipping.

fg_rectx()

Draws a solid (filled) rectangle in "exclusive or" mode in screen space, without clipping.

fg_setclip()

Defines the clipping region in screen space. The clipping region is a rectangular area outside of which certain graphics are suppressed.

fg_setclipw()

Defines the clipping region in world space.

<< Prev

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.