Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XSubtractRe(3x) — HP-UX ANSI C A.09.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XSubtractRegion − subtract one region from another. 

Synopsis

XSubtractRegion(sra, srb, dr_return)
Region sra, srb;
Region dr_return;

Arguments

sra

srbSpecify the two regions in which you want to perform the computation. 

dr_returnReturns the result of the computation. 

Description

XSubtractRegion() calculates the difference between the two regions specified (sra  −  srb) and puts the result in dr_return.  This function returns a region which contains all parts of sra that are not also in srb.  For more information on regions, see Volume One, Chapter 6, Drawing Graphics and Text. 

Structures

Region is a pointer to an opaque structure type. 

See Also

XClipBox(), XCreateRegion(), XDestroyRegion(), XEmptyRegion(), XEqualRegion(), XIntersectRegion(), XOffsetRegion(), XPointInRegion(), XPolygonRegion(), XRectInRegion(), XSetRegion(), XShrinkRegion(), XUnionRectWithRegion(), XUnionRegion(),

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026