Lines Matching defs:clip

77     SkCanvas contains a stack of SkMatrix and clip values.
82 of all of clip values in the stack. The SkCanvas draw calls use SkPaint to supply drawing
329 /** Returns custom context that tracks the SkMatrix and clip.
359 /** Copies SkRect of pixels from SkCanvas into dstPixels. SkMatrix and clip are
396 /** Copies SkRect of pixels from SkCanvas into pixmap. SkMatrix and clip are
433 /** Copies SkRect of pixels from SkCanvas into bitmap. SkMatrix and clip are
470 /** Copies SkRect from pixels to SkCanvas. SkMatrix and clip are ignored.
508 /** Copies SkRect from pixels to SkCanvas. SkMatrix and clip are ignored.
548 /** Saves SkMatrix and clip.
549 Calling restore() discards changes to SkMatrix and clip,
550 restoring the SkMatrix and clip to their state when save() was called.
566 /** Saves SkMatrix and clip, and allocates a SkBitmap for subsequent drawing.
567 Calling restore() discards changes to SkMatrix and clip, and draws the SkBitmap.
573 SkRect bounds suggests but does not define the SkBitmap size. To clip drawing to
590 /** Saves SkMatrix and clip, and allocates a SkBitmap for subsequent drawing.
591 Calling restore() discards changes to SkMatrix and clip, and draws the SkBitmap.
597 SkRect bounds suggests but does not define the layer size. To clip drawing to
613 /** Saves SkMatrix and clip, and allocates SkBitmap for subsequent drawing.
615 Calling restore() discards changes to SkMatrix and clip,
622 SkRect bounds suggests but does not define layer size. To clip drawing to
680 (respecting the current clip).
699 * This is then filtered by fBackdrop (respecting the current clip).
723 /** Saves SkMatrix and clip, and allocates SkBitmap for subsequent drawing.
725 Calling restore() discards changes to SkMatrix and clip,
743 /** Removes changes to SkMatrix and clip since SkCanvas state was
754 /** Returns the number of saved states, each containing: SkMatrix and clip.
764 /** Restores state to SkMatrix and clip values when save(), saveLayer(),
868 * about the ctm or clip, but does "name" this matrix value, so it can be referenced by
899 /** Replaces clip with the intersection or difference of clip and rect,
900 with an aliased or anti-aliased clip edge. rect is transformed by SkMatrix
901 before it is combined with clip.
903 @param rect SkRect to combine with clip
904 @param op SkClipOp to apply to clip
905 @param doAntiAlias true if clip is to be anti-aliased
911 /** Replaces clip with the intersection or difference of clip and rect.
912 Resulting clip is aliased; pixels are fully contained by the clip.
913 rect is transformed by SkMatrix before it is combined with clip.
915 @param rect SkRect to combine with clip
916 @param op SkClipOp to apply to clip
922 /** Replaces clip with the intersection of clip and rect.
923 Resulting clip is aliased; pixels are fully contained by the clip.
925 before it is combined with clip.
927 @param rect SkRect to combine with clip
928 @param doAntiAlias true if clip is to be anti-aliased
938 /** Sets the maximum clip rectangle, which can be set by clipRect(), clipRRect() and
939 clipPath() and intersect the current clip with the specified rect.
940 The maximum clip affects only future clipping operations; it is not retroactive.
941 The clip restriction is not recorded in pictures.
943 Pass an empty rect to disable maximum clip.
948 @param rect maximum allowed clip in device coordinates
952 /** Replaces clip with the intersection or difference of clip and rrect,
953 with an aliased or anti-aliased clip edge.
955 before it is combined with clip.
957 @param rrect SkRRect to combine with clip
958 @param op SkClipOp to apply to clip
959 @param doAntiAlias true if clip is to be anti-aliased
965 /** Replaces clip with the intersection or difference of clip and rrect.
966 Resulting clip is aliased; pixels are fully contained by the clip.
967 rrect is transformed by SkMatrix before it is combined with clip.
969 @param rrect SkRRect to combine with clip
970 @param op SkClipOp to apply to clip
976 /** Replaces clip with the intersection of clip and rrect,
977 with an aliased or anti-aliased clip edge.
978 rrect is transformed by SkMatrix before it is combined with clip.
980 @param rrect SkRRect to combine with clip
981 @param doAntiAlias true if clip is to be anti-aliased
987 /** Replaces clip with the intersection or difference of clip and path,
988 with an aliased or anti-aliased clip edge. SkPath::FillType determines if path
991 path is transformed by SkMatrix before it is combined with clip.
993 @param path SkPath to combine with clip
994 @param op SkClipOp to apply to clip
995 @param doAntiAlias true if clip is to be anti-aliased
1001 /** Replaces clip with the intersection or difference of clip and path.
1002 Resulting clip is aliased; pixels are fully contained by the clip.
1007 before it is combined with clip.
1009 @param path SkPath to combine with clip
1010 @param op SkClipOp to apply to clip
1016 /** Replaces clip with the intersection of clip and path.
1017 Resulting clip is aliased; pixels are fully contained by the clip.
1021 path is transformed by SkMatrix before it is combined with clip.
1023 @param path SkPath to combine with clip
1024 @param doAntiAlias true if clip is to be anti-aliased
1032 /** Replaces clip with the intersection or difference of clip and SkRegion deviceRgn.
1033 Resulting clip is aliased; pixels are fully contained by the clip.
1036 @param deviceRgn SkRegion to combine with clip
1037 @param op SkClipOp to apply to clip
1044 outside of clip. May return false even though rect is outside of clip.
1048 @param rect SkRect to compare with clip
1049 @return true if rect, transformed by SkMatrix, does not intersect clip
1056 outside of clip. May return false even though path is outside of clip.
1060 @param path SkPath to compare with clip
1061 @return true if path, transformed by SkMatrix, does not intersect clip
1067 /** Returns bounds of clip, transformed by inverse of SkMatrix. If clip is empty,
1070 SkRect returned is outset by one to account for partial pixel coverage if clip
1073 @return bounds of clip in local coordinates
1079 /** Returns bounds of clip, transformed by inverse of SkMatrix. If clip is empty,
1082 bounds is outset by one to account for partial pixel coverage if clip
1085 @param bounds SkRect of clip in local coordinates
1086 @return true if clip bounds is not empty
1093 /** Returns SkIRect bounds of clip, unaffected by SkMatrix. If clip is empty,
1098 @return bounds of clip in SkBaseDevice coordinates
1102 /** Returns SkIRect bounds of clip, unaffected by SkMatrix. If clip is empty,
1107 @return bounds of clip in SkBaseDevice coordinates
1113 /** Returns SkIRect bounds of clip, unaffected by SkMatrix. If clip is empty,
1118 @param bounds SkRect of clip in device coordinates
1119 @return true if clip bounds is not empty
1126 /** Fills clip with color color.
1138 /** Fills clip with color color.
1146 /** Fills clip with color color using SkBlendMode::kSrc.
1147 This has the effect of replacing all pixels contained by clip with color.
1155 /** Fills clip with color color using SkBlendMode::kSrc.
1156 This has the effect of replacing all pixels contained by clip with color.
1166 not change clip or SkMatrix.
1178 /** Fills clip with SkPaint paint. SkPaint components, SkShader,
1198 /** Draws pts using clip, SkMatrix and SkPaint paint.
1231 /** Draws point at (x, y) using clip, SkMatrix and SkPaint paint.
1247 /** Draws point p using clip, SkMatrix and SkPaint paint.
1262 /** Draws line segment from (x0, y0) to (x1, y1) using clip, SkMatrix, and SkPaint paint.
1277 /** Draws line segment from p0 to p1 using clip, SkMatrix, and SkPaint paint.
1290 /** Draws SkRect rect using clip, SkMatrix, and SkPaint paint.
1302 /** Draws SkIRect rect using clip, SkMatrix, and SkPaint paint.
1316 /** Draws SkRegion region using clip, SkMatrix, and SkPaint paint.
1328 /** Draws oval oval using clip, SkMatrix, and SkPaint.
1339 /** Draws SkRRect rrect using clip, SkMatrix, and SkPaint paint.
1354 using clip, SkMatrix, and SkPaint paint.
1374 /** Draws circle at (cx, cy) with radius using clip, SkMatrix, and SkPaint paint.
1388 /** Draws circle at center with radius using clip, SkMatrix, and SkPaint paint.
1401 /** Draws arc using clip, SkMatrix, and SkPaint paint.
1424 /** Draws SkRRect bounded by SkRect rect, with corner radii (rx, ry) using clip,
1443 /** Draws SkPath path using clip, SkMatrix, and SkPaint paint.
1501 Additionally transform draw using clip, SkMatrix, and optional SkPaint paint.
1560 Additionally transform draw using clip, SkMatrix, and optional SkPaint paint.
1624 * This behaves very similarly to drawRect() combined with a clipPath() formed by clip
1625 * quadrilateral. 'rect' and 'clip' are in the same coordinate space. If 'clip' is null, then it
1631 * independently. The edges of the clip will respect the per-edge AA flags. It is required that
1632 * 'clip' be contained inside 'rect'. In terms of mapping to edge labels, the 'clip' points
1639 void experimental_DrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags,
1641 void experimental_DrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags,
1643 this->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, SkColor4f::FromColor(color), mode);
1648 * For each entry, 'fDstRect' is rendered with its clip (determined by entry's 'fHasClip' and
1652 * applying a clip.
1655 * the destination rect and its clip.
1659 * destination clip coordinates will be read consecutively with the image set entries, advancing
1679 /** Draws text, with origin at (x, y), using clip, SkMatrix, SkFont font,
1709 /** Draws null terminated string, with origin at (x, y), using clip, SkMatrix,
1738 /** Draws SkString, with origin at (x, y), using clip, SkMatrix, SkFont font,
1836 /** Draws SkTextBlob blob at (x, y), using clip, SkMatrix, and SkPaint paint.
1861 /** Draws SkTextBlob blob at (x, y), using clip, SkMatrix, and SkPaint paint.
1892 /** Draws SkPicture picture, using clip and SkMatrix.
1904 /** Draws SkPicture picture, using clip and SkMatrix.
1916 /** Draws SkPicture picture, using clip and SkMatrix; transforming picture with
1932 /** Draws SkPicture picture, using clip and SkMatrix; transforming picture with
1949 /** Draws SkVertices vertices, a triangle mesh, using clip and SkMatrix.
1973 /** Draws SkVertices vertices, a triangle mesh, using clip and SkMatrix.
2000 Coons patch uses clip and SkMatrix, paint SkShader, SkColorFilter,
2031 Coons patch uses clip and SkMatrix, paint SkShader, SkColorFilter,
2060 /** Draws a set of sprites from atlas, using clip, SkMatrix, and optional SkPaint paint.
2071 If cullRect is outside of clip, canvas can skip drawing.
2089 /** Draws SkDrawable drawable using clip and SkMatrix, concatenated with
2104 /** Draws SkDrawable drawable using clip and SkMatrix, offset by (x, y).
2147 /** Returns true if clip is empty; that is, nothing will draw.
2151 work until clip changes.
2153 @return true if clip is empty
2159 /** Returns true if clip is SkRect and not empty.
2160 Returns false if the clip is empty, or if it is not SkRect.
2162 @return true if clip is SkRect and not empty
2204 * Returns the global clip as a region. If the clip contains AA, then only the bounds
2205 * of the clip may be returned.
2322 virtual void onDrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags,
2379 // clip, and matrix commands. There is a layer per call to saveLayer() using the
2554 * Returns true if the clip (for any active layer) contains antialiasing.
2555 * If the clip is empty, this will return false.
2560 * Reset the clip to be wide-open (modulo any separately specified device clip restriction).
2561 * This operate within the save/restore clip stack so it can be undone by restoring to an
2568 // Keep track of the device clip bounds in the canvas' global space to reject draws before
2572 // Compute the clip's bounds based on all clipped SkDevice's reported device bounds transformed
2592 /** Preserves SkCanvas::save() count. Optionally saves SkCanvas clip and SkCanvas matrix.