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

void wxPdfDocument::SetFillColor ( double  cyan,
double  magenta,
double  yellow,
double  black 
) [virtual]

Defines the color used for all filling operations.

Affected filling operations are: filled rectangles and cell backgrounds. 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.

Parameters:
cyanindicates the cyan level. Value between 0 and 100
magentaindicates the magenta level. Value between 0 and 100
yellowindicates the yellow level. Value between 0 and 100
blackindicates the black level. Value between 0 and 100
See also:
SetDrawColor(), SetTextColor(), Rect(), Cell(), MultiCell()

Definition at line 366 of file pdfcolor.cpp.

References SetFillColor().

{
  SetFillColor(wxPdfColour(cyan, magenta, yellow, black));
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index