HomeSort by relevance Sort by last modified time
    Searched refs:lengthContext (Results 1 - 25 of 25) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGRect.cpp 56 SVGLengthContext lengthContext(rect);
57 FloatSize boundingBoxSize(rect->width()->currentValue()->value(lengthContext), rect->height()->currentValue()->value(lengthContext));
66 if (rect->rx()->currentValue()->value(lengthContext) > 0 || rect->ry()->currentValue()->value(lengthContext) > 0 || hasNonScalingStroke()) {
73 m_fillBoundingBox = FloatRect(FloatPoint(rect->x()->currentValue()->value(lengthContext), rect->y()->currentValue()->value(lengthContext)), boundingBoxSize);
SVGPathData.cpp 43 SVGLengthContext lengthContext(element);
44 float r = circle->r()->currentValue()->value(lengthContext);
46 path.addEllipse(FloatRect(circle->cx()->currentValue()->value(lengthContext) - r, circle->cy()->currentValue()->value(lengthContext) - r, r * 2, r * 2));
53 SVGLengthContext lengthContext(element);
54 float rx = ellipse->rx()->currentValue()->value(lengthContext);
57 float ry = ellipse->ry()->currentValue()->value(lengthContext);
63 path.addEllipse(FloatRect(ellipse->cx()->currentValue()->value(lengthContext) - rx, ellipse->cy()->currentValue()->value(lengthContext) - ry, rx * 2, ry * 2));
70 SVGLengthContext lengthContext(element)
    [all...]
RenderSVGViewportContainer.cpp 66 SVGLengthContext lengthContext(element);
67 m_viewport = FloatRect(svg->x()->currentValue()->value(lengthContext), svg->y()->currentValue()->value(lengthContext), svg->width()->currentValue()->value(lengthContext), svg->height()->currentValue()->value(lengthContext));
RenderSVGEllipse.cpp 84 SVGLengthContext lengthContext(&circle);
85 float radius = circle.r()->currentValue()->value(lengthContext);
87 m_center = FloatPoint(circle.cx()->currentValue()->value(lengthContext), circle.cy()->currentValue()->value(lengthContext));
93 SVGLengthContext lengthContext(&ellipse);
94 m_radii = FloatSize(ellipse.rx()->currentValue()->value(lengthContext), ellipse.ry()->currentValue()->value(lengthContext));
95 m_center = FloatPoint(ellipse.cx()->currentValue()->value(lengthContext), ellipse.cy()->currentValue()->value(lengthContext));
SVGTextLayoutEngineBaseline.h 40 float calculateBaselineShift(const SVGRenderStyle&, SVGElement* lengthContext) const;
RenderSVGForeignObject.cpp 95 SVGLengthContext lengthContext(foreign);
96 FloatPoint viewportLocation(foreign->x()->currentValue()->value(lengthContext), foreign->y()->currentValue()->value(lengthContext));
97 m_viewport = FloatRect(viewportLocation, FloatSize(foreign->width()->currentValue()->value(lengthContext), foreign->height()->currentValue()->value(lengthContext)));
RenderSVGResourceMarker.cpp 102 SVGLengthContext lengthContext(marker);
103 return FloatPoint(marker->refX()->currentValue()->value(lengthContext), marker->refY()->currentValue()->value(lengthContext));
178 SVGLengthContext lengthContext(marker);
179 float w = marker->markerWidth()->currentValue()->value(lengthContext);
180 float h = marker->markerHeight()->currentValue()->value(lengthContext);
RenderSVGTransformableContainer.cpp 90 SVGLengthContext lengthContext(useElement);
92 useElement->x()->currentValue()->value(lengthContext),
93 useElement->y()->currentValue()->value(lengthContext));
SVGTextLayoutAttributesBuilder.cpp 164 static inline void updateCharacterData(unsigned i, float& lastRotation, SVGCharacterData& data, const SVGLengthContext& lengthContext, const SVGLengthList* xList, const SVGLengthList* yList, const SVGLengthList* dxList, const SVGLengthList* dyList, const SVGNumberList* rotateList)
167 data.x = xList->at(i)->value(lengthContext);
169 data.y = yList->at(i)->value(lengthContext);
171 data.dx = dxList->at(i)->value(lengthContext);
173 data.dy = dyList->at(i)->value(lengthContext);
197 SVGLengthContext lengthContext(position.element);
210 updateCharacterData(i, lastRotation, data, lengthContext, xListPtr, yListPtr, dxListPtr, dyListPtr, rotateListPtr);
215 updateCharacterData(i, lastRotation, it->value, lengthContext, xListPtr, yListPtr, dxListPtr, dyListPtr, rotateListPtr);
RenderSVGImage.cpp 95 SVGLengthContext lengthContext(image);
96 m_objectBoundingBox = FloatRect(image->x()->currentValue()->value(lengthContext), image->y()->currentValue()->value(lengthContext), image->width()->currentValue()->value(lengthContext), image->height()->currentValue()->value(lengthContext));
SVGRenderTreeAsText.cpp 290 SVGLengthContext lengthContext(shape.element());
291 double dashOffset = svgStyle.strokeDashOffset()->value(lengthContext);
292 double strokeWidth = svgStyle.strokeWidth()->value(lengthContext);
299 dashArray.append(it->value(lengthContext));
343 SVGLengthContext lengthContext(svgElement);
347 writeNameValuePair(ts, "x", element.x()->currentValue()->value(lengthContext));
348 writeNameValuePair(ts, "y", element.y()->currentValue()->value(lengthContext));
349 writeNameValuePair(ts, "width", element.width()->currentValue()->value(lengthContext));
350 writeNameValuePair(ts, "height", element.height()->currentValue()->value(lengthContext));
353 writeNameValuePair(ts, "x1", element.x1()->currentValue()->value(lengthContext));
    [all...]
