index 84e8180bc80c2fcbf44e7f3f128c2194124b65e9..f7a04fd50383541d17dbd62f395b26ff993299a5 100644 (file)
#include <glib.h>
#include <cmath>
+#include <cstring>
+#include <string>
#include "display/nr-filter.h"
#include "display/nr-filter-primitive.h"
#include "libnr/nr-scale.h"
#include "svg/svg-length.h"
#include "sp-filter-units.h"
-#if defined (SOLARIS_2_8)
+#if defined (SOLARIS) && (SOLARIS == 8)
#include "round.h"
using Inkscape::round;
#endif
return 1;
}
- Matrix trans = *item->ctm;
+ Matrix trans = item->ctm;
FilterSlot slot(_slot_count, item);
Rect item_bbox;
NRPixBlock *in = new NRPixBlock;
nr_pixblock_setup_fast(in, pb->mode, pb->area.x0, pb->area.y0,
- pb->area.x1, pb->area.y1, false);
+ pb->area.x1, pb->area.y1, true);
if (in->size != NR_PIXBLOCK_SIZE_TINY && in->data.px == NULL) {
g_warning("NR::Filter::render: failed to reserve temporary buffer");
return 0;