THPDFPage.EoClip

THPDFPage

 

Atas  Sebelumnya  Berikutnya

Menutup pemotongan path

 

Sintaks Delphi:

procedure EoClip;

 

Sintaks C++:

void __fastcall EoClip( void );

 

Deskripsi

Ubah path pemotongan saat ini dengan memotongnya terhadap path saat ini, menggunakan aturan even-odd untuk menentukan wilayah mana yang berada di dalam path pemotongan

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]

 

Lihat juga: Clip