Searched defs:convertToLength (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
H A DBasicShapeFunctions.cpp114 static Length convertToLength(const StyleResolverState& state, CSSPrimitiveValue* value) function in namespace:WebCore
116 return value->convertToLength<FixedIntegerConversion | FixedFloatConversion | PercentConversion>(state.style(), state.rootElementStyle(), state.style()->effectiveZoom());
128 rect->setX(convertToLength(state, rectValue->x()));
129 rect->setY(convertToLength(state, rectValue->y()));
130 rect->setWidth(convertToLength(state, rectValue->width()));
131 rect->setHeight(convertToLength(state, rectValue->height()));
133 Length radiusX = convertToLength(state, rectValue->radiusX());
136 rect->setCornerRadiusY(convertToLength(state, rectValue->radiusY()));
150 circle->setCenterX(convertToLength(state, circleValue->centerX()));
151 circle->setCenterY(convertToLength(stat
[all...]
H A DCSSPrimitiveValueMappings.h4329 template<int supported> Length CSSPrimitiveValue::convertToLength(const RenderStyle* style, const RenderStyle* rootStyle, double multiplier, bool computingFontSize) function in class:WebCore::CSSPrimitiveValue

Completed in 125 milliseconds