/external/skia/include/core/ |
SkClipStack.h | 51 struct Clip { 52 Clip() : fRect(NULL), fPath(NULL), fOp(SkRegion::kIntersect_Op) {} 53 friend bool operator==(const Clip& a, const Clip& b); 54 friend bool operator!=(const Clip& a, const Clip& b); 55 const SkRect* fRect; // if non-null, this is a rect clip 56 const SkPath* fPath; // if non-null, this is a path clip 62 * Return the clip for this element in the iterator. If next() returns 63 * NULL, then the iterator is done. The type of clip is determined b [all...] |
/external/skia/src/animator/ |
SkDrawClip.h | 21 DECLARE_DRAW_MEMBER_INFO(Clip);
|
SkDisplayType.cpp | 109 CASE_DRAW_NEW(Clip); 264 CASE_GET_DRAW_INFO(Clip); 431 DRAW_NAME("clip", SkType_Clip),
|
/external/libyuv/files/source/ |
convert.cc | 26 static inline uint8 Clip(int32 val) { 62 out[0] = Clip(tmp_b); 63 out[1] = Clip(tmp_g); 64 out[2] = Clip(tmp_r); 69 out[3] = Clip(tmp_b); 70 out[4] = Clip(tmp_g); 71 out[5] = Clip(tmp_r); 76 out2[0] = Clip(tmp_b); 77 out2[1] = Clip(tmp_g); 78 out2[2] = Clip(tmp_r) [all...] |
/external/skia/src/core/ |
SkClipStack.cpp | 63 * Returns true if this Rec can be intersected in place with a new clip 196 bool operator==(const SkClipStack::B2FIter::Clip& a, 197 const SkClipStack::B2FIter::Clip& b) { 205 bool operator!=(const SkClipStack::B2FIter::Clip& a, 206 const SkClipStack::B2FIter::Clip& b) { 214 const SkClipStack::B2FIter::Clip* SkClipStack::B2FIter::next() {
|
SkCanvas.cpp | 60 The clip/matrix/proc are fields that reflect the top of the save/restore 115 // intersect clip, but don't translate it (yet) 550 // now jam our 1st clip to be bounds, and intersect the rest with that 625 SkRasterClip clip(totalClip); 627 layer->updateMC(totalMatrix, clip, fClipStack, &clip); 639 const SkRegion& clip, 643 device->gainFocus(this, matrix, clip, clipStack); 733 } else { // no user bounds, so just use the clip 739 // early exit if the clip is now empt 1059 SkRasterClip clip; local 1074 SkRasterClip clip; local 1135 const SkClipStack::B2FIter::Clip* clip; local 1259 const SkRasterClip& clip = *fMCRec->fRasterClip; local 1978 const SkRegion& SkCanvas::LayerIter::clip() const { return fImpl->getClip(); } function in class:SkCanvas::LayerIter [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-invalid.cpp | 6 template<class Clip=rasterizer_sl_clip_int> class rasterizer_scanline_aa
|
/external/skia/include/gpu/ |
SkGr.h | 132 const SkClipStack::B2FIter::Clip* fCurr;
|
/external/skia/tests/ |
ClipStackTest.cpp | 17 // Build up a clip stack with a path, an empty clip, and a rect. 57 // Test that different state (clip type) triggers not equal. 117 const SkClipStack::B2FIter::Clip* clip = iter.next(); local 121 REPORTER_ASSERT(reporter, clip); 122 REPORTER_ASSERT(reporter, clip->fRect); 123 REPORTER_ASSERT(reporter, !clip->fPath); 124 REPORTER_ASSERT(reporter, SkRegion::kIntersect_Op == clip->fOp); 125 REPORTER_ASSERT(reporter, *clip->fRect == answer) [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
GraphicsOperation.h | 246 class Clip : public Operation { 248 Clip(const FloatRect& rect) : m_rect(rect) {} 250 return context->clip(m_rect); 269 return context->clip(m_path);
|
PlatformGraphicsContextRecording.cpp | 52 // clip operations below. Chosen empirically. 382 // if other opaque operations will cover the current one, clip that area out 383 // (and restore the clip immediately after drawing) 437 SkRect clip; local 438 if (!canvas->getClipBounds(&clip)) { 439 ALOGW("Empty clip!"); 444 WebCore::IntRect iclip = enclosingIntRect(clip); 711 clip(path); 714 bool PlatformGraphicsContextRecording::clip(const FloatRect& rect) function in class:WebCore::PlatformGraphicsContextRecording 717 appendStateOperation(NEW_OP(Clip)(rect)) 721 bool PlatformGraphicsContextRecording::clip(const Path& path) function in class:WebCore::PlatformGraphicsContextRecording [all...] |
/external/webkit/Source/WebCore/platform/graphics/wx/ |
ImageWx.cpp | 135 gc->Clip(dst.x(), dst.y(), dst.width(), dst.height()); 196 ctxt->clip(IntRect(dstRect.x(), dstRect.y(), dstRect.width(), dstRect.height()));
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
riva_mmio.h | 102 * Scissor clip rectangle. 398 RivaClip *Clip;
|
/external/skia/src/pdf/ |
SkPDFDevice.cpp | 127 // intersect. If the clip stack does anything other than intersect, 228 const SkClipStack::B2FIter::Clip* prefixEntry; 229 const SkClipStack::B2FIter::Clip* iterEntry; 236 // Because of SkClipStack does internal intersection, the last clip 299 // gsState->initialEntry()->fClipStack/Region specifies the clip that has 301 // a clip to the content area. If this is a layer, then it specifies 302 // the clip in effect when the layer was created.) There's no need to 303 // reapply that clip; SKCanvas's SkDrawIter will draw anything outside the 304 // initial clip on the parent layer. (This means there's a bug if the user 305 // expands the clip and then uses any xfer mode that uses dst [all...] |
/external/skia/src/xml/ |
SkJSDisplayable.cpp | 131 JS_INIT(SkDraw, Clip)
|