Searched refs:boxWidth (Results 1 - 10 of 10) sorted by relevance

/macosx-10.10/WebCore-7600.1.25/rendering/shapes/
H A DShape.cpp98 float boxWidth = horizontalWritingMode ? logicalBoxSize.width() : logicalBoxSize.height(); local
106 float centerX = floatValueForCenterCoordinate(circle->centerX(), boxWidth);
108 float radius = circle->floatValueForRadiusInBox(boxWidth, boxHeight);
117 float centerX = floatValueForCenterCoordinate(ellipse->centerX(), boxWidth);
119 float radiusX = ellipse->floatValueForRadiusInBox(ellipse->radiusX(), centerX, boxWidth);
135 floatValueForLength(values.at(i), boxWidth),
146 float left = floatValueForLength(inset.left(), boxWidth);
150 std::max<float>(boxWidth - left - floatValueForLength(inset.right(), boxWidth), 0),
154 FloatSize boxSize(boxWidth, boxHeigh
[all...]
/macosx-10.10/WebCore-7600.1.25/rendering/mathml/
H A DRenderMathMLMenclose.cpp112 int boxWidth = rect.width(); local
124 info.context->drawLine(IntPoint(left, top + boxHeight), IntPoint(left + boxWidth, top));
126 info.context->drawLine(IntPoint(left, top), IntPoint(left + boxWidth, top + boxHeight));
130 info.context->drawLine(IntPoint(left, top + halfboxHeight), IntPoint(left + boxWidth, top + halfboxHeight));
149 info.context->drawLine(IntPoint(left, top), IntPoint(left + boxWidth + midxPoint, top));
/macosx-10.10/WebCore-7600.1.25/rendering/style/
H A DBasicShapes.cpp91 float BasicShapeCircle::floatValueForRadiusInBox(float boxWidth, float boxHeight) const argument
94 return floatValueForLength(m_radius.value(), sqrtf((boxWidth * boxWidth + boxHeight * boxHeight) / 2));
96 float centerX = floatValueForCenterCoordinate(m_centerX, boxWidth);
100 return std::min(std::min(centerX, boxWidth - centerX), std::min(centerY, boxHeight - centerY));
103 return std::max(std::max(centerX, boxWidth - centerX), std::max(centerY, boxHeight - centerY));
H A DBasicShapes.h154 float floatValueForRadiusInBox(float boxWidth, float boxHeight) const;
/macosx-10.10/tcl-105/tk/tk/win/
H A DtkWinButton.c73 DWORD boxWidth; /* Width of each sub-image. */ member in struct:ThreadSpecificData
156 tsdPtr->boxWidth = tsdPtr->boxesPtr->biWidth / 4;
673 xSrc = (butPtr->flags & (SELECTED|TRISTATED)) ? tsdPtr->boxWidth : 0;
675 xSrc += tsdPtr->boxWidth*2;
716 StretchDIBits(dc, x, y, (int)tsdPtr->boxWidth, (int)tsdPtr->boxHeight,
717 xSrc, ySrc, (int)tsdPtr->boxWidth, (int)tsdPtr->boxHeight,
/macosx-10.10/tcl-105/tk84/tk/win/
H A DtkWinButton.c73 DWORD boxWidth ; /* Width of each sub-image. */ member in struct:ThreadSpecificData
153 tsdPtr->boxWidth = tsdPtr->boxesPtr->biWidth / 4;
634 xSrc = (butPtr->flags & SELECTED) ? tsdPtr->boxWidth : 0;
636 xSrc += tsdPtr->boxWidth*2;
677 StretchDIBits(dc, x, y, tsdPtr->boxWidth, tsdPtr->boxHeight,
678 xSrc, ySrc, tsdPtr->boxWidth, tsdPtr->boxHeight,
/macosx-10.10/tcl-105/tk/tk/generic/
H A DtkCanvArc.c1466 double boxWidth, boxHeight;
1508 boxWidth = arcPtr->bbox[2] - arcPtr->bbox[0];
1518 arcPtr->center1[0] = vertex[0] + cos1*boxWidth/2.0;
1520 arcPtr->center2[0] = vertex[0] + cos2*boxWidth/2.0;
1536 * slope of the line from arcPtr->center1 to corner1 is (boxWidth*sin1)
1553 if (((boxWidth*sin1) == 0.0) && ((boxHeight*cos1) == 0.0)) {
1556 angle = atan2(boxWidth*sin1, boxHeight*cos1);
1560 if (((boxWidth*sin2) == 0.0) && ((boxHeight*cos2) == 0.0)) {
1563 angle = atan2(boxWidth*sin2, boxHeight*cos2);
1455 double boxWidth, boxHeight; local
/macosx-10.10/tcl-105/tk84/tk/generic/
H A DtkCanvArc.c1498 double boxWidth, boxHeight;
1542 boxWidth = arcPtr->bbox[2] - arcPtr->bbox[0];
1552 arcPtr->center1[0] = vertex[0] + cos1*boxWidth/2.0;
1554 arcPtr->center2[0] = vertex[0] + cos2*boxWidth/2.0;
1571 * is (boxWidth*sin1)/(boxHeight*cos1), and similarly for arcPtr->center2
1588 if (((boxWidth*sin1) == 0.0) && ((boxHeight*cos1) == 0.0)) {
1591 angle = atan2(boxWidth*sin1, boxHeight*cos1);
1595 if (((boxWidth*sin2) == 0.0) && ((boxHeight*cos2) == 0.0)) {
1598 angle = atan2(boxWidth*sin2, boxHeight*cos2);
1487 double boxWidth, boxHeight; local
/macosx-10.10/tcl-105/tk84/tk/macosx/
H A DtkMacOSXDraw.c1226 double boxWidth, boxHeight;
1236 boxWidth = theRect.right - theRect.left;
1246 center1[0] = vertex[0] + cos1*boxWidth/2.0;
1248 center2[0] = vertex[0] + cos2*boxWidth/2.0;
1353 double boxWidth, boxHeight;
1365 boxWidth = theRect.right - theRect.left;
1375 center1[0] = vertex[0] + cos1*boxWidth/2.0;
1377 center2[0] = vertex[0] + cos2*boxWidth/2.0;
1213 double boxWidth, boxHeight; local
1339 double boxWidth, boxHeight; local
/macosx-10.10/WebCore-7600.1.25/rendering/
H A DRenderElement.cpp1238 LayoutUnit boxWidth = isBox() ? toRenderBox(this)->width() : LayoutUnit(); local
1240 LayoutUnit borderWidth = std::max<LayoutUnit>(borderRight, std::max<LayoutUnit>(valueForLength(style().borderTopRightRadius().width(), boxWidth), valueForLength(style().borderBottomRightRadius().width(), boxWidth)));

Completed in 136 milliseconds