Source/WebCore/platform/graphics/skia/PlatformContextSkia.cpp
PlatformContextSkia::State::State()
    : m_alpha(1)
    , m_xferMode(SkXfermode::kSrcOver_Mode)
    , m_useAntialiasing(true)
    , m_looper(0)
    , m_fillColor(0xFF000000)
    , m_fillShader(0)
    , m_strokeStyle(SolidStroke)
    , m_strokeColor(Color::black)
    , m_strokeShader(0)
    , m_strokeThickness(0)
    , m_dashRatio(3)
    , m_miterLimit(4)
    , m_lineCap(SkPaint::kDefault_Cap)
    , m_lineJoin(SkPaint::kDefault_Join)
    , m_dash(0)
    , m_textDrawingMode(TextModeFill)
    , m_interpolationQuality(InterpolationHigh)
    , m_canvasClipApplied(false)
{
}
// Note: Keep theses default values in sync with GraphicsContextState.
Keep theses default values in sync with GraphicsContextState.
Keep theses default values in sync with GraphicsContextState .
PlatformContextSkia::State::State()
    : m_alpha(1)
    , m_xferMode(SkXfermode::kSrcOver_Mode)
    , m_useAntialiasing(true)
    , m_looper(0)
    , m_fillColor(0xFF000000)
    , m_fillShader(0)
    , m_strokeStyle(SolidStroke)
    , m_strokeColor(Color::black)
    , m_strokeShader(0)
    , m_strokeThickness(0)
    , m_dashRatio(3)
    , m_miterLimit(4)
    , m_lineCap(SkPaint::kDefault_Cap)
    , m_lineJoin(SkPaint::kDefault_Join)
    , m_dash(0)
    , m_textDrawingMode(TextModeFill)
    , m_interpolationQuality(InterpolationHigh)
    , m_canvasClipApplied(false)
{
}
PlatformContextSkia :: State :: State ( ) : m_alpha ( 1 ) , m_xferMode ( SkXfermode :: kSrcOver_Mode ) , m_useAntialiasing ( true ) , m_looper ( 0 ) , m_fillColor ( 0xFF000000 ) , m_fillShader ( 0 ) , m_strokeStyle ( SolidStroke ) , m_strokeColor ( Color :: black ) , m_strokeShader ( 0 ) , m_strokeThickness ( 0 ) , m_dashRatio ( 3 ) , m_miterLimit ( 4 ) , m_lineCap ( SkPaint :: kDefault_Cap ) , m_lineJoin ( SkPaint :: kDefault_Join ) , m_dash ( 0 ) , m_textDrawingMode ( TextModeFill ) , m_interpolationQuality ( InterpolationHigh ) , m_canvasClipApplied ( false ) { }
Note: Keep theses default values in sync with GraphicsContextState.
Note : Keep theses default values in sync with GraphicsContextState .