SVGRenderSupport.cpp 321 SVGLengthContext lengthContext(toSVGElement(object->node()));
322 context->setStrokeThickness(svgStyle.strokeWidth()->value(lengthContext));
335 dashArray.append(it->value(lengthContext));
337 context->setLineDash(dashArray, svgStyle.strokeDashOffset()->value(lengthContext));
350 SVGLengthContext lengthContext(toSVGElement(object->node()));
351 strokeData->setThickness(svgStyle.strokeWidth()->value(lengthContext));
363 dashArray.append(dashes->at(i)->value(lengthContext));
365 strokeData->setLineDash(dashArray, svgStyle.strokeDashOffset()->value(lengthContext));
SVGTextLayoutEngineBaseline.cpp 45 SVGLengthContext lengthContext(contextElement);
46 return baselineShiftValueLength->value(lengthContext);
SVGTextChunkBuilder.cpp 121 SVGLengthContext lengthContext(textContentElement);
123 desiredTextLength = textContentElement->textLength()->currentValue()->value(lengthContext);
SVGTextLayoutEngine.cpp 151 SVGLengthContext lengthContext(textContentElement);
210 SVGLengthContext lengthContext(textContentElement);
213 desiredTextLength = textContentElement->textLength()->currentValue()->value(lengthContext);
431 SVGElement* lengthContext = toSVGElement(text.parent()->node());
453 float baselineShift = baselineLayout.calculateBaselineShift(svgStyle, lengthContext);
RenderSVGShape.cpp 417 SVGLengthContext lengthContext(element());
418 return style()->svgStyle().strokeWidth()->value(lengthContext);
RenderSVGText.cpp 483 SVGLengthContext lengthContext(toSVGElement(node()));
484 strokeBoundaries.inflate(svgStyle.strokeWidth()->value(lengthContext));
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGLengthTearOff.cpp 62 SVGLengthContext lengthContext(contextElement());
63 return target()->value(lengthContext, es);
73 SVGLengthContext lengthContext(contextElement());
74 target()->setValue(value, lengthContext, es);
137 SVGLengthContext lengthContext(contextElement());
138 target()->convertToSpecifiedUnits(toSVGLengthType(unitType), lengthContext, exceptionState);
SVGLengthContext.cpp 60 SVGLengthContext lengthContext(context);
61 return FloatRect(x->value(lengthContext), y->value(lengthContext), width->value(lengthContext), height->value(lengthContext));
64 SVGLengthContext lengthContext(context, viewport);
66 x->value(lengthContext) + viewport.x(),
67 y->value(lengthContext) + viewport.y(),
68 width->value(lengthContext),
69 height->value(lengthContext));
    [all...]
SVGLengthList.cpp 127 SVGLengthContext lengthContext(contextElement);
129 at(i)->setValue(at(i)->value(lengthContext) + otherList->at(i)->value(lengthContext), lengthContext, ASSERT_NO_EXCEPTION);
143 SVGLengthContext lengthContext(contextElement);
154 float animatedNumber = at(i)->value(lengthContext);
160 effectiveFrom = fromList->at(i)->value(lengthContext);
162 float effectiveTo = toList->at(i)->value(lengthContext);
163 float effectiveToAtEnd = i < toAtEndOfDurationListSize ? toAtEndOfDurationList->at(i)->value(lengthContext) : 0;
167 at(i)->setValue(animatedNumber, lengthContext, ASSERT_NO_EXCEPTION)
    [all...]
SVGLength.cpp 442 SVGLengthContext lengthContext(contextElement);
444 setValue(value(lengthContext) + toSVGLength(other)->value(lengthContext), lengthContext, ASSERT_NO_EXCEPTION);
453 SVGLengthContext lengthContext(contextElement);
454 float animatedNumber = value(lengthContext, IGNORE_EXCEPTION);
455 animationElement->animateAdditiveNumber(percentage, repeatCount, fromLength->value(lengthContext, IGNORE_EXCEPTION), toLength->value(lengthContext, IGNORE_EXCEPTION), toAtEndOfDurationLength->value(lengthContext, IGNORE_EXCEPTION), animatedNumber);
459 setValue(animatedNumber, lengthContext, ASSERT_NO_EXCEPTION)
    [all...]
SVGSVGElement.cpp 487 SVGLengthContext lengthContext(this);
488 transform.translate(m_x->currentValue()->value(lengthContext), m_y->currentValue()->value(lengthContext));
658 SVGLengthContext lengthContext(this);
659 return Length(width()->currentValue()->value(lengthContext), Fixed);
667 SVGLengthContext lengthContext(this);
668 return Length(height()->currentValue()->value(lengthContext), Fixed);
SVGUseElement.cpp 436 SVGLengthContext lengthContext(this);
437 path.translate(FloatSize(m_x->currentValue()->value(lengthContext), m_y->currentValue()->value(lengthContext)));
  /external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/
SVGFEImage.cpp 101 SVGLengthContext lengthContext(contextNode);
103 if (lengthContext.determineViewport(viewportSize)) {
160 SVGLengthContext lengthContext(contextNode);
165 if (lengthContext.determineViewport(viewportSize))
199 SVGLengthContext lengthContext(contextNode);
204 if (lengthContext.determineViewport(viewportSize))
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSCursorImageValue.cpp 101 SVGLengthContext lengthContext(0);
103 float x = roundf(cursorElement->x()->currentValue()->value(lengthContext));
106 float y = roundf(cursorElement->y()->currentValue()->value(lengthContext));

Completed in 163 milliseconds