Searched refs:clip (Results 1 - 25 of 34) sorted by relevance

12

/inkscape/src/display/
H A Dnr-filter-image.h39 void set_clip( unsigned int clip );
H A Ddrawing-group.cpp121 i->clip(dc, area);
H A Dnr-filter-image.cpp249 // clip top/bottom
253 // clip sides
314 void FilterImage::set_clip( unsigned int clip ) {
315 aspect_clip = clip;
H A Dnr-filter-gaussian.cpp70 template<typename T> static inline T clip(T const& v, T const& a, T const& b) { function
196 stepsize_l2 = clip(static_cast<int>(log(deviation*(3./2.))/log(2.)), 0, 12);
202 stepsize_l2 = clip(static_cast<int>(log(deviation*(3./4.))/log(2.)), 0, 12);
208 stepsize_l2 = clip(static_cast<int>(log(deviation*(3./16.))/log(2.)), 0, 12);
218 stepsize_l2 = clip(static_cast<int>(log(deviation*(3./8.))/log(2.)), 0, 12);
H A Ddrawing-context.h95 void clip() { cairo_clip(_ct); } function in class:Inkscape::DrawingContext
H A Ddrawing-image.cpp110 dc.clip();
H A Ddrawing-item.h137 void clip(DrawingContext &dc, Geom::IntRect const &area);
H A Ddrawing-item.cpp200 // initially I wanted to return NULL if we are a clip or mask child,
244 /// Delete all regular children of this item (not mask or clip).
768 // Note 2: We only need to render carea of clip and mask, but
783 // Since clip can be combined with opacity, the result could be incorrect
784 // for overlapping clip children. To fix this we use the SOURCE operator
790 _clip->clip(ict, *carea); // fixme: carea or area?
839 // 5. Render object inside the composited mask + clip
871 // just render everything: item, clip, mask
875 // render clip and mask, if any
900 DrawingItem::clip(Inkscap function in class:Inkscape::DrawingItem
[all...]
/inkscape/src/filters/
H A Dimage.cpp143 unsigned int align, clip; local
178 clip = SP_ASPECT_MEET;
182 clip = SP_ASPECT_MEET;
184 clip = SP_ASPECT_SLICE;
190 this->aspect_clip = clip;
/inkscape/src/
H A Dsp-use.cpp439 SPObject *clip = clip_ref->getObject()->firstChild() ; local
440 while(clip){
441 SPItem *item = (SPItem*) clip;
445 item->doWriteTransform(clip->getRepr(),item->transform, &identity);
447 clip = clip->getNext();
483 SPObject *clip = clip_ref->getObject()->firstChild() ; local
484 while(clip){
485 SPItem *item = (SPItem*) clip;
489 item->doWriteTransform(clip
[all...]
H A Dsp-item.h378 static void clip_ref_changed(SPObject *old_clip, SPObject *clip, SPItem *item);
379 static void mask_ref_changed(SPObject *old_clip, SPObject *clip, SPItem *item);
380 static void fill_ps_ref_changed(SPObject *old_clip, SPObject *clip, SPItem *item);
381 static void stroke_ps_ref_changed(SPObject *old_clip, SPObject *clip, SPItem *item);
H A Dviewbox.cpp141 unsigned int clip = SP_ASPECT_MEET; local
149 clip = SP_ASPECT_MEET;
151 clip = SP_ASPECT_SLICE;
159 this->aspect_clip = clip;
H A Dselection-chemistry.h131 void sp_selection_edit_clip_or_mask(SPDesktop * dt, bool clip);
/inkscape/src/live_effects/
H A Dlpe-line_segment.cpp60 boost::optional<Geom::LineSegment> intersection_segment = Geom::Line(A, B).clip(dummyRect);
/inkscape/share/extensions/
H A Dink2canvas.py69 clip = None
H A Dfuncplot.py221 self.OptionParser.add_option("--clip",
223 dest="clip", default=False,
224 help="If True, clip with copy of source rectangle")
301 # option whether to clip the path with rect or not.
302 if self.options.clip:
306 clip = inkex.etree.SubElement(defs,inkex.addNS('clipPath','svg'))
307 clip.append(deepcopy(node))
309 clip.set('id', clipId)
310 newpath.set('clip-path', 'url(#'+clipId+')')
H A Dedge3d.py118 # make a clipped group, clip with clone of original, clipped group
120 clip = inkex.etree.SubElement(defs,inkex.addNS('clipPath','svg'))
121 clip.append(copy.deepcopy(node))
123 clip.set('id', clipId)
126 clipG.set('clip-path', 'url(#'+clipId+')')
/inkscape/src/ui/widget/
H A Dcolor-preview.cpp78 cr->clip();
/inkscape/src/2geom/
H A Dconic_section_clipper_impl.cpp370 * This method clip the section conic wrt the rectangle and returns the inner
373 bool CLIPPER_CLASS::clip (std::vector<RatQuad> & arcs) function in class:Geom::CLIPPER_CLASS
389 boost::optional<LineSegment> ls1 = Geom::clip (l1, R);
405 boost::optional<LineSegment> ls2 = Geom::clip (l2, R);
496 //DBGPRINT ("CLIP: clip: P = ", paired_points[i])
497 //DBGPRINT ("CLIP: clip: M = ", inner_points[j])
498 //DBGPRINT ("CLIP: clip: Q = ", paired_points[i+1])
557 } // end method clip
H A Dline.h287 boost::optional<LineSegment> clip(Rect const &r) const;
525 boost::optional<LineSegment> clip(Line const &l, Rect const &r) { function in namespace:Geom
526 return l.clip(r);
H A Dconic_section_clipper_impl.h110 bool clip (std::vector<RatQuad> & arcs);
H A Dbezier-clipping.cpp271 OptInterval clip(std::vector<Point> const& A,
489 OptInterval clip<intersection_point_tag> (std::vector<Point> const& A, function in namespace:Geom::detail::bezier_clipping
700 OptInterval clip<collinear_normal_tag> (std::vector<Point> const& A, function in namespace:Geom::detail::bezier_clipping
789 dom = clip<intersection_point_tag>(*C1, *C2, precision);
938 dom = clip<collinear_normal_tag>(*C1, *C2, precision);
1065 * input: clip - the routine used for clipping
/inkscape/src/extension/internal/pdfinput/
H A Dpdf-parser.cpp271 // Manipulate clip path stack
281 ClipHistoryEntry *saved; // next clip path on stack
307 clip(clipNone),
335 // do not clip if it's not needed
344 state->clip();
364 clip(clipNone),
1586 // clip to bbox
1594 state->clip();
1595 //builder->clip(state);
1599 // clip t
[all...]
H A Dsvg-builder.h160 void clip(GfxState *state, bool even_odd=false);
H A Dpdf-parser.h163 GfxClipType clip; // do a clip? member in class:PdfParser
178 ClipHistoryEntry *clipHistory; // clip path stack

Completed in 94 milliseconds

12