Searched defs:clip (Results 1 - 25 of 132) sorted by relevance

123456

/external/webkit/Source/WebCore/rendering/style/
H A DStyleVisualData.h42 return ( clip == o.clip &&
49 LengthBox clip; member in class:WebCore::StyleVisualData
/external/webkit/Source/WebKit/mac/WebView/
H A DWebDashboardRegion.h42 NSRect clip; variable
45 - initWithRect:(NSRect)rect clip:(NSRect)clip type:(WebDashboardRegionType)type;
/external/icu4c/samples/layout/
H A DSurface.cpp18 RECT clip; local
20 clip.top = 0;
21 clip.left = 0;
22 clip.bottom = height;
23 clip.right = width;
27 ExtTextOut(fHdc, x, y - fAscent, ETO_CLIPPED | ETO_GLYPH_INDEX, &clip,
/external/skia/include/core/
H A DSkBounder.h34 /* Call to perform a clip test before calling onIRect.
45 been transformed in to device coordinates, and clipped to the current clip.
79 void setClip(const SkRegion* clip) { fClip = clip; } argument
H A DSkScan.h35 static void FillRect(const SkRect& rect, const SkRasterClip& clip, argument
37 SkScan::FillXRect(*(const SkXRect*)&rect, clip, blitter);
39 static void AntiFillRect(const SkRect& rect, const SkRasterClip& clip, argument
41 SkScan::AntiFillXRect(*(const SkXRect*)&rect, clip, blitter);
68 static void FillIRect(const SkIRect&, const SkRegion* clip, SkBlitter*);
69 static void FillXRect(const SkXRect&, const SkRegion* clip, SkBlitter*);
71 static void FillRect(const SkRect& rect, const SkRegion* clip, argument
73 SkScan::FillXRect(*(const SkXRect*)&rect, clip, blitter);
75 static void AntiFillRect(const SkRect& rect, const SkRegion* clip, argument
77 SkScan::AntiFillXRect(*(const SkXRect*)&rect, clip, blitte
[all...]
/external/skia/src/core/
H A DSkScan.cpp18 void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip, argument
21 if (clip) {
22 if (clip->isRect()) {
23 const SkIRect& clipBounds = clip->getBounds();
34 SkRegion::Cliperator cliper(*clip, r);
48 void SkScan::FillXRect(const SkXRect& xr, const SkRegion* clip, argument
53 SkScan::FillIRect(r, clip, blitter);
58 void SkScan::FillRect(const SkRect& r, const SkRegion* clip, argument
63 SkScan::FillIRect(ir, clip, blitter);
70 void SkScan::FillIRect(const SkIRect& r, const SkRasterClip& clip, argument
85 FillXRect(const SkXRect& xr, const SkRasterClip& clip, SkBlitter* blitter) argument
102 FillRect(const SkRect& r, const SkRasterClip& clip, SkBlitter* blitter) argument
[all...]
H A DSkMaskFilter.cpp23 const SkRasterClip& clip, SkBounder* bounder,
27 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM,
38 // if we get here, we need to (possibly) resolve the clip and blitter
39 SkAAClipBlitterWrapper wrapper(clip, blitter);
22 filterPath(const SkPath& devPath, const SkMatrix& matrix, const SkRasterClip& clip, SkBounder* bounder, SkBlitter* blitter) argument
H A DSkBlitter_Sprite.cpp43 void SkSpriteBlitter::blitMask(const SkMask&, const SkIRect& clip) { argument
H A DSkCubicClipper.cpp15 void SkCubicClipper::setClip(const SkIRect& clip) { argument
17 fClip.set(clip);
H A DSkEdgeBuilder.cpp91 SkRect clip; local
92 setShiftedClip(&clip, *iclip, shiftUp);
104 int lineCount = SkLineClipper::ClipLine(pts, clip, lines);
111 if (clipper.clipQuad(pts, clip)) {
116 if (clipper.clipCubic(pts, clip)) {
/external/skia/tests/
H A DClipStackTest.cpp17 // 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);
H A DFillPathTest.cpp35 SkIRect clip; local
40 clip.set(0, height - expected_lines, width, height);
45 SkScan::FillPath(path, clip, &blitter);
H A DClipperTest.cpp23 const SkRect clip = { 0, 0, SkIntToScalar(300), SkIntToScalar(200) }; local
28 clipper.clipCubic(pts, clip);
/external/webkit/Source/WebCore/inspector/front-end/
H A DTextEditorModel.js214 var clip = []; variable
216 clip.push(this._lines[range.startLine].substring(range.startColumn, range.endColumn));
217 return clip.join(this._lineBreak);
219 clip.push(this._lines[range.startLine].substring(range.startColumn));
221 clip.push(this._lines[i]);
222 clip.push(this._lines[range.endLine].substring(0, range.endColumn));
223 return clip.join(this._lineBreak);
/external/webkit/Source/WebCore/plugins/symbian/
H A DPluginContainerSymbian.cpp47 void PluginContainerSymbian::requestGeometry(const QRect& rect, const QRegion& clip) argument
49 if (m_windowRect != rect || m_clipRegion != clip) {
51 m_clipRegion = clip;
/external/webp/src/dec/
H A Dyuv.c27 static inline uint8_t clip(int v, int max_value) { function
44 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255);
45 VP8kClip4Bits[i - YUV_RANGE_MIN] = clip((k + 8) >> 4, 15);
H A Dquant.c18 static inline int clip(int v, int M) { function
93 m->y1_mat_[0] = kDcTable[clip(q + dqy1_dc, 127)];
94 m->y1_mat_[1] = kAcTable[clip(q + 0, 127)];
96 m->y2_mat_[0] = kDcTable[clip(q + dqy2_dc, 127)] * 2;
98 m->y2_mat_[1] = kAcTable[clip(q + dqy2_ac, 127)] * 155 / 100;
101 m->uv_mat_[0] = kDcTable[clip(q + dquv_dc, 117)];
102 m->uv_mat_[1] = kAcTable[clip(q + dquv_ac, 127)];
/external/chromium/third_party/libjingle/source/talk/session/phone/
H A Dsoundclip.cc40 : clip(c),
46 const void *clip; member in struct:cricket::PlaySoundMessageData
57 bool Soundclip::PlaySound(const void *clip, argument
60 PlaySoundMessageData data(clip, len, flags);
65 bool Soundclip::PlaySound_w(const void *clip, argument
68 return soundclip_media_->PlaySound(static_cast<const char *>(clip),
77 data->result = PlaySound_w(data->clip,
/external/skia/bench/
H A DAAClipBench.cpp47 SkAAClip clip; local
49 clip.setPath(fPath, &fRegion, fDoAA);
51 clip.setRect(fRect, fDoAA);
63 // test conversion of a complex clip to a aaclip
78 SkAAClip clip; local
79 clip.setRegion(fRegion);
/external/skia/samplecode/
H A DSampleAAClip.cpp42 static void drawClip(SkCanvas* canvas, const SkAAClip& clip) { argument
46 clip.copyToMask(&mask);
H A DSampleEffects.cpp27 SkRect clip = { 0, 0, 300, 200 }; local
30 clipper.clipCubic(pts, clip);
H A DSampleOverflow.cpp60 SkRegion rgn, clip; local
65 clip.setRect(ix, iy, ix + 1, iy + 1);
67 bool contains = rgn.setPath(path, clip);
/external/skia/src/gpu/
H A DGrStencilBuffer.h32 // called to note the last clip drawn to this buffer.
33 void setLastClip(const GrClip& clip, int width, int height) { argument
34 fLastClip = clip;
41 // called to determine if we have to render the clip into SB.
42 bool mustRenderClip(const GrClip& clip, int width, int height) const { argument
43 // The clip is in device space. That is it doesn't scale to fit a
49 clip != fLastClip;
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DGLExtras.cpp95 SkRegion clip; local
109 if (clip.intersects(line)) {
110 clip.op(line, SkRegion::kReverseDifference_Op);
111 if (clip.isEmpty())
113 line = clip.getBounds();
115 clip.op(startRect, SkRegion::kDifference_Op);
116 if (clip.isEmpty())
118 line = clip.getBounds();
121 clip.setRect(line);
/external/webkit/Source/WebKit/chromium/src/
H A DWebFontImpl.cpp91 WebColor color, const WebRect& clip, bool canvasIsOpaque,
103 gc.clip(WebCore::FloatRect(clip));
90 drawText(WebCanvas* canvas, const WebTextRun& run, const WebFloatPoint& leftBaseline, WebColor color, const WebRect& clip, bool canvasIsOpaque, int from, int to) const argument

Completed in 589 milliseconds

123456