THPDFPage.EoClip

THPDFPage

 

Överst  Föregående  Nästa

Closes path cliping.

 

Delphi syntax:

procedure EoClip;

 

C++ syntax:

void __fastcall EoClip( void );

 

Beskrivning

Ändra den aktuella urklippsbanan genom att skära den med den aktuella banan i snitt och använda jämn-udda-regeln för att avgöra vilka områden som ligger inuti urklippsbanan

Even-Odd Rule 详细说明

Picture shows the effects of applying the even-odd rule to complex paths. For the five-pointed star, the rule considers the triangular points to be inside the path, but not the pentagon in the center. For the two concentric circles, only the "doughnut" shape between the two circles is considered inside, regardless of the directions in which the circles are drawn.

[PICTURE evenodd.bmp]

 

Se även: Clip