Searched defs:stride (Results 1 - 11 of 11) sorted by relevance

/inkscape/src/2geom/numeric/
H A Dvector.h378 ConstVectorView(const base_type & _vector, size_t n, size_t offset , size_t stride) argument
379 : m_vector_view( gsl_vector_const_subvector_with_stride(_vector.get_gsl_vector(), offset, stride, n) )
392 ConstVectorView(const double* _vector, size_t n, size_t offset, size_t stride) argument
393 : m_vector_view( gsl_vector_const_view_array_with_stride(_vector + offset, stride, n) )
444 VectorView(base_type & _vector, size_t n, size_t offset = 0, size_t stride = 1)
447 if (stride == 1)
456 = gsl_vector_subvector_with_stride(_vector.get_gsl_vector(), offset, stride, n);
461 VectorView(double* _vector, size_t n, size_t offset = 0, size_t stride = 1)
464 if (stride == 1)
473 = gsl_vector_view_array_with_stride(_vector + offset, stride,
[all...]
/inkscape/src/ui/dialog/
H A Dicon-preview.cpp51 const gchar *name, unsigned int psize, unsigned &stride);
179 int stride = cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, sizes[i]); local
180 pixMem[i] = new guchar[sizes[i] * stride];
181 memset( pixMem[i], 0x00, sizes[i] * stride );
183 GdkPixbuf *pb = gdk_pixbuf_new_from_data( pixMem[i], GDK_COLORSPACE_RGB, TRUE, 8, sizes[i], sizes[i], stride, /*(GdkPixbufDestroyNotify)g_free*/NULL, NULL );
456 int stride = cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, sizes[i]); local
460 memcpy( pixMem[i], px, sizes[i] * stride );
464 memset( pixMem[i], 0, sizes[i] * stride );
/inkscape/src/helper/
H A Dpng-write.cpp333 int stride = cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, ebp->width); local
334 unsigned char *px = g_new(guchar, num_rows * stride);
337 px, CAIRO_FORMAT_ARGB32, ebp->width, num_rows, stride);
352 convert_pixels_argb32_to_pixbuf(px, ebp->width, num_rows, stride);
355 rows[r] = px + r * stride;
/inkscape/src/display/
H A Dnr-filter-gaussian.cpp492 int stride = cairo_image_surface_get_stride(src); local
501 cairo_image_surface_get_data(dest), d == Geom::X ? 1 : stride, d == Geom::X ? stride : 1,
502 cairo_image_surface_get_data(src), d == Geom::X ? 1 : stride, d == Geom::X ? stride : 1,
507 cairo_image_surface_get_data(dest), d == Geom::X ? 4 : stride, d == Geom::X ? stride : 4,
508 cairo_image_surface_get_data(src), d == Geom::X ? 4 : stride, d == Geom::X ? stride : 4,
525 int stride local
[all...]
H A Dcairo-utils.cpp813 int stride = cairo_image_surface_get_stride(s); local
815 memcpy(cairo_image_surface_get_data(ns), cairo_image_surface_get_data(s), stride * h);
897 int stride = cairo_image_surface_get_stride(src); local
899 memcpy(cairo_image_surface_get_data(dest), cairo_image_surface_get_data(src), stride * h);
932 int stride = cairo_image_surface_get_stride(surface); local
936 for (int y = 0; y < height; ++y, data += stride) {
1048 // int stride = cairo_image_surface_get_stride(surface);
1054 // for (int y = 0; y < height; ++y, data += stride) {
1091 // int stride = cairo_image_surface_get_stride(surface);
1097 // for (int y = 0; y < height; ++y, data += stride) {
1241 convert_pixels_pixbuf_to_argb32(guchar *data, int w, int h, int stride) argument
1258 convert_pixels_argb32_to_pixbuf(guchar *data, int w, int h, int stride) argument
[all...]
H A Dsp-canvas.cpp1581 int stride = cairo_image_surface_get_stride(imgs); local
1583 unsigned char *row = px + i*stride;
/inkscape/src/extension/internal/
H A Dcairo-render-context.cpp706 int stride = cairo_image_surface_get_stride(mask_image); local
720 unsigned char *row_data = pixels + (row * stride);
/inkscape/src/ui/tools/
H A Dflood-tool.cpp188 * @param stride The rowstride of the pixel buffer.
190 inline guint32 get_pixel(guchar *px, int x, int y, int stride) { argument
191 return *reinterpret_cast<guint32*>(px + y * stride + x * 4);
299 unsigned int stride; member in struct:Inkscape::UI::Tools::bitmap_coords_info
324 guint32 pixel = get_pixel(px, x, y, bci.stride);
754 int stride = cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, width); local
755 guchar *px = g_new(guchar, stride * height);
771 px, CAIRO_FORMAT_ARGB32, width, height, stride);
799 // px, CAIRO_FORMAT_ARGB32, width, height, stride);
838 bci.stride
[all...]
/inkscape/src/ui/widget/
H A Dgimpcolorwheel.c880 gint stride; local
899 stride = cairo_format_stride_for_width (CAIRO_FORMAT_RGB24, width);
900 buf = g_new (guint32, height * stride / 4);
937 width, height, stride);
1028 gint stride; local
1089 stride = cairo_format_stride_for_width (CAIRO_FORMAT_RGB24, width);
1090 buf = g_new (guint32, height * stride / 4);
1158 width, height, stride);
/inkscape/src/widgets/
H A Dicon.cpp86 static void overlayPixels( guchar *px, int width, int height, int stride,
98 unsigned psize, unsigned &stride);
1128 unsigned &stride)
1209 stride = cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, psize);
1212 px = g_new(guchar, stride * psize);
1213 memset(px, 0x00, stride * psize);
1217 CAIRO_FORMAT_ARGB32, psize, psize, stride);
1224 convert_pixels_argb32_to_pixbuf(px, psize, psize, stride);
1227 IconImpl::overlayPixels( px, psize, psize, stride, 0x00, 0x00, 0xff );
1295 unsigned psize, unsigned &stride)
1126 sp_icon_doc_icon( SPDocument *doc, Inkscape::Drawing &drawing, gchar const *name, unsigned psize, unsigned &stride) argument
1294 load_svg_pixels(std::list<Glib::ustring> const &names, unsigned psize, unsigned &stride) argument
1451 unsigned stride; local
1493 unsigned stride; local
1511 overlayPixels(guchar *px, int width, int height, int stride, unsigned r, unsigned g, unsigned b) argument
[all...]
/inkscape/src/libuemf/
H A Duemf.c621 \param stride Row stride of input pixel array in bytes
634 int stride,
657 if(!w || !h || !stride || !colortype || !rgba_px)return(1);
695 rptr= rgba_px + i*stride;
936 int stride; local
954 stride = w * 4;
955 cbRgba_px = stride * h;
981 rptr= *rgba_px + i*stride;
2512 \param cbPx Size in bytes of pixel array (row stride * heigh
626 RGBA_to_DIB( char **px, uint32_t *cbPx, PU_RGBQUAD *ct, int *numCt, const char *rgba_px, int w, int h, int stride, uint32_t colortype, int use_ct, int invert ) argument
[all...]

Completed in 49 milliseconds