| Home
| Previous
| Next
| Up

OffsetRegion

Offsets a region by the specified amount.

Declaration

void NAPI GA_regionFuncs::OffsetRegion(
GA_region *r,
N_int32 dx,
N_int32 dy)

Prototype In

snap/graphics.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

UnionRegion, DiffRegion, SectRegion

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