| |
|
|
Michael Wodrich | PtInRect checks, whether one point within one Rechtecks befindet.
Parameter:
P:B1 | - RECT Structure or 16 byte large Memory-Variable, The The Eckpunkte the Rechtecks angibt.
byte | Description | 0-3 | = X-Koordinate the left oberen corner the Rechtecks. | 4-7 | = Y-Koordinate the left oberen corner the Rechtecks. | 8-11 | = X-Koordinate the rechten downstairs corner the Rechtecks. | 12-15 | = Y-Koordinate the rechten downstairs corner the Rechtecks.
|
| P:L2 | - X-Koordinate the abzufragenden Punktes. | P:L3 | - Y-Koordinate the abzufragenden Punktes.
|
Return Value: 0, if the point outside the Rechtecks lying, 1 if the point inside the Rechtecks lying.
|
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 11/18/05 ▲ |
|
|
|