Searched refs:strokeThickness (Results 1 - 24 of 24) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/android/context/
H A DPlatformGraphicsContext.cpp98 , strokeThickness(0) // Same as default in GraphicsContextPrivate.h
116 , strokeThickness(other.strokeThickness)
379 m_state->strokeThickness = f;
434 float width = m_state->strokeThickness;
H A DPlatformGraphicsContextSkia.cpp434 setrectForUnderline(&r, m_state->strokeThickness, pt, 0, width);
448 setrectForUnderline(&r, m_state->strokeThickness, pt, 0, width);
577 paint.setStrokeWidth(SkFloatToScalar(m_state->strokeThickness));
H A DPlatformGraphicsContext.h173 float strokeThickness; member in class:WebCore::PlatformGraphicsContext::State
H A DPlatformGraphicsContextRecording.cpp845 float width = m_state->strokeThickness;
853 FloatRect bounds(pt.x(), pt.y(), width, m_state->strokeThickness);
860 FloatRect bounds(pt.x(), pt.y(), width, m_state->strokeThickness);
1010 bounds.inflate(std::min(1.0f, m_state->strokeThickness));
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DGraphicsContextWx.cpp201 m_data->context->SetPen(wxPen(strokeColor(), strokeThickness(), strokeStyleToWxPenStyle(strokeStyle())));
214 m_data->context->SetPen(wxPen(strokeColor(), strokeThickness(), strokeStyleToWxPenStyle(strokeStyle())));
224 m_data->context->SetPen(wxPen(strokeColor(), strokeThickness(), strokeStyleToWxPenStyle(strokeStyle())));
233 m_data->context->SetPen(wxPen(strokeColor(), strokeThickness(), strokeStyleToWxPenStyle(strokeStyle())));
248 m_data->context->SetPen(wxPen(strokeColor(), strokeThickness(), strokeStyleToWxPenStyle(strokeStyle())));
345 m_data->context->SetPen(wxPen(strokeColor(), strokeThickness(), wxSOLID));
462 m_data->context->SetPen(wxPen(color, strokeThickness(), strokeStyleToWxPenStyle(strokeStyle())));
/external/webkit/Source/WebCore/platform/graphics/openvg/
H A DPainterOpenVG.cpp119 float strokeThickness; member in struct:WebCore::PlatformPainterState
139 , strokeThickness(0.0)
186 strokeThickness = other->strokeThickness;
204 vgSetf(VG_STROKE_LINE_WIDTH, strokeThickness);
555 float PainterOpenVG::strokeThickness() const function in class:WebCore::PainterOpenVG
558 return m_state->strokeThickness;
566 m_state->strokeThickness = thickness;
939 if (fmod(m_state->strokeThickness + 0.5, 2.0) < 1.0)
H A DPainterOpenVG.h78 float strokeThickness() const;
H A DGraphicsContextOpenVG.cpp321 float oldThickness = m_data->strokeThickness();
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DFontCairo.cpp147 if (context->textDrawingMode() & TextModeStroke && context->strokeThickness() < 2 * offset) {
171 cairo_set_line_width(cr, context->strokeThickness());
H A DGraphicsContextCairo.cpp293 float width = strokeThickness();
393 cairo_set_line_width(cr, strokeThickness());
427 float width = strokeThickness();
507 cairo_set_line_width(cr, strokeThickness());
817 void GraphicsContext::setPlatformStrokeThickness(float strokeThickness) argument
822 cairo_set_line_width(platformContext()->cr(), strokeThickness);
/external/webkit/Source/WebCore/platform/graphics/
H A DGraphicsContext.h163 : strokeThickness(0)
197 float strokeThickness; member in struct:WebCore::GraphicsContextState
237 float strokeThickness() const;
H A DGraphicsContext.cpp117 m_state.strokeThickness = thickness;
182 float GraphicsContext::strokeThickness() const function in class:WebCore::GraphicsContext
184 return m_state.strokeThickness;
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DFontQt.cpp101 textStrokePen = QPen(brush, ctx->strokeThickness());
105 textStrokePen = QPen(brush, ctx->strokeThickness());
107 textStrokePen = QPen(QColor(ctx->strokeColor()), ctx->strokeThickness());
H A DGraphicsContextQt.cpp348 float width = strokeThickness();
883 float strokeWidth = strokeThickness();
1026 float previousStrokeThickness = strokeThickness();
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DGraphicsContextCG.cpp193 float width = strokeThickness();
316 if (paintingDisabled() || strokeStyle() == NoStroke || strokeThickness() <= 0.0f)
345 float width = strokeThickness();
613 float lineWidth = strokeThickness();
1012 m_state.strokeThickness = lineWidth;
1237 float thickness = max(strokeThickness(), 0.5f);
/external/webkit/Source/WebCore/rendering/
H A DInlineTextBox.h39 void updateGraphicsContext(GraphicsContext*, const Color& fillColor, const Color& strokeColor, float strokeThickness, ColorSpace);
H A DRenderMediaControlsChromium.cpp221 float originalThickness = context->strokeThickness();
H A DInlineTextBox.cpp320 void updateGraphicsContext(GraphicsContext* context, const Color& fillColor, const Color& strokeColor, float strokeThickness, ColorSpace colorSpace) argument
323 if (strokeThickness > 0) {
337 if (strokeThickness != context->strokeThickness())
338 context->setStrokeThickness(strokeThickness);
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DGraphicsContextWinCE.cpp652 pen = createPen(strokeColor(), strokeThickness(), strokeStyle());
683 lineRect.setHeight(lineRect.height() + strokeThickness());
691 OwnPtr<HPEN> pen = createPen(strokeColor(), strokeThickness(), strokeStyle());
727 pen = createPen(strokeColor(), strokeThickness(), strokeStyle());
798 OwnPtr<HPEN> pen = createPen(strokeColor(), strokeThickness(), strokeStyle());
909 pen = createPen(strokeColor(), strokeThickness(), strokeStyle());
1050 void GraphicsContext::setPlatformStrokeThickness(float strokeThickness) argument
1097 OwnPtr<HPEN> pen = createPen(strokeColor(), strokeThickness(), strokeStyle());
1374 OwnPtr<HPEN> pen = createPen(strokeColor(), strokeThickness(), strokeStyle());
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DGraphicsContextSkia.cpp575 int width = roundf(strokeThickness());
700 int thickness = SkMax32(static_cast<int>(strokeThickness()), 1);
1182 paint.setStrokeWidth(WebCoreFloatToSkScalar(strokeThickness()));
/external/webkit/Source/WebCore/platform/graphics/gtk/
H A DFontGtk.cpp315 cairo_set_line_width(cr, context->strokeThickness());
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGInlineTextBox.cpp365 context->setStrokeThickness(context->strokeThickness() * scalingFactor);
/external/webkit/Source/WebCore/svg/
H A DSVGFont.cpp552 context->setStrokeThickness(context->strokeThickness() * textRenderer->scalingFactor());
/external/webkit/Source/WebCore/html/canvas/
H A DCanvasRenderingContext2D.cpp1901 textRect.inflate(c->strokeThickness() / 2);
1921 maskImageContext->setStrokeThickness(c->strokeThickness());

Completed in 6337 milliseconds