HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THPDFPage.EoClip

THPDFPage

 

Top  Previous  Next

Closes path cliping.

 

Delphi syntax:

procedure EoClip;

 

C++ syntax:

void __fastcall EoClip( void );

 

Description

Modify the current clipping path by intersecting it with the current path, using the even-odd rule to determine which regions lie inside the clipping path.

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

Copyright©2007-2025 losLab.com