Searched defs:pixbuf (Results 1 - 25 of 32) sorted by relevance

12

/inkscape/src/widgets/
H A Ddash-selector.h48 * Fill a pixbuf with the dash pattern using standard cairo drawing
53 * Fill a pixbuf with text standard cairo drawing
78 Gtk::TreeModelColumn<Glib::RefPtr<Gdk::Pixbuf> > pixbuf; member in class:SPDashSelector::DashColumns
81 add(dash); add(pixbuf);
H A Dgradient-image.cpp196 GdkPixbuf *pixbuf = ink_pixbuf_create_from_cairo_surface(s); local
197 return pixbuf;
H A Ddash-selector.cpp89 row[dash_columns.pixbuf] = Glib::wrap(sp_dash_to_pixbuf(dashes[i]));
94 row[dash_columns.pixbuf] = Glib::wrap(sp_text_to_pixbuf((char *)"Custom"));
109 Glib::RefPtr<Gdk::Pixbuf> pixbuf = (*row)[dash_columns.pixbuf]; local
110 image_renderer.property_pixbuf() = pixbuf;
239 * Fill a pixbuf with the dash pattern using standard cairo drawing
260 GdkPixbuf* pixbuf = ink_pixbuf_create_from_cairo_surface(s); local
261 return pixbuf;
265 * Fill a pixbuf with a text label using standard cairo drawing
283 GdkPixbuf* pixbuf local
[all...]
H A Dgradient-selector.h90 add(pixbuf);
98 Gtk::TreeModelColumn<Glib::RefPtr<Gdk::Pixbuf> > pixbuf; member in class:SPGradientSelector::ModelColumns
H A Dstroke-marker-selector.cpp547 GdkPixbuf *pixbuf = svg_preview_cache.get_preview_from_cache(key); // no ref created local
549 if (!pixbuf) {
550 pixbuf = render_pixbuf(drawing, 0.8, *dbox, psize);
551 svg_preview_cache.set_preview_in_cache(key, pixbuf);
552 g_object_unref(pixbuf); // reference is held by svg_preview_cache
556 Gtk::Image *pb = Glib::wrap(GTK_IMAGE(gtk_image_new_from_pixbuf(pixbuf)));
H A Deek-preview.cpp106 GdkPixbuf *pixbuf)
110 priv->previewPixbuf = pixbuf;
105 eek_preview_set_pixbuf(EekPreview *preview, GdkPixbuf *pixbuf) argument
/inkscape/src/
H A Dsp-image.h50 Inkscape::Pixbuf *pixbuf; member in class:SPImage
68 void apply_profile(Inkscape::Pixbuf *pixbuf);
H A Dknot.h69 void* pixbuf; member in class:SPKnot
118 * Update knot's pixbuf and set its control state.
H A Dsp-cursor.cpp117 GdkPixbuf *pixbuf = gdk_pixbuf_new_from_xpm_data((const gchar **)xpm); local
119 if (pixbuf) {
121 pixbuf, hot_x, hot_y);
123 g_object_unref(pixbuf);
H A Dsp-image.cpp130 this->pixbuf = 0;
162 delete this->pixbuf;
163 this->pixbuf = NULL;
258 void SPImage::apply_profile(Inkscape::Pixbuf *pixbuf) { argument
262 pixbuf->ensurePixelFormat(Inkscape::Pixbuf::PF_GDK);
263 int imagewidth = pixbuf->width();
264 int imageheight = pixbuf->height();
265 int rowstride = pixbuf->rowstride();;
266 guchar* px = pixbuf->pixels();
334 delete this->pixbuf;
338 Inkscape::Pixbuf *pixbuf = NULL; local
614 GdkPixbuf *pixbuf = gdk_pixbuf_new_from_xpm_data((const gchar **) brokenimage_xpm); local
[all...]
/inkscape/src/ui/tool/
H A Dselectable-control-point.cpp37 Glib::RefPtr<Gdk::Pixbuf> pixbuf,
40 ControlPoint(d, initial_pos, anchor, pixbuf, cset, group),
36 SelectableControlPoint(SPDesktop *d, Geom::Point const &initial_pos, SPAnchorType anchor, Glib::RefPtr<Gdk::Pixbuf> pixbuf, ControlPointSelection &sel, ColorSet const &cset, SPCanvasGroup *group) argument
H A Dcontrol-point.cpp67 Glib::RefPtr<Gdk::Pixbuf> pixbuf,
79 "anchor", (SPAnchorType) anchor, "size", (gdouble) pixbuf->get_width(),
80 "shape", SP_CTRL_SHAPE_BITMAP, "pixbuf", pixbuf->gobj(),
188 g_object_get(_canvas_item, "pixbuf", &ret, NULL);
211 g_object_set(_canvas_item, "pixbuf", Glib::unwrap(p), NULL);
66 ControlPoint(SPDesktop *d, Geom::Point const &initial_pos, SPAnchorType anchor, Glib::RefPtr<Gdk::Pixbuf> pixbuf, ColorSet const &cset, SPCanvasGroup *group) argument
/inkscape/src/ui/widget/
H A Daddtoicon.cpp142 GdkPixbuf *pixbuf = sp_pixbuf_new(Inkscape::ICON_SIZE_BUTTON, active ? INKSCAPE_ICON("list-add") : INKSCAPE_ICON("edit-delete")); local
143 property_pixbuf() = Glib::wrap(pixbuf);
H A Dcolor-preview.cpp179 GdkPixbuf* pixbuf = ink_pixbuf_create_from_cairo_surface(s); local
180 return pixbuf;
H A Dhighlight-picker.cpp136 GdkPixbuf* pixbuf = gdk_pixbuf_new_from_data( cairo_image_surface_get_data(s), local
140 convert_pixbuf_argb32_to_normal(pixbuf);
142 property_pixbuf() = Glib::wrap(pixbuf);
168 * Note that this is a hack intended to save memory. When the pixbuf is in Cairo's format,
183 * Once this is done, the pixbuf can be used with GTK again.
/inkscape/src/display/
H A Dsodipodi-ctrl.h10 #include <gdk-pixbuf/gdk-pixbuf.h>
52 GdkPixbuf * pixbuf; member in struct:SPCtrl
H A Dsodipodi-ctrl.cpp56 ARG_PIXBUF, g_param_spec_pointer ("pixbuf", "pixbuf", "Pixbuf", (GParamFlags) G_PARAM_READWRITE));
78 GdkPixbuf * pixbuf = NULL; local
111 pixbuf = (GdkPixbuf*) g_value_get_pointer(value);
112 // A pixbuf defines it's own size, don't mess about with size.
113 ctrl->width = gdk_pixbuf_get_width(pixbuf) / 2.0;
114 ctrl->height = gdk_pixbuf_get_height(pixbuf) / 2.0;
115 if (gdk_pixbuf_get_has_alpha(pixbuf)) {
116 ctrl->pixbuf = pixbuf;
[all...]
/inkscape/src/ui/cache/
H A Dsvg_preview_cache.cpp64 GdkPixbuf* pixbuf = ink_pixbuf_create_from_cairo_surface(s); local
65 return pixbuf;
/inkscape/src/trace/
H A Dtrace.cpp338 if (!img->pixbuf)
341 GdkPixbuf *raw_pb = img->pixbuf->getPixbufRaw(false);
343 if (img->pixbuf->pixelFormat() == Inkscape::Pixbuf::PF_CAIRO) {
351 Glib::RefPtr<Gdk::Pixbuf> pixbuf = Glib::wrap(trace_pb, false); local
356 sioxProcessImage(img, pixbuf);
359 return pixbuf;
368 return pixbuf;
424 GdkPixbuf *trace_pb = gdk_pixbuf_copy(img->pixbuf->getPixbufRaw(false));
425 if (img->pixbuf->pixelFormat() == Inkscape::Pixbuf::PF_CAIRO) {
433 Glib::RefPtr<Gdk::Pixbuf> pixbuf local
[all...]
/inkscape/src/libdepixelize/priv/
H A Dpixelgraph.h28 #include <gdkmm/pixbuf.h>
99 PixelGraph(Glib::RefPtr<Gdk::Pixbuf const> pixbuf);
268 // The data representation follows the image data pattern from gdk-pixbuf.
271 // "Image data in a pixbuf is stored in memory in uncompressed, packed
280 inline PixelGraph::PixelGraph(Glib::RefPtr<Gdk::Pixbuf const> pixbuf) : argument
281 _width(pixbuf->get_width()),
282 _height(pixbuf->get_height()),
289 guint8 *pixels = pixbuf->get_pixels();
291 const int n_channels = pixbuf->get_n_channels();
292 const int rowpadding = pixbuf
[all...]
/inkscape/src/trace/potrace/
H A Dinkscape-potrace.cpp205 static GrayMap *filter(PotraceTracingEngine &engine, GdkPixbuf * pixbuf) argument
207 if (!pixbuf)
215 RgbMap *rgbmap = gdkPixbufToRgbMap(pixbuf);
227 GrayMap *gm = gdkPixbufToGrayMap(pixbuf);
254 GrayMap *gm = gdkPixbufToGrayMap(pixbuf);
279 static IndexedMap *filterIndexed(PotraceTracingEngine &engine, GdkPixbuf * pixbuf) argument
281 if (!pixbuf)
286 RgbMap *gm = gdkPixbufToRgbMap(pixbuf);
320 GdkPixbuf *pixbuf = thePixbuf->gobj(); local
325 IndexedMap *gm = filterIndexed(*this, pixbuf);
601 trace(Glib::RefPtr<Gdk::Pixbuf> pixbuf) argument
[all...]
/inkscape/src/ui/dialog/
H A Dpixelartdialog.cpp80 Glib::RefPtr<Gdk::Pixbuf> pixbuf; member in struct:Inkscape::UI::Dialog::PixelArtDialogImpl::Input
382 input.pixbuf = Glib::wrap(img->pixbuf->getPixbufRaw(), true);
386 if ( input.pixbuf->get_width() > 256
387 || input.pixbuf->get_height() > 256 ) {
421 if ( input.pixbuf->get_width() > 256 || input.pixbuf->get_height() > 256 ) {
433 output.push_back(Output(Tracer::Kopf2011::to_voronoi(input.pixbuf,
437 output.push_back(Output(Tracer::Kopf2011::to_splines(input.pixbuf,
H A Dsymbols.cpp749 Glib::RefPtr<Gdk::Pixbuf> pixbuf = draw_symbol( symbol ); local
751 if( pixbuf ) {
755 (*row)[columns->symbol_image] = pixbuf;
826 Glib::RefPtr<Gdk::Pixbuf> pixbuf(NULL);
828 // of this user interface and we've already cached the pixbuf in the gtklist
849 pixbuf = Glib::wrap(render_pixbuf(renderDrawing, scale, *dbox, psize));
852 return pixbuf;
/inkscape/src/extension/internal/pdfinput/
H A Dpdf-input.cpp482 * \brief Copies image data from a Cairo surface to a pixbuf
490 GdkPixbuf *pixbuf)
503 pixbuf_data = gdk_pixbuf_get_pixels (pixbuf);
504 pixbuf_rowstride = gdk_pixbuf_get_rowstride (pixbuf);
505 pixbuf_n_channels = gdk_pixbuf_get_n_channels (pixbuf);
507 if (cairo_width > gdk_pixbuf_get_width (pixbuf))
508 cairo_width = gdk_pixbuf_get_width (pixbuf);
509 if (cairo_height > gdk_pixbuf_get_height (pixbuf))
510 cairo_height = gdk_pixbuf_get_height (pixbuf);
546 // Create the pixbuf fo
488 copy_cairo_surface_to_pixbuf(cairo_surface_t *surface, unsigned char *data, GdkPixbuf *pixbuf) argument
[all...]
/inkscape/src/libgdl/
H A Dgdl-dock-item-grip.c70 GdkPixbuf *pixbuf; local
75 g_object_get (G_OBJECT (grip->item), "pixbuf-icon", &pixbuf, NULL);
84 else if (pixbuf) {
85 image = GTK_IMAGE(gtk_image_new_from_pixbuf (pixbuf));

Completed in 195 milliseconds

12