Lines Matching refs:SPCanvas

121  * The SPCanvas vtable.
131 GdkWindow *getWindow(SPCanvas *canvas)
905 G_DEFINE_TYPE(SPCanvas, sp_canvas, GTK_TYPE_WIDGET);
912 object_class->dispose = SPCanvas::dispose;
914 widget_class->realize = SPCanvas::handle_realize;
915 widget_class->unrealize = SPCanvas::handle_unrealize;
918 widget_class->get_preferred_width = SPCanvas::handle_get_preferred_width;
919 widget_class->get_preferred_height = SPCanvas::handle_get_preferred_height;
920 widget_class->draw = SPCanvas::handle_draw;
922 widget_class->size_request = SPCanvas::handle_size_request;
923 widget_class->expose_event = SPCanvas::handle_expose;
926 widget_class->size_allocate = SPCanvas::handle_size_allocate;
927 widget_class->button_press_event = SPCanvas::handle_button;
928 widget_class->button_release_event = SPCanvas::handle_button;
929 widget_class->motion_notify_event = SPCanvas::handle_motion;
930 widget_class->scroll_event = SPCanvas::handle_scroll;
931 widget_class->key_press_event = SPCanvas::handle_key_event;
932 widget_class->key_release_event = SPCanvas::handle_key_event;
933 widget_class->enter_notify_event = SPCanvas::handle_crossing;
934 widget_class->leave_notify_event = SPCanvas::handle_crossing;
935 widget_class->focus_in_event = SPCanvas::handle_focus_in;
936 widget_class->focus_out_event = SPCanvas::handle_focus_out;
939 static void sp_canvas_init(SPCanvas *canvas)
976 void SPCanvas::shutdownTransients()
994 void SPCanvas::dispose(GObject *object)
996 SPCanvas *canvas = SP_CANVAS(object);
1037 GtkWidget *SPCanvas::createAA()
1039 SPCanvas *canvas = SP_CANVAS(g_object_new(SP_TYPE_CANVAS, NULL));
1043 void SPCanvas::handle_realize(GtkWidget *widget)
1104 void SPCanvas::handle_unrealize(GtkWidget *widget)
1106 SPCanvas *canvas = SP_CANVAS (widget);
1120 void SPCanvas::handle_get_preferred_width(GtkWidget *widget, gint *minimum_width, gint *natural_width)
1127 void SPCanvas::handle_get_preferred_height(GtkWidget *widget, gint *minimum_height, gint *natural_height)
1134 void SPCanvas::handle_size_request(GtkWidget *widget, GtkRequisition *req)
1144 void SPCanvas::handle_size_allocate(GtkWidget *widget, GtkAllocation *allocation)
1146 SPCanvas *canvas = SP_CANVAS (widget);
1191 int SPCanvas::emitEvent(GdkEvent *event)
1301 int SPCanvas::pickCurrentItem(GdkEvent *event)
1434 gint SPCanvas::handle_button(GtkWidget *widget, GdkEventButton *event)
1436 SPCanvas *canvas = SP_CANVAS (widget);
1500 gint SPCanvas::handle_scroll(GtkWidget *widget, GdkEventScroll *event)
1516 int SPCanvas::handle_motion(GtkWidget *widget, GdkEventMotion *event)
1519 SPCanvas *canvas = SP_CANVAS (widget);
1540 void SPCanvas::paintSingleBuffer(Geom::IntRect const &paint_rect, Geom::IntRect const &canvas_rect, int /*sw*/)
1616 int SPCanvas::paintRectInternal(PaintRectSetup const *setup, Geom::IntRect const &this_rect)
1727 bool SPCanvas::paintRect(int xx0, int yy0, int xx1, int yy1)
1779 void SPCanvas::forceFullRedrawAfterInterruptions(unsigned int count)
1785 void SPCanvas::endForcedFullRedraws()
1790 gboolean SPCanvas::handle_draw(GtkWidget *widget, cairo_t *cr) {
1791 SPCanvas *canvas = SP_CANVAS(widget);
1822 gboolean SPCanvas::handle_expose(GtkWidget *widget, GdkEventExpose *event)
1828 gboolean result = SPCanvas::handle_draw(widget, cr);
1837 gint SPCanvas::handle_key_event(GtkWidget *widget, GdkEventKey *event)
1842 gint SPCanvas::handle_crossing(GtkWidget *widget, GdkEventCrossing *event)
1844 SPCanvas *canvas = SP_CANVAS (widget);
1854 gint SPCanvas::handle_focus_in(GtkWidget *widget, GdkEventFocus *event)
1858 SPCanvas *canvas = SP_CANVAS (widget);
1867 gint SPCanvas::handle_focus_out(GtkWidget *widget, GdkEventFocus *event)
1869 SPCanvas *canvas = SP_CANVAS(widget);
1878 int SPCanvas::paint()
1909 int SPCanvas::doUpdate()
1938 gint SPCanvas::idle_handler(gpointer data)
1940 SPCanvas *canvas = SP_CANVAS (data);
1949 void SPCanvas::addIdle()
1955 void SPCanvas::removeIdle()
1963 SPCanvasGroup *SPCanvas::getRoot()
1968 void SPCanvas::scrollTo(double cx, double cy, unsigned int clear, bool is_scrolling)
2029 void SPCanvas::updateNow()
2036 void SPCanvas::requestUpdate()
2042 void SPCanvas::requestRedraw(int x0, int y0, int x1, int y1)
2056 void SPCanvas::setBackgroundColor(guint32 rgba) {
2074 void SPCanvas::setBackgroundCheckerboard() {
2088 void sp_canvas_window_to_world(SPCanvas const *canvas, double winx, double winy, double *worldx, double *worldy)
2100 void sp_canvas_world_to_window(SPCanvas const *canvas, double worldx, double worldy, double *winx, double *winy)
2112 Geom::Point sp_canvas_window_to_world(SPCanvas const *canvas, Geom::Point const win)
2123 Geom::Point sp_canvas_world_to_window(SPCanvas const *canvas, Geom::Point const world)
2134 bool sp_canvas_world_pt_inside_window(SPCanvas const *canvas, Geom::Point const &world)
2153 Geom::Rect SPCanvas::getViewbox() const
2165 Geom::IntRect SPCanvas::getViewboxIntegers() const
2186 void SPCanvas::dirtyRect(Geom::IntRect const &area) {
2190 void SPCanvas::dirtyAll() {
2197 void SPCanvas::markRect(Geom::IntRect const &area, uint8_t val)