PDFPAGE_EoFillAndStroke
IPDFDocument3 :: PDF page methods

See Also
Collapse All

This method fills a path with color and strokes the path using an even-odd rule.

Syntax

HRESULT PDFPAGE_EoFillAndStroke ()
Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

The method is used to fill a path with the current fill color and then stroke the path with the current stroke color. The PDF graphics state maintains separate colors for fill and stroke operations; thus these combined operators are available. This method uses the even-odd rule for defining the inside path.

The fill color may be set using methods PDFPAGE_SetColorFill, PDFPAGE_SetCMYKColorFill, PDFPAGE_SetGrayFill, PDFPAGE_SetRGBColorFill. The stroke color may be set using methods PDFPAGE_SetColorStroke, PDFPAGE_SetCMYKColorStroke, PDFPAGE_SetGrayStroke, PDFPAGE_SetRGBColorStroke. The current line width may be set using method PDFPAGE_SetLineWidth.

Equivalent in new interface: IPDFDocument4::AlternateFillAndStroke.

See Also

Reference