THPDFPage.EoClip

THPDFPage

 

Viršus  Ankstesnis  Kitas

Closes path cliping.

 

Delphi syntax:

procedure EoClip;

 

C++ syntax:

void __fastcall EoClip( void );

 

Aprašas

Modifikuoja dabartinį kirpimo kelią jį kertant su dabartiniu keliu, naudojant even-odd taisyklę nustatyti, kurios sritys yra kirpimo kelio viduje

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]

 

See also: Clip