Home | History | Annotate | Download | only in cg

Lines Matching full:thickness

715 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness)
726 CGContextAddEllipseInRect(context, CGRectMake(rect.x() + thickness, rect.y() + thickness,
727 rect.width() - (thickness * 2), rect.height() - (thickness * 2)));
1044 // Use a minimum thickness of 0.5 in user space.
1045 // See http://bugs.webkit.org/show_bug.cgi?id=4255 for details of why 0.5 is the right minimum thickness to use.
1046 float thickness = max(strokeThickness(), 0.5f);
1051 // On screen, use a minimum thickness of 1.0 in user space (later rounded to an integral number in device space).
1052 float adjustedThickness = max(thickness, 1.0f);
1056 // makes our thickness more than double, then there must be a shrinking-scale factor and rounding to pixels
1059 if (lineRect.size.height < thickness * 2.0) {
1063 thickness = lineRect.size.height;
1073 CGContextFillRect(platformContext(), CGRectMake(x, y, lineLength, thickness));
1206 void GraphicsContext::setPlatformStrokeThickness(float thickness)
1210 CGContextSetLineWidth(platformContext(), thickness);