Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

void wxPdfDocument::ClosePath ( int  style = wxPDF_STYLE_NOOP ) [virtual]

Close the clipping path.

A clipping area restricts the display and prevents any elements from showing outside of it.

styleStyle of rendering. Possible values are:

  • wxPDF_STYLE_NOOP (default)
  • wxPDF_STYLE_DRAW: draw the outline of the clipping path
  • wxPDF_STYLE_FILL: fill the area enclosed by the clipping path
  • wxPDF_STYLE_FILLDRAW: draw and fill

Definition at line 1515 of file pdfgraphics.cpp.

References OutAscii().

Referenced by ClippingPath().

  wxString op;
  switch (style)
    case wxPDF_STYLE_DRAW:     op = _T("S"); break;
    case wxPDF_STYLE_FILL:     op = _T("F"); break;
    case wxPDF_STYLE_FILLDRAW: op = _T("B"); break;
    default:                   op = _T("n"); break;
  OutAscii(wxString(_T("h W ")) + op);

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index