| /third_party/skia/modules/skparagraph/src/ |
| H A D | Decorations.h | 37 void calculateWaves(const TextStyle& textStyle, SkRect clip); 38 void calculateAvoidanceWaves(const TextStyle& textStyle, SkRect clip);
|
| /third_party/skia/experimental/xform/ |
| H A D | SkXform.cpp | 73 void Xform::setCache(const SkMatrix& ctm, sk_sp<ClipCache> clip) { in setCache() argument 75 fClip = std::move(clip); in setCache()
|
| /third_party/skia/gm/ |
| H A D | crbug_1167277.cpp | 18 // Matrix, clip, and quad values taken from Chrome repro scenario. in DEF_SIMPLE_GM() 25 SkPoint clip[4] = {{SkBits2Float(0x3ef434a2), SkBits2Float(0x43440004)}, in DEF_SIMPLE_GM() local 34 canvas->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, color, SkBlendMode::kSrcOver); in DEF_SIMPLE_GM()
|
| H A D | imagemakewithfilter.cpp | 40 static void show_bounds(SkCanvas* canvas, const SkIRect* clip, const SkIRect* inSubset, in show_bounds() argument 42 const SkIRect* rects[] { clip, inSubset, outSubset }; in show_bounds() 176 // Uses makeWithFilter, passing in subset and clip directly 351 FilterFactory filterFactory, const SkIRect& clip, in drawImageWithFilter() 353 // When creating the filter with a crop rect equal to the clip, we should expect to see no in drawImageWithFilter() 355 // by makeWithFilter, then the final result will be the incorrect intersection of the clip in drawImageWithFilter() 358 fFilterWithCropRect ? &clip : nullptr); in drawImageWithFilter() 364 canvas->clipRect(SkRect::Make(clip)); in drawImageWithFilter() 383 result = mainImage->makeWithFilter(rContext, filter.get(), subset, clip, in drawImageWithFilter() 350 drawImageWithFilter(SkCanvas* canvas, sk_sp<SkImage> mainImage, sk_sp<SkImage> auxImage, FilterFactory filterFactory, const SkIRect& clip, const SkIRect& subset, SkIRect* dstRect) drawImageWithFilter() argument
|
| H A D | runtimeimagefilter.cpp | 39 SkRect clip = SkRect::MakeWH(250, 250); in DEF_SIMPLE_GM_BG() local 46 canvas->clipRect(clip); in DEF_SIMPLE_GM_BG()
|
| H A D | hsl.cpp | 70 auto clip = [=](float c) { in clip_color() local 77 *r = clip(*r); in clip_color() 78 *g = clip(*g); in clip_color() 79 *b = clip(*b); in clip_color()
|
| H A D | quadpaths.cpp | 38 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath() 49 canvas->clipRect(clip); in drawPath() 168 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath() 179 canvas->clipRect(clip); in drawPath() 37 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPathFillType fill, SkScalar strokeWidth) drawPath() argument 167 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPathFillType fill, SkScalar strokeWidth) drawPath() argument
|
| H A D | fwidth_squircle.cpp | 201 GrAppliedClip* clip, 211 GrAppliedClip appliedClip = clip ? std::move(*clip) : GrAppliedClip::Disabled();
|
| H A D | compositor_quads.cpp | 62 // of the below points are used to clip against the regular tile grid. The tile grid occupies 76 // 10f was chosen as a balance between large enough to scale the currently set clip in clipping_line_segment() 203 // Draw the base rect, possibly clipped by 'clip' if that is not null. The edges to antialias 205 // represents the location of rect within the tile grid, 'quadID' is the unique ID of the clip 208 // The edgeAA order matches that of clip, so it refers to top, right, bottom, left. 210 virtual int drawTile(SkCanvas* canvas, const SkRect& rect, const SkPoint clip[4], 237 // Now clip against the 3 lines formed by kClipPx and split into general purpose in drawTiles() 566 int drawTile(SkCanvas* canvas, const SkRect& rect, const SkPoint clip[4], const bool edgeAA[4], 581 rect, clip, aaFlags, c.toSkColor(), SkBlendMode::kSrcOver); 624 int drawTile(SkCanvas* canvas, const SkRect& rect, const SkPoint clip[ [all...] |
| /third_party/skia/tests/ |
| H A D | RecordingXfermodeTest.cpp | 102 // Then it then replays the scene through a clip rectangle. 151 const SkRect& clip = SkRect::MakeXYWH(100, 0, 100, 100); in DEF_TEST() local 154 const SkBitmap& goldenBM = golden.recordAndReplay(drawer, clip, mode); in DEF_TEST() 155 const SkBitmap& pictureBM = picture.recordAndReplay(drawer, clip, mode); in DEF_TEST()
|
| /third_party/icu/icu4c/source/samples/layout/ |
| H A D | GDIFontInstance.cpp | 66 RECT clip; in drawGlyphs() local 68 clip.top = 0; in drawGlyphs() 69 clip.left = 0; in drawGlyphs() 70 clip.bottom = height; in drawGlyphs() 71 clip.right = width; in drawGlyphs() 99 ExtTextOut(fHdc, x + (le_int32) xOffset, y + (le_int32) yOffset - font->getAscent(), ETO_CLIPPED | ETO_GLYPH_INDEX, &clip, in drawGlyphs()
|
| /third_party/skia/third_party/externals/icu/source/samples/layout/ |
| H A D | GDIFontInstance.cpp | 66 RECT clip; in drawGlyphs() local 68 clip.top = 0; in drawGlyphs() 69 clip.left = 0; in drawGlyphs() 70 clip.bottom = height; in drawGlyphs() 71 clip.right = width; in drawGlyphs() 99 ExtTextOut(fHdc, x + (le_int32) xOffset, y + (le_int32) yOffset - font->getAscent(), ETO_CLIPPED | ETO_GLYPH_INDEX, &clip, in drawGlyphs()
|
| /third_party/ffmpeg/libavformat/ |
| H A D | avisynth.c | 90 AVS_Clip *clip; member 222 if (avs->clip) { in avisynth_context_destroy() 223 avs_library.avs_release_clip(avs->clip); in avisynth_context_destroy() 224 avs->clip = NULL; in avisynth_context_destroy() 513 if (avs_library.avs_get_version(avs->clip) >= 9) { in avisynth_create_stream_video() 515 frame = avs_library.avs_get_frame(avs->clip, 0); in avisynth_create_stream_video() 851 av_log(s, AV_LOG_ERROR, "AviSynth script did not return a clip\n"); in avisynth_open_file() 856 avs->clip = avs_library.avs_take_clip(val, avs->env); in avisynth_open_file() 857 avs->vi = avs_library.avs_get_video_info(avs->clip); in avisynth_open_file() 863 if (avs_library.avs_get_version(avs->clip) < in avisynth_open_file() [all...] |
| /third_party/toybox/toys/pending/ |
| H A D | vi.c | 263 size_t clip = s->node->len - (offset - spos); in cut_str() local 266 s->node->len -= clip; in cut_str() 269 size_t clip = end - offset; in cut_str() local 270 s->node->len -= clip; in cut_str() 271 s->node->data += clip; in cut_str() 276 size_t clip = end-offset; in cut_str() local 277 tail->len = s->node->len-(offset-spos)-clip; in cut_str() 278 tail->data = s->node->data+(offset-spos)+clip; in cut_str() 1356 int aw = 0, iw = 0, clip = 0, margin = 8; in draw_page() local 1402 clip in draw_page() [all...] |
| /third_party/skia/src/core/ |
| H A D | SkEdgeBuilder.h | 40 int build (const SkPath& path, const SkIRect* clip, bool clipToTheRight); 41 int buildPoly(const SkPath& path, const SkIRect* clip, bool clipToTheRight);
|
| H A D | SkQuadClipper.cpp | 17 void SkQuadClipper::setClip(const SkIRect& clip) { in setClip() argument 19 fClip.set(clip); in setClip()
|
| /third_party/skia/src/gpu/ops/ |
| H A D | GrSimpleMeshDrawOpHelperWithStencil.cpp | 27 const GrCaps& caps, const GrAppliedClip* clip, GrClampType clampType, in finalizeProcessors() 30 auto result = this->finalizeProcessors(caps, clip, clampType, geometryCoverage, &color); in finalizeProcessors() 26 finalizeProcessors( const GrCaps& caps, const GrAppliedClip* clip, GrClampType clampType, GrProcessorAnalysisCoverage geometryCoverage, SkPMColor4f* geometryColor, bool* wideColor) finalizeProcessors() argument
|
| H A D | GrSimpleMeshDrawOpHelperWithStencil.h | 49 GrProcessorSet::Analysis finalizeProcessors(const GrCaps& caps, const GrAppliedClip* clip, in finalizeProcessors() argument 53 return this->INHERITED::finalizeProcessors(caps, clip, fStencilSettings, clampType, in finalizeProcessors()
|
| /third_party/skia/include/core/ |
| H A D | SkCanvasVirtualEnforcer.h | 46 void onDrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], 49 void onDrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4],
|
| /third_party/skia/bench/ |
| H A D | GlyphQuadFillBench.cpp | 67 SkIRect clip = SkIRect::MakeEmpty(); variable 74 grColor, positionMatrix, clip);
|
| H A D | SKPAnimationBench.cpp | 12 SKPAnimationBench::SKPAnimationBench(const char* name, const SkPicture* pic, const SkIRect& clip, in SKPAnimationBench() argument 14 : INHERITED(name, pic, clip, 1.0, doLooping) in SKPAnimationBench()
|
| /third_party/skia/src/gpu/v1/ |
| H A D | ClipStack.h | 35 // All data describing a geometric modification to the clip 54 // Provides for-range over active, valid clip elements from most recent to oldest. 64 this->clip({ctm, GrShape(rect), aa, op}); in clipRect() 67 this->clip({ctm, GrShape(rrect), aa, op}); in clipRRect() 70 this->clip({ctm, GrShape(path), aa, op}); in clipPath() 92 // Internally, a lot of clip reasoning is based on an op, outer bounds, and whether a shape 97 // the same interface as Element and SaveRecord for internal clip reasoning templates. 107 // Common clip type interface 125 // The old elements are marked invalid so they are skipped during clip application, but may 133 // 1. The entire clip i [all...] |
| H A D | SurfaceFillContext_v1.cpp | 75 auto clip = GrAppliedClip::Disabled(); in addDrawOp() local 77 GrProcessorSet::Analysis analysis = op->finalize(caps, &clip, clampType); in addDrawOp() 94 std::move(clip), in addDrawOp()
|
| /third_party/mesa3d/src/gallium/drivers/svga/ |
| H A D | svga_pipe_misc.c | 192 const struct pipe_clip_state *clip) in svga_set_clip_state() 196 svga->curr.clip = *clip; /* struct copy */ in svga_set_clip_state() 191 svga_set_clip_state(struct pipe_context *pipe, const struct pipe_clip_state *clip) svga_set_clip_state() argument
|
| /third_party/curl/src/ |
| H A D | tool_doswin.c | 189 char *clip = NULL; in sanitize_file_name() local 196 clip = p; in sanitize_file_name() 199 if(clip) { in sanitize_file_name() 200 *clip = '\0'; in sanitize_file_name() 201 len = clip - target; in sanitize_file_name()
|