Supported Browsers Home   
GA_getSNAPConfigPath Previous   
GA_isLiteVersion Next   
External Functions Up   

GA_insetRect

Insets the coordinates of a rectangle.

Declaration

void GA_insetRect(
    GA_rect r,
    int dx,
    int dy)

Prototype In

snap/graphics.h

Parameters

r

Rectangle to inset

dx

Amount to inset the x coordinates by

dy

Amount to inset the y coordinates by

 

Description

This functions insets the rectangle by the specified values. This function effectively performs the following operation on the rectangle:

left += dx;
top += dy;
right -= dx;
bottom -= dy;

See Also

GA_offsetRect

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