Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkScan.h48 static void FrameRect(const SkRect&, const SkPoint& strokeSize,
50 static void AntiFrameRect(const SkRect&, const SkPoint& strokeSize,
78 static void AntiFrameRect(const SkRect&, const SkPoint& strokeSize,
DSkScan_Antihair.cpp919 void SkScan::AntiFrameRect(const SkRect& r, const SkPoint& strokeSize, in AntiFrameRect() argument
921 SkASSERT(strokeSize.fX >= 0 && strokeSize.fY >= 0); in AntiFrameRect()
923 SkScalar rx = SkScalarHalf(strokeSize.fX); in AntiFrameRect()
924 SkScalar ry = SkScalarHalf(strokeSize.fY); in AntiFrameRect()
948 rx = strokeSize.fX - rx; in AntiFrameRect()
949 ry = strokeSize.fY - ry; in AntiFrameRect()
961 if (strokeSize.fX < 1 || strokeSize.fY < 1) { in AntiFrameRect()
999 void SkScan::AntiFrameRect(const SkRect& r, const SkPoint& strokeSize, in AntiFrameRect() argument
1002 AntiFrameRect(r, strokeSize, &clip.bwRgn(), blitter); in AntiFrameRect()
1005 AntiFrameRect(r, strokeSize, &wrap.getRgn(), wrap.getBlitter()); in AntiFrameRect()
DSkScan_Hairline.cpp614 void SkScan::FrameRect(const SkRect& r, const SkPoint& strokeSize, in FrameRect() argument
616 SkASSERT(strokeSize.fX >= 0 && strokeSize.fY >= 0); in FrameRect()
618 if (strokeSize.fX < 0 || strokeSize.fY < 0) { in FrameRect()
622 const SkScalar dx = strokeSize.fX; in FrameRect()
623 const SkScalar dy = strokeSize.fY; in FrameRect()
DSkDraw.cpp752 SkPoint* strokeSize) { in easy_rect_join() argument
758 *strokeSize = compute_stroke_size(paint, matrix); in easy_rect_join()
764 SkPoint* strokeSize) { in ComputeRectType() argument
782 } else if (easy_rect_join(paint, matrix, strokeSize)) { in ComputeRectType()
818 SkPoint strokeSize; in drawRect() local
819 RectType rtype = ComputeRectType(paint, *fMatrix, &strokeSize); in drawRect()
848 ? strokeSize in drawRect()
883 SkScan::AntiFrameRect(localDevRect, strokeSize, clip, blitter); in drawRect()
885 SkScan::FrameRect(localDevRect, strokeSize, clip, blitter); in drawRect()
/external/skia/include/core/
DSkDraw.h114 SkPoint* strokeSize);