Searched defs:topLeftRadius (Results 1 - 2 of 2) sorted by relevance
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | Path.cpp | 155 void Path::addRoundedRect(const FloatRect& rect, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius) argument 160 if (rect.width() < topLeftRadius.width() + topRightRadius.width() 162 || rect.height() < topLeftRadius.height() + bottomLeftRadius.height() 169 moveTo(FloatPoint(rect.x() + topLeftRadius.width(), rect.y())); 183 addLineTo(FloatPoint(rect.x(), rect.y() + topLeftRadius.height())); 184 addBezierCurveTo(FloatPoint(rect.x(), rect.y() + topLeftRadius.height() * gCircleControlPoint), 185 FloatPoint(rect.x() + topLeftRadius.width() * gCircleControlPoint, rect.y()), 186 FloatPoint(rect.x() + topLeftRadius.width(), rect.y()));
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | ContextShadowCairo.cpp | 133 void ContextShadow::drawRectShadowWithoutTiling(GraphicsContext* context, const IntRect& shadowRect, const IntSize& topLeftRadius, const IntSize& topRightRadius, const IntSize& bottomLeftRadius, const IntSize& bottomRightRadius, float alpha) argument 141 path.addRoundedRect(shadowRect, topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius); 190 void ContextShadow::drawRectShadow(GraphicsContext* context, const IntRect& rect, const IntSize& topLeftRadius, const IntSize& topRightRadius, const IntSize& bottomLeftRadius, const IntSize& bottomRightRadius) argument 196 int internalShadowWidth = radiusTwice + max(topLeftRadius.width(), bottomLeftRadius.width()) + 198 int internalShadowHeight = radiusTwice + max(topLeftRadius.height(), topRightRadius.height()) + 207 drawRectShadowWithoutTiling(context, rect, topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius, context->getAlpha()); 232 drawRectShadowWithoutTiling(context, rect, topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius, context->getAlpha()); 251 path.addRoundedRect(templateRect, topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius); 275 path.addRoundedRect(shadowRect, topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius); 284 FloatRect tileRect = FloatRect(radiusTwice + topLeftRadius [all...] |
Completed in 58 milliseconds