THPDFPage.EoFill

THPDFPage

Atas  Sebelumnya  Berikutnya

Isi path

 

Sintaks Delphi:

procedure EoFill;

 

Sintaks C++:

void __fastcall EoFill ( void );

 

Deskripsi

Isi path dengan menggunakan aturan even-odd untuk menentukan wilayah yang akan diisi

Even-Odd Rule 详细说明

Gambar menunjukkan efek penerapan aturan even-odd pada path kompleks. 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]