THPDFPage.EoClip

THPDFPage

 

Горе  Предишна  Следваща

Closes path cliping.

 

Delphi syntax:

procedure EoClip;

 

C++ syntax:

void __fastcall EoClip( void );

 

Описание

Променя текущия clipping path, като го пресича с текущия path и използва even-odd rule, за да определи кои региони лежат вътре в clipping path-а

Even-Odd Rule 详细说明

Изображението показва ефекта от прилагането на правилото even-odd към сложни path-ове. 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