Virtual Buffers: Function Summary

fg_clip2vb()

Copies a rectangular area from the clipboard to the active virtual buffer.

fg_copypage()

Transfers the contents of one virtual buffer to another. The two virtual buffers must have exactly the same dimensions.

fg_ddsetblt()

Defines if certain Fastgraph functions use their own native code, or if they use the DirectX Blt() or BltFast() blitting methods. This function is present only in Fastgraph's DirectX libraries.

fg_printdc()

Establishes the printer device context, which directs subsequent printing to the associated printer.

fg_printer()

Issues a printer request.

fg_scroll()

Vertically scrolls a region of the active virtual buffer. The scrolling may be done either up or down, using either an end-off or circular method. Circular scrolling uses part of the "background" virtual buffer as a temporary workspace.

fg_sethpage()

Establishes the "background" virtual buffer.

fg_tcdefine()

Defines the transparent colors for fg_vbtccopy().

fg_vb2clip()

Copies a rectangular area from the active virtual buffer to the clipboard.

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_vbcolors()

Copies the colors from the current logical palette into the active virtual buffer's color table. This defines a new set of colors for the active virtual buffer.

fg_vbcopy()

Copies a rectangular region from one virtual buffer to another, or to a non-overlapping position within the same virtual buffer.

fg_vbdefine()

Creates a virtual buffer of the specified size from memory explicitly allocated by the application. This function is not meaningful in Fastgraph's DirectX libraries.

fg_vbdepth()

Defines the default virtual buffer color depth in bits per pixel.

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_vbhandle()

Returns the handle for the active virtual buffer, or -1 if no virtual buffer is active.

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_vbprint()

Prints a rectangular region from the active virtual buffer on the selected printer, scaling the printed image as requested.

fg_vbscale()

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

fg_vbsize()

Returns the number of bytes needed for a virtual buffer of the specified size. This value includes the size of the drawing surface, plus the storage needed for the virtual buffer's header and color table.

fg_vbtccopy()

Copies a rectangular region from one virtual buffer to another, or to a non-overlapping position within the same virtual buffer, with up to 256 transparent colors.

fg_vbtcopy()

Copies a rectangular region from one virtual buffer to another, or to a non-overlapping position within the same virtual buffer, with a single transparent color.

fg_vbtzcopy()

Copies a rectangular region from one virtual buffer to another, or to a non-overlapping position within the same virtual buffer, with only zero-valued pixels considered transparent.

fg_vbundef()

Releases the handle associated with a virtual buffer.

<< Prev

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.