THPDFPage.EoFillAndStroke

THPDFPage

 

Sus  Anterior  Următor

Umple apoi trasează conturul căii

 

Delphi syntax:

procedure EoFillAndStroke;

 

C++ syntax:

void __fastcall EoFillAndStroke(void);

 

Descriere

Umple apoi trasează conturul căii, folosind regula even-odd pentru a determina regiunea care va fi umplută

Even-Odd Rule sample diagram

Imaginea arată efectele aplicării regulii even-odd asupra căilor complexe. 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