HotPDF Delphi PDF Component Developer Guide | ![]() |
THPDFPage.Fill
|
Top Previous Next |
Fill the path,
Delphi syntax: procedure Fill;
C++ syntax: void __fastcall Fill ( void );
Description Fill the path, using the nonzero winding number rule to determine the region to fill. DescriptionThe nonzero winding rule is a fill rule that determines whether a point is inside a region by drawing a ray from that point to infinity in any direction and examining the places where a segment of the path crosses the ray. Starting with a count of zero, add one each time a path segment crosses the ray from left to right and subtract one each time a path segment crosses the ray from right to left. After counting the crossings, if the result is zero then the point is outside the path. Otherwise, it is inside.
Code Example
|
Copyright©2007-2025 losLab.com |