Home
last modified time | relevance | path

Searched refs:strokeThickness (Results 1 – 25 of 27) sorted by relevance

12

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

12