Searched refs:pixels (Results 1 - 23 of 23) sorted by relevance

/inkscape/src/trace/
H A Dimagemap.cpp56 if (me->pixels)
57 free(me->pixels);
79 me->pixels = (unsigned long *)
81 if (!me->pixels)
90 free(me->pixels);
95 unsigned long *row = me->pixels;
168 if (me->pixels)
169 free(me->pixels);
195 me->pixels = (unsigned long *) malloc(sizeof(unsigned long) * width * height);
196 if (!me->pixels){
[all...]
H A Dimagemap.h74 unsigned long *pixels; member in struct:GrayMap_def
160 * The allocated array of pixels
162 unsigned long *pixels; member in struct:PackedPixelMap_def
165 * Pointers to the beginning of each row of pixels
256 * The allocated array of pixels
258 RGB *pixels; member in struct:RgbMap_def
261 * Pointers to the beginning of each row of pixels
344 * The allocated array of pixels
346 unsigned int *pixels; member in struct:IndexedMap_def
349 * Pointers to the beginning of each row of pixels
[all...]
/inkscape/src/
H A Dsplivarot.h43 void sp_selected_path_offset_screen (SPDesktop *desktop, double pixels);
45 void sp_selected_path_inset_screen (SPDesktop *desktop, double pixels);
H A Dsp-cursor.cpp27 static void free_cursor_data(unsigned char *pixels, void* /*data*/) { argument
28 delete [] reinterpret_cast<guint32*>(pixels);
H A Dtext-editing.h72 void sp_te_adjust_rotation_screen(SPItem *text, Inkscape::Text::Layout::iterator const &start, Inkscape::Text::Layout::iterator const &end, SPDesktop *desktop, double pixels);
H A Dsp-image.cpp266 guchar* px = pixbuf->pixels();
491 guchar *px = pb->pixels();
H A Dsplivarot.cpp1538 sp_selected_path_offset_screen(SPDesktop *desktop, double pixels) argument
1540 sp_selected_path_do_offset(desktop, true, pixels / desktop->current_zoom());
1544 sp_selected_path_inset_screen(SPDesktop *desktop, double pixels) argument
1546 sp_selected_path_do_offset(desktop, false, pixels / desktop->current_zoom());
H A Dtext-editing.cpp1074 sp_te_adjust_rotation_screen(SPItem *text, Inkscape::Text::Layout::iterator const &start, Inkscape::Text::Layout::iterator const &end, SPDesktop *desktop, gdouble pixels) argument
1090 gdouble degrees = (180/M_PI) * atan2(pixels, source_item->parent->style->font_size.computed / factor);
1184 // so that the entire line is expanded by by pixels, no matter what its length
1256 // so that the entire object is expanded by by pixels
/inkscape/src/extension/internal/
H A Dmetafile-inout.h50 pixel_t *pixels; member in struct:Inkscape::Extension::Internal::__anon63
H A Dmetafile-inout.cpp72 return bitmap->pixels + bitmap->width * y + x;
102 bitmap->pixels=(pixel_t *)px;
H A Dmetafile-print.h72 double _doc_unit_scale; // to pixels, regardless of the document units
101 static void swapRBinRGBA(char *px, int pixels);
H A Dmetafile-print.cpp315 void PrintMetafile::swapRBinRGBA(char *px, int pixels) argument
318 for (int i = 0; i < pixels * 4; px += 4, i += 4) {
H A Dcairo-render-context.cpp707 unsigned char *pixels = cairo_image_surface_get_data(mask_image); local
720 unsigned char *row_data = pixels + (row * stride);
H A Demf-print.cpp221 // Simplest mapping mode, supply all coordinates in pixels
481 rgba_px = (char *) pixbuf->pixels(); // Do NOT free this!!!
583 rgba_px = (char *) pixbuf->pixels(); // Do NOT free this!!!
H A Dwmf-print.cpp471 rgba_px = (char *) pixbuf->pixels(); // Do NOT free this!!!
/inkscape/src/libdepixelize/priv/
H A Dpixelgraph.h273 // pixels are stored from left to right. There may be padding at the end of
288 // Initialize the graph using the pixels' color data
289 guint8 *pixels = pixbuf->get_pixels();
298 dest->rgba[k] = pixels[k];
309 pixels += n_channels;
312 pixels += rowpadding;
319 dest->rgba[k] = pixels[k];
331 pixels += n_channels;
334 pixels += rowpadding;
/inkscape/src/display/
H A Ddrawing-surface.h39 Geom::IntPoint pixels() const;
H A Ddrawing-image.cpp202 unsigned char *const pixels = _pixbuf->pixels(); local
221 unsigned char *pix_ptr = pixels + iy * rowstride + ix * 4;
H A Dnr-filter.cpp401 void Filter::set_resolution(double const pixels) { argument
402 if (pixels > 0) {
403 _x_pixels = pixels;
404 _y_pixels = pixels;
H A Dcairo-utils.h109 guchar const *pixels() const;
110 guchar *pixels();
H A Dcairo-utils.cpp125 * The pixels formats of Cairo and GdkPixbuf are different.
126 * GdkPixbuf accesses pixels as bytes, alpha is not premultiplied,
128 * Cairo accesses pixels as 32-bit ints, alpha is premultiplied,
146 * the pixels are converted in place to the Cairo or the GdkPixbuf format.
420 guchar const *Pixbuf::pixels() const { function in class:Inkscape::Pixbuf
423 guchar *Pixbuf::pixels() { function in class:Inkscape::Pixbuf
853 * the alpha values of pixels from @a s.
1151 guchar *pixels = cairo_image_surface_get_data(s); local
1156 convert_pixels_argb32_to_pixbuf(pixels, w, h, rs);
1159 pixels, GDK_COLORSPACE_RG
[all...]
H A Ddrawing-surface.cpp30 * and the "physical space" (surface pixels). For example, patterns
41 * When a drawing context is created for this surface, its pixels
53 * When a drawing context is created for this surface, its pixels
55 * the number of pixels specified by the second argument.
97 DrawingSurface::pixels() const function in class:Inkscape::DrawingSurface
/inkscape/src/ui/dialog/
H A Dclonetiler.cpp2987 gdouble const pixels = Inkscape::Util::Quantity::convert(raw_dist, unit, "px"); local
2990 prefs->setDouble(prefs_path + "fillwidth", pixels);
2997 gdouble const pixels = Inkscape::Util::Quantity::convert(raw_dist, unit, "px"); local
3000 prefs->setDouble(prefs_path + "fillheight", pixels);

Completed in 109 milliseconds