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

/inkscape/src/
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 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.cpp399 object->readAttr( "clip-path" );
544 void SPItem::clip_ref_changed(SPObject *old_clip, SPObject *clip, SPItem *item) argument
556 SPClipPath *clipPath = dynamic_cast<SPClipPath *>(clip);
568 clip->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
765 repr->setAttribute ("clip-path", value);
1115 // Show and set clip
1119 // Update bbox, in case the clip uses bbox units
H A Dselection-chemistry.cpp305 * then prepends the copy to 'clip'.
307 static void sp_selection_copy_one(Inkscape::XML::Node *repr, Geom::Affine full_t, std::vector<Inkscape::XML::Node*> &clip, Inkscape::XML::Document* xml_doc) argument
323 clip.insert(clip.begin(),copy);
326 static void sp_selection_copy_impl(std::vector<SPItem*> const &items, std::vector<Inkscape::XML::Node*> &clip, Inkscape::XML::Document* xml_doc) argument
336 sp_selection_copy_one(item->getRepr(), item->i2doc_affine(), clip, xml_doc);
341 reverse(clip.begin(),clip.end());
345 static std::vector<Inkscape::XML::Node*> sp_selection_paste_impl(SPDocument *doc, SPObject *parent, std::vector<Inkscape::XML::Node*> &clip) argument
354 for (std::vector<Inkscape::XML::Node*>::const_iterator l = clip
[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/extension/internal/pdfinput/
H A Dpdf-parser.h163 GfxClipType clip; // do a clip? member in class:PdfParser
178 ClipHistoryEntry *clipHistory; // clip path stack
H A Dsvg-builder.cpp496 gchar const *clip_path_url = node->attribute("clip-path");
505 node->setAttribute("clip-path", NULL);
520 void SvgBuilder::clip(GfxState *state, bool even_odd) { function in class:Inkscape::Extension::Internal::SvgBuilder
535 path->setAttribute("clip-rule", "evenodd");
543 _container->setAttribute("clip-path", urltext);
582 // Avoid transforming a group with an already set clip-path
583 if ( _container->attribute("clip-path") != NULL ) {
1461 // TODO: clip if render_mode >= 4
/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.cpp150 boost::optional<LineSegment> Line::clip(Rect const &r) const function in class:Geom::Line
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 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
H A Dconicsec.cpp47 boost::optional<LineSegment> seg = l.clip(r);
1475 bool clip (std::vector<RatQuad> & rq, const xAx & cs, const Rect & R) function in namespace:Geom
1478 return aclipper.clip (rq);
/inkscape/src/display/
H A Ddrawing-context.h95 void clip() { cairo_clip(_ct); } function in class:Inkscape::DrawingContext
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...]
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);
/inkscape/src/helper/
H A Dgeom-pathstroke.cpp147 void miter_join_internal(join_data jd, bool clip) argument
176 } else if (clip) {
201 if ((satisfied || clip) && out_ls) {
546 // See if we need to clip. Miter length is measured along a circular arc that is tangent to the
592 // We need to clip

Completed in 350 milliseconds