|
THPDFPage.ClosePathFillAndStroke
|
맨 위 이전 다음 |
|
Close, fill and stroke current path.
Delphi 구문: procedure ClosePathFillAndStroke;
C++ 구문: void __fastcall ClosePathFillAndStroke( void );
설명 Nonzero winding number rule을 사용해 fill할 region을 결정하면서 path를 close하고 fill한 뒤 stroke합니다 Nonzero Winding Number Rule h/&gh/4fFor simple convex paths, the nonzero winding number rule defines the inside and outside as one would intuitively expect. The more interesting cases are those involving complex or self-intersecting paths like the ones shown in Picture For a path consisting of a five-pointed star, drawn with five connected straight line segments intersecting each other, the rule considers the inside to be the entire area enclosed by the star, including the pentagon in the center. For a path composed of two concentric circles, the areas enclosed by both circles are considered to be inside, provided that both are drawn in the same direction. If the circles are drawn in opposite directions, only the "doughnut" shape between them is inside, according to the rule; the "doughnut hole" is outside.
[PICTURE nozerorul.bmp]
Code Example
|