|
|
1.1 ! root 1: .ds ZZ DEVELOPMENT PACKAGE ! 2: .TH RECTCLIP 3R "630 MTG" ! 3: .XE "rectclip()" ! 4: .SH NAME ! 5: rectclip \- clip a Rectangle to another Rectangle ! 6: .SH SYNOPSIS ! 7: \f3 ! 8: #include <dmd.h> ! 9: .sp ! 10: int rectclip (rp, s) ! 11: .br ! 12: Rectangle \(**rp, s;\f1 ! 13: .SH DESCRIPTION ! 14: The ! 15: .I rectclip ! 16: function ! 17: clips the Rectangle pointed to by ! 18: .I rp ! 19: so that it is completely contained within the Rectangle ! 20: .IR s . ! 21: The return value is 1 if any part of ! 22: .I *rp ! 23: is within \f2s\f1. ! 24: Otherwise, the return value is 0 and ! 25: .I *rp ! 26: is unchanged. ! 27: .SH EXAMPLE ! 28: See the example for ! 29: .IR newrect (3R). ! 30: .SH SEE ALSO ! 31: newrect(3R).
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.