Searched defs:view (Results 1 - 25 of 33) sorted by relevance

12

/inkscape/src/helper/
H A Daction-context.cpp17 #include "ui/view/view.h"
33 ActionContext::ActionContext(UI::View::View *view) argument
35 , _view(view)
37 SPDesktop *desktop = static_cast<SPDesktop *>(view);
49 // Should be the same as the view's document, if view is non-NULL
/inkscape/src/ui/view/
H A Dview-widget.cpp12 #include "view.h"
13 #include "view-widget.h"
37 vw->view = NULL;
41 * Callback to disconnect from view and destroy SPViewWidget.
49 if (vw->view) {
50 vw->view->close();
51 Inkscape::GC::release(vw->view);
52 vw->view = NULL;
62 void sp_view_widget_set_view(SPViewWidget *vw, Inkscape::UI::View::View *view) argument
66 g_return_if_fail(view !
[all...]
H A Dview-widget.h33 #define SP_VIEW_WIDGET_VIEW(w) (SP_VIEW_WIDGET (w)->view)
34 #define SP_VIEW_WIDGET_DOCUMENT(w) (SP_VIEW_WIDGET (w)->view ? ((SPViewWidget *) (w))->view->doc : NULL)
42 * Connects widget to view's 'resized' signal and calls virtual set_view()
45 void sp_view_widget_set_view(SPViewWidget *vw, Inkscape::UI::View::View *view);
66 Inkscape::UI::View::View *view; member in class:SPViewWidget
73 void setView(Inkscape::UI::View::View *view) { argument
74 sp_view_widget_set_view(this, view);
91 /* Virtual method to set/change/remove view */
92 void (* set_view) (SPViewWidget *vw, Inkscape::UI::View::View *view);
[all...]
/inkscape/src/extension/implementation/
H A Dimplementation.cpp25 #include "ui/view/view.h"
41 Gtk::Widget *Implementation::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, sigc::signal<void> * changeSignal, ImplementationDocumentCache * /*docCache*/) argument
47 SPDocument * current_document = view->doc();
49 std::vector<SPItem*> selected = ((SPDesktop *)view)->getSelection()->itemList();
H A Dimplementation.h59 ImplementationDocumentCache (Inkscape::UI::View::View * view) : argument
60 _view(view)
65 Inkscape::UI::View::View const * view ( ) { return _view; }; function in class:Inkscape::Extension::Implementation::ImplementationDocumentCache::Inkscape::UI::View
119 Inkscape::UI::View::View *view,
/inkscape/src/extension/internal/
H A Dgrid.cpp179 \param view Unused today - may get style information in the future.
184 Grid::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, sigc::signal<void> * changeSignal, Inkscape::Extension::Implementation::ImplementationDocumentCache * /*docCache*/) argument
186 SPDocument * current_document = view->doc();
188 std::vector<SPItem*> selected = ((SPDesktop *)view)->getSelection()->itemList();
/inkscape/src/extension/plugins/grid2/
H A Dgrid.cpp185 \param view Unused today - may get style information in the future.
190 Grid::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, sigc::signal<void> * changeSignal, Inkscape::Extension::Implementation::ImplementationDocumentCache * /*docCache*/) argument
192 SPDocument * current_document = view->doc();
194 std::vector<SPItem*> selected = ((SPDesktop *)view)->getSelection()->itemList();
/inkscape/src/ui/dialog/
H A Dmemory.cpp95 view.set_model(model);
96 view.append_column(_("Heap"), columns.name);
97 view.append_column(_("In Use"), columns.used);
100 view.append_column(_("Slack"), columns.slack);
101 view.append_column(_("Total"), columns.total);
111 Gtk::TreeView view; member in struct:Inkscape::UI::Dialog::Memory::Private
212 _getContents()->add(_private.view);
/inkscape/src/2geom/numeric/
H A Dvector.h4 * on a "view" is actually performed on the "viewed object"
347 // warning! these operations invalidate any view of the passed vector objects
562 const VectorView & const_vector_view_cast (const ConstVectorView & view) argument
565 = static_cast<const detail::BaseVectorImpl &>(view);
571 VectorView & const_vector_view_cast (ConstVectorView & view) argument
574 = static_cast<detail::BaseVectorImpl &>(view);
/inkscape/src/
H A Devent-log.cpp51 ConnectionMatcher(Gtk::TreeView *view, argument
53 _view(view),
232 // update the view
280 // update the view
329 // update the view
H A Dinkview.cpp51 #include "svg-view.h"
52 #include "svg-view-widget.h"
78 GtkWidget *view; member in struct:SPSlideShow
227 ss.view = NULL;
320 ss.view = sp_svg_view_widget_new (ss.doc);
322 SP_SVG_VIEW_WIDGET(ss.view)->setResize( false, ss.doc->getWidth().value("px"), ss.doc->getHeight().value("px") );
323 gtk_widget_show (ss.view);
324 gtk_container_add (GTK_CONTAINER (w), ss.view);
467 reinterpret_cast<SPSVGView*>(SP_VIEW_WIDGET_VIEW (ss->view))->setDocument (doc);
H A Dsp-clippath.cpp41 static SPClipPathView* sp_clippath_view_list_remove(SPClipPathView *list, SPClipPathView *view);
281 sp_clippath_view_list_remove(SPClipPathView *list, SPClipPathView *view) argument
283 if (view == list) {
288 while (prev->next != view) prev = prev->next;
289 prev->next = view->next;
292 delete view->arenaitem;
293 g_free(view);
H A Dsp-hatch-path.cpp237 void SPHatchPath::_updateView(View &view) argument
239 SPCurve *calculated_curve = _calculateRenderCurve(view);
242 view.arenaitem->setTransform(offset_transform);
244 view.arenaitem->setStyle(style);
245 view.arenaitem->setPath(calculated_curve);
250 SPCurve *SPHatchPath::_calculateRenderCurve(View const &view) const
254 if (!view.extents) {
259 calculated_curve->moveto(0, view.extents->min());
260 calculated_curve->lineto(0, view.extents->max());
265 gdouble initial_y = floor(view
[all...]
H A Dsp-marker.cpp320 * removes the old view of the marker and establishes a new one, registering
372 SPMarkerView *view = &(it->second); local
373 if (pos >= view->items.size() ) {
379 if (view->items[pos] == NULL) {
382 view->items[pos] = marker->private_show(parent->drawing(), key, SP_ITEM_REFERENCE_FLAGS);
384 if (view->items[pos]) {
386 parent->prependChild(view->items[pos]);
387 Inkscape::DrawingGroup *g = dynamic_cast<Inkscape::DrawingGroup *>(view->items[pos]);
392 if (view->items[pos]) {
408 view
[all...]
H A Dsp-mask.cpp38 SPMaskView *sp_mask_view_list_remove (SPMaskView *list, SPMaskView *view);
302 sp_mask_view_list_remove (SPMaskView *list, SPMaskView *view) argument
304 if (view == list) {
309 while (prev->next != view) prev = prev->next;
310 prev->next = view->next;
313 delete view->arenaitem;
314 g_free (view);
H A Dsvg-view-widget.cpp2 * Functions and callbacks for generic SVG view and widget.
21 #include "svg-view.h"
22 #include "svg-view-widget.h"
40 static void sp_svg_view_widget_view_resized (SPViewWidget *vw, Inkscape::UI::View::View *view, gdouble width, gdouble height);
123 Inkscape::UI::View::View *view = Inkscape::GC::release(new SPSVGView (SP_CANVAS_GROUP (parent))); local
124 sp_view_widget_set_view (SP_VIEW_WIDGET (vw), view); local
228 static void sp_svg_view_widget_view_resized(SPViewWidget *vw, Inkscape::UI::View::View */*view*/, gdouble width, gdouble height)
H A Dshortcuts.cpp68 sp_shortcut_invoke(unsigned int shortcut, Inkscape::UI::View::View *view) argument
72 SPAction *action = verb->get_action(Inkscape::ActionContext(view));
H A Dsp-hatch.cpp526 View& view = _display.front(); local
527 _updateView(view);
581 void SPHatch::_updateView(View &view) argument
583 RenderInfo info = _calculateRenderInfo(view);
590 view.arenaitem->setChildTransform(info.child_transform);
591 view.arenaitem->setPatternToUserTransform(info.pattern_to_user_transform);
592 view.arenaitem->setTileRect(info.tile_rect);
593 view.arenaitem->setStyle(style);
594 view.arenaitem->setOverflow(info.overflow_initial_transform, info.overflow_steps,
598 SPHatch::RenderInfo SPHatch::_calculateRenderInfo(View const &view) cons
[all...]
H A Dverbs.cpp486 * @param view Which view the action should be created for.
610 * This function will get the action for a given view for this verb. It
618 * removed. Also, if the view being created is based on the same
619 * document as a view already created, the sensitivity should be the
620 * same as views on that document. A view with the same document is
736 * A function to remove the action associated with a view.
742 * @param view Which view's actions should be removed.
745 void Verb::delete_view(Inkscape::UI::View::View *view) argument
777 delete_all_view(Inkscape::UI::View::View *view) argument
[all...]
/inkscape/src/extension/internal/bitmap/
H A Dimagemagick.cpp53 ImageMagickDocCache(Inkscape::UI::View::View * view);
57 ImageMagickDocCache::ImageMagickDocCache(Inkscape::UI::View::View * view) : argument
58 Inkscape::Extension::Implementation::ImplementationDocumentCache(view),
67 SPDesktop *desktop = (SPDesktop*)view;
147 ImageMagick::newDocCache (Inkscape::Extension::Extension * /*ext*/, Inkscape::UI::View::View * view) { argument
148 return new ImageMagickDocCache(view);
229 \param view Unused today - may get style information in the future.
234 ImageMagick::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, sigc::signal<void> * changeSignal, Inkscape::Extension::Implementation::ImplementationDocumentCache * /*docCache*/) argument
236 SPDocument * current_document = view->doc();
238 std::vector<SPItem*> selected = ((SPDesktop *)view)
[all...]
/inkscape/src/ui/
H A Dpreviewholder.cpp224 void PreviewHolder::setStyle( ::PreviewSize size, ViewType view, guint ratio, ::BorderStyle border ) argument
226 if ( size != _baseSize || view != _view || ratio != _ratio || border != _border ) {
228 _view = view;
/inkscape/src/widgets/
H A Dbutton.cpp261 /* temporarily lobotomized until SPActions are per-view */
290 GtkWidget *sp_button_new_from_data(Inkscape::IconSize size, SPButtonType type, Inkscape::UI::View::View *view, argument
294 SPAction *action = sp_action_new(Inkscape::ActionContext(view), name, name, tip, name, 0);
H A Dselect-toolbar.cpp351 static GtkAction* create_action_for_verb( Inkscape::Verb* verb, Inkscape::UI::View::View* view, Inkscape::IconSize size ) argument
355 SPAction* targetAction = verb->get_action(Inkscape::ActionContext(view));
368 Inkscape::UI::View::View *view = desktop; local
377 act = create_action_for_verb( Inkscape::Verb::get(SP_VERB_EDIT_SELECT_ALL), view, secondarySize );
379 act = create_action_for_verb( Inkscape::Verb::get(SP_VERB_EDIT_SELECT_ALL_IN_ALL_LAYERS), view, secondarySize );
381 act = create_action_for_verb( Inkscape::Verb::get(SP_VERB_EDIT_DESELECT), view, secondarySize );
385 act = create_action_for_verb( Inkscape::Verb::get(SP_VERB_OBJECT_ROTATE_90_CCW), view, secondarySize );
388 act = create_action_for_verb( Inkscape::Verb::get(SP_VERB_OBJECT_ROTATE_90_CW), view, secondarySize );
391 act = create_action_for_verb( Inkscape::Verb::get(SP_VERB_OBJECT_FLIP_HORIZONTAL), view, secondarySize );
394 act = create_action_for_verb( Inkscape::Verb::get(SP_VERB_OBJECT_FLIP_VERTICAL), view, secondarySiz
[all...]
H A Deek-preview.cpp72 ViewType view; member in struct:__anon156
182 if ( priv->view == VIEW_TYPE_LIST ) {
799 ViewType view,
808 priv->view = view;
857 priv->view = VIEW_TYPE_LIST;
798 eek_preview_set_details(EekPreview *preview, ViewType view, PreviewSize size, guint ratio, guint border) argument
/inkscape/share/extensions/
H A DjessyInk.js388 // Create a view group.
411 var views = getElementsByPropertyNS(node, NSS["jessyink"], "view");
414 // Set initial view even if there are no other views.
421 var dict = propStrToDict(element.getAttributeNS(NSS["jessyink"], "view"));
457 // Consolidate view array and append it to the effect array.
788 else if (effectArray[counter]["effect"] == "view")
789 done &= view(parseInt(effectArray[counter]["dir"]) * dir, effectArray[counter]["element"], transCounter, effectArray[counter]["options"]);
860 /** Function to set the active slide in the slide view.
884 /** Function to set the active slide in the index view.
903 /** Function to set the page and active slide in index view
1645 function view(dir, element, time, options) function
[all...]

Completed in 97 milliseconds

12