nr-filter-image.cpp revision 723b4d8bde8ce8503d1d01ee0f2e3548ec0dc88c
2035N/A#include "display/nr-arena-item.h"
2035N/A#include "display/nr-filter.h"
2035N/A#include "display/nr-filter-image.h"
2035N/A#include "display/nr-filter-units.h"
2035N/A return new FilterImage();
2035N/A if (!feImageHref) return 0;
6408N/A if (!image_pixbuf){
out_data[4*((x - x0)+w*(y - y0))] = (unsigned char) image_pixbuf[3*coordx + rowstride*coordy]; //Red
out_data[4*((x - x0)+w*(y - y0)) + 1] = (unsigned char) image_pixbuf[3*coordx + rowstride*coordy + 1]; //Green
out_data[4*((x - x0)+w*(y - y0)) + 2] = (unsigned char) image_pixbuf[3*coordx + rowstride*coordy + 2]; //Blue
return TRAIT_PARALLER;