GA_sectRectFast

Compute the intersection between two rectangles.

Declaration

void GA_sectRectFast(
    GA_rect r1,
    GA_rect r2,
    GA_rect *d)

Prototype In

snap/graphics.h

Parameters

r1

First rectangle to intersect

r2

Second rectangle to intersect

d

Place to store the resulting intersection

 

Description

This is the same as GA_sectRect but it is implemented as a macro and does not test the rectangle for intersection.

See Also

GA_sectRect, GA_sectRectCoord, GA_unionRect

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