THPDFPage.EoFillAndStroke

THPDFPage

 

Atas  Sebelumnya  Berikutnya

Isi lalu gores path

 

Sintaks Delphi:

procedure EoFillAndStroke;

 

Sintaks C++:

void __fastcall EoFillAndStroke(void);

 

Deskripsi

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

Even-Odd Rule sample diagram

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