Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

void SkPaint::setStyle ( Style  style  ) 

Set the paint's style, used for controlling how primitives' geometries are interpreted (except for drawBitmap, which always assumes Fill).

style The new style to set in the paint

Definition at line 193 of file SkPaint.cpp.

    if ((unsigned)style < kStyleCount)
        fStyle = style;
#ifdef SK_DEBUG
        SkDebugf("SkPaint::setStyle(%d) out of range\n", style);

Generated by  Doxygen 1.6.0   Back to index