fg_save() (legacy function)

Win32 DirectX Fastgraph/Light

Prototype

void fg_save (int minx, int maxx, int miny, int maxy);

Sub fg_save (ByVal minx As Long, ByVal maxx As Long, ByVal miny As Long, ByVal maxy As Long)

procedure fg_save (minx, maxx, miny, maxy : integer);

Description

The fg_save() legacy function copies a rectangular region, defined in screen space, from the foreground virtual buffer to the same position in the background virtual buffer. As with Fastgraph's other block transfer functions, no clipping is performed.

Parameters

minx is the x coordinate of the region's left edge.

maxx is the x coordinate of the region's right edge. It must be greater than or equal to the value of minx.

miny is the y coordinate of the region's top edge.

maxy is the y coordinate of the region's bottom edge. It must be greater than or equal to the value of miny.

Return value

none

Restrictions

When using DirectX, the background and foreground virtual buffers must not be locked.

Replaced by

fg_vbcopy()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.