/inkscape/src/ |
H A D | gc-anchored.h | 35 * you. You do not need to anchor it a second time. 43 * @see Inkscape::GC::anchor 49 void anchor() const; 58 Anchored() : _anchor(NULL) { anchor(); } // initial refcount of one 74 void _free_anchor(Anchor *anchor) const; 93 static R &anchor(R &r) { function in namespace:Inkscape::GC 94 static_cast<Anchored const &>(const_cast<R const &>(r)).anchor(); 111 static R *anchor(R *r) { function in namespace:Inkscape::GC 112 static_cast<Anchored const *>(const_cast<R const *>(r))->anchor();
|
H A D | gc-anchored.cpp | 44 : BaseAnchorEvent(object, 1, Util::share_static_string("gc-anchor")) 61 void Anchored::_free_anchor(Anchored::Anchor *anchor) const { 62 delete anchor; 65 void Anchored::anchor() const { function in class:Inkscape::GC::Anchored
|
H A D | seltrans-handles.h | 48 SPAnchorType anchor; member in struct:SPSelTransHandle
|
H A D | knot.h | 57 SPAnchorType anchor; /**< Anchor. */ member in class:SPKnot
|
/inkscape/src/ui/ |
H A D | draw-anchor.cpp | 16 #include "ui/draw-anchor.h" 30 * Creates an anchor object and initializes it. 57 * Destroys the anchor's canvas item and frees the anchor object. 59 SPDrawAnchor *sp_draw_anchor_destroy(SPDrawAnchor *anchor) argument 61 if (anchor->curve) { 62 anchor->curve->unref(); 64 if (anchor->ctrl) { 65 sp_canvas_item_destroy(anchor->ctrl); 67 g_free(anchor); 75 sp_draw_anchor_test(SPDrawAnchor *anchor, Geom::Point w, bool activate) argument [all...] |
/inkscape/src/ui/tool/ |
H A D | selectable-control-point.cpp | 26 SelectableControlPoint::SelectableControlPoint(SPDesktop *d, Geom::Point const &initial_pos, SPAnchorType anchor, argument 30 ControlPoint(d, initial_pos, anchor, type, cset, group), 36 SelectableControlPoint::SelectableControlPoint(SPDesktop *d, Geom::Point const &initial_pos, SPAnchorType anchor, argument 40 ControlPoint(d, initial_pos, anchor, pixbuf, cset, group),
|
H A D | control-point.cpp | 66 ControlPoint::ControlPoint(SPDesktop *d, Geom::Point const &initial_pos, SPAnchorType anchor, argument 79 "anchor", (SPAnchorType) anchor, "size", (gdouble) pixbuf->get_width(), 88 ControlPoint::ControlPoint(SPDesktop *d, Geom::Point const &initial_pos, SPAnchorType anchor, argument 101 "anchor", anchor, 181 g_object_get(_canvas_item, "anchor", &ret, NULL); 204 void ControlPoint::_setAnchor(SPAnchorType anchor) argument 206 g_object_set(_canvas_item, "anchor", anchor, NUL [all...] |
H A D | transform-handle-set.cpp | 89 TransformHandle::TransformHandle(TransformHandleSet &th, SPAnchorType anchor, Glib::RefPtr<Gdk::Pixbuf> pb) : argument 90 ControlPoint(th._desktop, Geom::Point(), anchor, 195 ScaleHandle(TransformHandleSet &th, SPAnchorType anchor, Glib::RefPtr<Gdk::Pixbuf> pb) argument 196 : TransformHandle(th, anchor, pb)
|
/inkscape/src/display/ |
H A D | sodipodi-ctrl.h | 39 SPAnchorType anchor; member in struct:SPCtrl
|
/inkscape/src/libnrtype/ |
H A D | Layout-TNG-Input.cpp | 159 static Layout::Alignment text_anchor_to_alignment(unsigned anchor, Layout::Direction para_direction) argument 161 switch (anchor) { 174 // there's no way to tell the difference between text-anchor set higher up the cascade to the default and 175 // text-anchor never set anywhere in the cascade, so in order to detect which of text-anchor or text-align 180 // If both text-align and text-anchor are set at the same level, text-align takes
|
/inkscape/src/ui/dialog/ |
H A D | polar-arrange-tab.cpp | 219 * Returns the selected anchor point in document coordinates. If anchor 225 static Geom::Point getAnchorPoint(int anchor, SPItem *item) argument 231 switch(anchor) 250 switch(anchor) 270 if(anchor == 9) 283 * Moves an SPItem to a given location, the location is based on the given anchor point. 284 * @param anchor 0 to 8 are the various bounding box points like follows: 292 static void moveToPoint(int anchor, SPItem *item, Geom::Point p) argument 294 sp_item_move_rel(item, Geom::Translate(p - getAnchorPoint(anchor, ite 366 int anchor = 9; local [all...] |
H A D | align-and-distribute.h | 150 float anchor; member in struct:Inkscape::UI::Dialog::BBoxSort
|
/inkscape/src/extension/internal/ |
H A D | latex-text-renderer.cpp | 270 // Align vertically on the baseline of the font (retreived from the anchor point) 285 Geom::Point anchor = textobj->attributes.firstXY() * transform(); local 286 Geom::Point pos(anchor);
|
/inkscape/src/ui/tools/ |
H A D | pencil-tool.cpp | 26 #include "ui/draw-anchor.h" 168 /* Test whether we hit any anchor. */ 169 SPDrawAnchor *anchor = spdc_test_inside(this, button_w); local 193 if (anchor) { 194 p = anchor->dp; 195 this->overwrite_curve = anchor->curve; 202 // anchor, which is handled by the sibling branch above) 212 this->sa = anchor; 250 /* Test whether we hit any anchor. */ 251 SPDrawAnchor *anchor local 351 SPDrawAnchor *anchor = spdc_test_inside(this, Geom::Point(revent.x, revent.y)); local [all...] |
H A D | pen-tool.cpp | 32 #include "ui/draw-anchor.h" 236 this->ea = NULL; // unset end anchor if set (otherwise crashes) 377 //Test whether we hit any anchor. 378 SPDrawAnchor * const anchor = spdc_test_inside(this, event_w); local 382 if( anchor && anchor == this->sa && this->green_curve->is_empty()){ 453 // Set start anchor 455 this->sa = anchor; 456 if(anchor){ 459 if (anchor 588 SPDrawAnchor *anchor = spdc_test_inside(this, event_w); local 736 SPDrawAnchor *anchor = spdc_test_inside(this, event_w); local [all...] |
H A D | measure-tool.cpp | 153 * Calculates where to place the anchor for the display text and arc. 181 // Bring it in to "title safe" for the anchor point 274 * @param anchor the anchor point for displaying the text label. 278 void createAngleDisplayCurve(SPDesktop *desktop, Geom::Point const ¢er, Geom::Point const &end, Geom::Point const &anchor, double angle, bool to_phantom, std::vector<SPCanvasItem *> &measure_phantom_items , std::vector<SPCanvasItem *> &measure_tmp_items , Inkscape::XML::Node *measure_repr = NULL) argument 282 double textLen = std::abs((anchor - center).length()); 951 sp_repr_css_set_property (css, "text-anchor", "middle"); 1082 "anchor", SP_ANCHOR_CENTER,
|