HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THPDFPage.EoFillAndStroke

THPDFPage

 

Top  Previous  Next

Fill and then stroke the path,

 

Delphi syntax:

procedure EoFillAndStroke;

 

C++ syntax:

void __fastcall EoFillAndStroke(void);

 

Description

Fill and then stroke the path, using the even-odd rule to determine the region to fill.

Even-Odd Rule sample diagram

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.
Even-odd rule example diagram

 

Copyright©2007-2025 losLab.com