Home
last modified time | relevance | path

Searched refs:strokeSize (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/src/core/
H A DSkScan.h59 static void FrameRect(const SkRect&, const SkPoint& strokeSize,
61 static void AntiFrameRect(const SkRect&, const SkPoint& strokeSize,
90 static void AntiFrameRect(const SkRect&, const SkPoint& strokeSize,
H A DSkScan_Antihair.cpp926 void SkScan::AntiFrameRect(const SkRect& r, const SkPoint& strokeSize,
928 SkASSERT(strokeSize.fX >= 0 && strokeSize.fY >= 0);
930 SkScalar rx = SkScalarHalf(strokeSize.fX);
931 SkScalar ry = SkScalarHalf(strokeSize.fY);
955 rx = strokeSize.fX - rx;
956 ry = strokeSize.fY - ry;
968 if (strokeSize.fX < 1 || strokeSize.fY < 1) {
1006 void SkScan::AntiFrameRect(const SkRect& r, const SkPoint& strokeSize,
[all...]
H A DSkScan_Hairline.cpp672 void SkScan::FrameRect(const SkRect& r, const SkPoint& strokeSize,
674 SkASSERT(strokeSize.fX >= 0 && strokeSize.fY >= 0);
676 if (strokeSize.fX < 0 || strokeSize.fY < 0) {
680 const SkScalar dx = strokeSize.fX;
681 const SkScalar dy = strokeSize.fY;
H A DSkDraw.cpp552 SkPoint* strokeSize) { in easy_rect_join()
558 *strokeSize = compute_stroke_size(paint, matrix); in easy_rect_join()
565 SkPoint* strokeSize) { in ComputeRectType()
582 } else if (easy_rect_join(rect, paint, matrix, strokeSize)) { in ComputeRectType()
627 SkPoint strokeSize; in drawRect() local
628 RectType rtype = ComputeRectType(prePaintRect, paint, ctm, &strokeSize); in drawRect()
648 // For kStroke_RectType, strokeSize is already computed. in drawRect()
650 ? strokeSize in drawRect()
686 SkScan::AntiFrameRect(devRect, strokeSize, clip, blitter); in drawRect()
688 SkScan::FrameRect(devRect, strokeSize, cli in drawRect()
551 easy_rect_join(const SkRect& rect, const SkPaint& paint, const SkMatrix& matrix, SkPoint* strokeSize) easy_rect_join() argument
562 ComputeRectType(const SkRect& rect, const SkPaint& paint, const SkMatrix& matrix, SkPoint* strokeSize) ComputeRectType() argument
[all...]
H A DSkDraw.h119 * Iff RectType == kStroke_RectType, then strokeSize is set to the device
123 SkPoint* strokeSize);

Completed in 5 milliseconds