Supported Browsers Home   
MGL_offsetRect Previous   
MGL_openFontLib Next   
External Functions Up   

MGL_offsetRegion

Offsets a region by the specified amount.

Declaration

void MGLAPI MGL_offsetRegion(
    region_t *r,
    int dx,
    int dy)

Prototype In

mgraph.h

Parameters

r

Region to offset

dx

Amount to offset x coordinates by

dy

Amount to offset y coordinates by

 

Description

This function offsets the specified region by the dx and dy coordinates, by modifying all the coordinate locations for every rectangle in the union of rectangles that constitutes the region by the specified coordinates.

See Also

MGL_unionRegion, MGL_diffRegion, MGL_sectRegion

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com