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

void SkPaint::setTextAlign ( Align  align  ) 

Set the paint's text alignment.

align set the paint's Align value for drawing text.

Definition at line 260 of file SkPaint.cpp.

    if ((unsigned)align < kAlignCount)
        fTextAlign = SkToU8(align);
#ifdef SK_DEBUG
        SkDebugf("SkPaint::setTextAlign(%d) out of range\n", align);

Generated by  Doxygen 1.6.0   Back to index