fg_tcxfer() (legacy function)Win32 DirectX Fastgraph/Light Prototype void fg_tcxfer (int minx, int maxx, int miny, int maxy, int newx, int newy, int source, int dest); Sub fg_tcxfer (ByVal minx As Long, ByVal maxx As Long, ByVal miny As Long, ByVal maxy As Long, ByVal newx As Long, ByVal newy As Long, ByVal source As Long, ByVal dest As Long) procedure fg_tcxfer (minx, maxx, miny, maxy, newx, newy, source, dest : integer); Description The fg_tcxfer() legacy function is identical to fg_vbtccopy(). It copies a rectangular region from one virtual buffer to another, or to a non-overlapping region in the same virtual buffer. It excludes any pixels whose color is transparent. As with Fastgraph's other block transfer functions, no clipping is performed. The fg_tcdefine() and fg_tcmask() functions define which colors are transparent. Parameters minx is the x coordinate of the source region's left edge. maxx is the x coordinate of the source region's right edge. It must be greater than or equal to the value of minx. miny is the y coordinate of the source region's top edge. maxy is the y coordinate of the source region's bottom edge. It must be greater than or equal to the value of miny. newx is the x coordinate of the destination region's left edge. newy is the y coordinate of the destination region's bottom edge. source is the handle of the virtual buffer containing the source region. dest is the handle of the virtual buffer for the destination region. Return value none Restrictions The source and destination virtual buffers must be the same color depth. If source and dest reference the same virtual buffer, the source and destination regions must not overlap. Replaced by
|
 
copyright 2001 Ted Gruber Software, Inc.