Fundamental Concepts: Function Summary

fg_getmaxx()

Returns the maximum x coordinate in screen space for the active virtual buffer.

fg_getmaxy()

Returns the maximum y coordinate in screen space for the active virtual buffer.

fg_getview()

Returns the current viewport limits and their screen space equivalents, as defined in the most recent call to fg_setview().

fg_getworld()

Returns the current world space limits, as defined in the most recent call to fg_setworld().

fg_initw()

Initializes Fastgraph's internal world space parameters. This function must be called once, before any other function that uses world coordinates.

fg_setdc()

Establishes the device context for the window's client area.

fg_setview()

Defines a 2D viewport with the specified extremes at the specified screen space position.

fg_setworld()

Defines the 2D world space coordinates that correspond to the physical edges of the active virtual buffer.

fg_vballoc()

Creates a virtual buffer of the specified size. The memory for the virtual buffer is allocated automatically.

fg_vbclose()

Closes the active virtual buffer.

fg_vbfin()

Terminates virtual buffer processing. This is typically the last Fastgraph function called in a program.

fg_vbfree()

Releases a virtual buffer's handle and frees the memory allocated to the virtual buffer.

fg_vbinit()

Initializes Fastgraph's virtual buffer environment. This function must be called once, before any other functions that reference virtual buffers.

fg_vbopen()

Makes an existing virtual buffer the active virtual buffer.

fg_vbpaste()

Copies a rectangular region from the active virtual buffer to the client area.

fg_vbscale()

Copies a rectangular region from the active virtual buffer to the client area, with scaling.

fg_xclient()

Converts a virtual buffer screen space x coordinate to its client area screen space equivalent.

fg_xscreen()

Converts a world space x coordinate to its screen space equivalent.

fg_xvb()

Converts a client area screen space x coordinate to its virtual buffer screen space equivalent.

fg_xview()

Converts a viewport x coordinate to its screen space equivalent.

fg_xworld()

Converts a screen space x coordinate to its world space equivalent.

fg_yclient()

Converts a virtual buffer screen space y coordinate to its client area screen space equivalent.

fg_yscreen()

Converts a world space y coordinate to its screen space equivalent.

fg_yvb()

Converts a client area screen space y coordinate to its virtual buffer screen space equivalent.

fg_yview()

Converts a viewport y coordinate to its screen space equivalent.

fg_yworld()

Converts a screen space y coordinate to its world space equivalent.

<< Prev

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.