Searched refs:clip (Results 126 - 150 of 283) sorted by relevance

1234567891011>>

/external/pdfium/core/fxge/dib/
H A Ddib_int.h110 FX_RECT FXDIB_SwapClipBox(FX_RECT& clip,
H A Dfx_dib_transform.cpp282 FX_RECT FXDIB_SwapClipBox(FX_RECT& clip, argument
289 rect.left = height - clip.top;
290 rect.right = height - clip.bottom;
292 rect.left = clip.top;
293 rect.right = clip.bottom;
296 rect.top = width - clip.left;
297 rect.bottom = width - clip.right;
299 rect.top = clip.left;
300 rect.bottom = clip.right;
/external/skia/experimental/svg/model/
H A DSkSVGAttributeParser.cpp447 bool SkSVGAttributeParser::parseClipPath(SkSVGClip* clip) {
452 *clip = SkSVGClip(SkSVGClip::Type::kNone);
455 *clip = SkSVGClip(SkSVGClip::Type::kInherit);
458 *clip = SkSVGClip(iri.value());
H A DSkSVGDOM.cpp72 SkSVGClip clip; local
74 if (!parser.parseClipPath(&clip)) {
78 node->setAttribute(attr, SkSVGClipValue(clip));
280 { "clip-path" , { SkSVGAttribute::kClipPath , SetClipPathAttribute }},
/external/skia/tests/
H A DRecordOptsTest.cpp219 SkRect clip = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(60)); local
270 recorder.clipRect(clip);
312 recorder.clipRect(clip);
324 recorder.clipRect(clip);
337 // Test that currently we do not fold alphas for patterns without the clip. This is just not
H A DClipperTest.cpp28 * We had a bug where we misinterpreted the bottom of the clip, and
31 * should just draw to [1,1], [2,2], [3,3] modulo the clip.
60 const SkRect clip = { 0, 0, SkIntToScalar(300), SkIntToScalar(200) }; local
65 clipper.clipCubic(pts, clip);
/external/skia/src/core/
H A DSkPicturePlayback.cpp509 SkRect clip = canvas->getLocalClipBounds(); local
510 if (top < clip.fBottom && bottom > clip.fTop && paint && text.text()) {
538 SkRect clip = canvas->getLocalClipBounds(); local
539 if (top < clip.fBottom && bottom > clip.fTop && paint && text.text()) {
614 SkRect clip = canvas->getLocalClipBounds(); local
617 if (top < clip.fBottom && bottom > clip.fTop && paint && text.text()) {
H A DSkRasterClip.h165 bool setPath(const SkPath& path, const SkRegion& clip, bool doAA);
166 bool setPath(const SkPath& path, const SkIRect& clip, bool doAA);
213 * not, they return the raw blitter and (bw) clip region.
H A DSkRecordDraw.cpp21 // Draw only ops that affect pixels in the canvas's current clip.
24 // this canvas' clip bounds transformed back into identity space, which
216 // The paint could do anything to our bounds. The only safe answer is the current clip.
229 // Nothing can draw outside the current clip.
252 // Most ops don't change the clip.
255 // Clip{Path,RRect,Rect,Region} obviously change the clip. They all know their bounds already.
261 // The bounds of clip ops need to be adjusted for the paints of saveLayers they're inside.
263 Bounds clip = SkRect::Make(devBounds); local
265 // clip bounds with the previous clip, exactl
280 Bounds clip = SkRect::Make(op.devBounds); local
[all...]
H A DSkDraw.cpp244 in the clip, we don't have to worry about antialiasing.
836 const SkRasterClip& clip = looper.getRC(); local
845 SkScan::AntiFillRect(localDevRect, clip, blitter);
847 SkScan::FillRect(localDevRect, clip, blitter);
852 SkScan::AntiFrameRect(localDevRect, strokeSize, clip, blitter);
854 SkScan::FrameRect(localDevRect, strokeSize, clip, blitter);
859 SkScan::AntiHairRect(localDevRect, clip, blitter);
861 SkScan::HairRect(localDevRect, clip, blitter);
1007 // Now compare against the clip's bounds
1253 static bool clipped_out(const SkMatrix& matrix, const SkRasterClip& clip, argument
1260 clipHandlesSprite(const SkRasterClip& clip, int x, int y, const SkPixmap& pmap) argument
2055 const SkRasterClip& clip = *fRC; local
2139 SkRasterClip clip; local
[all...]
/external/ImageMagick/coders/
H A DAndroid.mk33 clip.c\
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_validate.c272 draw->pipeline.clip->next = next;
273 next = draw->pipeline.clip;
H A Ddraw_private.h79 float clip[4]; member in struct:vertex_header
109 struct draw_stage *clip; member in struct:draw_context::__anon14444
219 boolean force_passthrough; /**< never clip or shade */
H A Ddraw_cliptest_tmp.h67 out->clip[i] = clipvertex[i];
106 * for user clipping check if we have a clip distance output
114 /* first four clip distance in first vector etc. */
/external/skia/gm/
H A Demptypath.cpp29 const SkRect& clip,
38 canvas->clipRect(clip);
27 drawEmpty(SkCanvas* canvas, SkColor color, const SkRect& clip, SkPaint::Style style, SkPath::FillType fill) argument
H A Dlinepaths.cpp16 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join,
27 canvas->clipRect(clip);
15 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPath::FillType fill, SkScalar strokeWidth) argument
/external/skia/include/core/
H A DSkRegion.h140 * drawn by the path (with no antialiasing) with the specified clip.
142 bool setPath(const SkPath&, const SkRegion& clip);
340 * this region intersected with the specified clip rectangle.
344 Cliperator(const SkRegion&, const SkIRect& clip);
/external/skia/samplecode/
H A DSampleClip.cpp109 SkAAClip clip; local
111 clip.setRect(r);
/external/skia/src/gpu/
H A DGrSWMaskHelper.cpp42 * Draw a single rect element of the clip stack into the accumulation bitmap
55 * Draw a single path element of the clip stack into the accumulation bitmap
157 const GrClip& clip,
183 renderTargetContext->addMeshDrawOp(pipelineBuilder, clip, std::move(op));
153 DrawToTargetWithShapeMask(sk_sp<GrTextureProxy> proxy, GrRenderTargetContext* renderTargetContext, GrPaint&& paint, const GrUserStencilSettings& userStencilSettings, const GrClip& clip, const SkMatrix& viewMatrix, const SkIPoint& textureOriginInDeviceSpace, const SkIRect& deviceSpaceRectToDraw) argument
/external/skia/src/xps/
H A DSkXPSDevice.h247 HRESULT clip(IXpsOMVisual* xpsVisual);
268 const SkIRect& clip, SkIRect* clipIRect);
/external/freetype/src/smooth/
H A Dftgrays.c1835 FT_BBox cbox, clip; local
1914 /* compute clip box from target pixmap */
1915 clip.xMin = 0;
1916 clip.yMin = 0;
1917 clip.xMax = (FT_Pos)target_map->width;
1918 clip.yMax = (FT_Pos)target_map->rows;
1921 clip = params->clip_box;
1924 clip.xMin = -32768L;
1925 clip.yMin = -32768L;
1926 clip
[all...]
/external/pdfium/third_party/freetype/src/smooth/
H A Dftgrays.c1789 FT_BBox* clip; local
1795 /* clip to target bitmap, exit if nothing to do */
1796 clip = &ras.clip_box;
1798 if ( ras.max_ex <= clip->xMin || ras.min_ex >= clip->xMax ||
1799 ras.max_ey <= clip->yMin || ras.min_ey >= clip->yMax )
1802 if ( ras.min_ex < clip->xMin ) ras.min_ex = clip->xMin;
1803 if ( ras.min_ey < clip
[all...]
/external/mesa3d/src/gallium/auxiliary/cso_cache/
H A Dcso_context.c112 struct pipe_clip_state clip; member in struct:cso_context
774 /* clip state */
792 const struct pipe_clip_state *clip)
794 if (clip_state_cmp(&ctx->clip, clip)) {
795 clip_state_cpy(&ctx->clip, clip);
796 ctx->pipe->set_clip_state(ctx->pipe, clip);
803 clip_state_cpy(&ctx->clip_saved, &ctx->clip);
809 if (clip_state_cmp(&ctx->clip,
791 cso_set_clip(struct cso_context *ctx, const struct pipe_clip_state *clip) argument
[all...]
H A Dcso_context.h173 /* clip state */
177 const struct pipe_clip_state *clip);
/external/eigen/bench/btl/data/
H A Dgnuplot_common_settings.hh2 set clip one

Completed in 616 milliseconds

1234567891011>>