THPDFPage.EoFill

THPDFPage

Sus  Anterior  Următor

Umple calea

 

Delphi syntax:

procedure EoFill;

 

C++ syntax:

void __fastcall EoFill ( void );

 

Descriere

Umple calea, folosind regula even-odd pentru a determina regiunea care va fi umplută

Even-Odd Rule 详细说明

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.

[PICTURE evenodd.bmp]