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

void wxPdfDocument::SetDrawColor ( const unsigned char  red,
const unsigned char  green,
const unsigned char  blue 
) [virtual]

Defines the color used for all drawing operations.

Affected drawing operations are: lines, rectangles and cell borders. It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.

redindicates the red level. Value between 0 and 255
greenindicates the green level. Value between 0 and 255
blueindicates the blue level. Value between 0 and 255
See also:
SetFillColor(), SetTextColor(), Line(), Rect(), Cell(), MultiCell()

Definition at line 278 of file pdfcolor.cpp.

References SetDrawColor().

  SetDrawColor(wxColour(red, green, blue));

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index