Hi all, is there any chance of implementing a "rotation" operation in the watermark plugin as well?
cairo supports this out of the box, but I was having a bit of trouble compensating for the different translations being applied (and the necessary order of operations, then) when I tried to implement it myself. Rotation would probably have to be done from the centre of the SVG, with further translations probably having to compensate for the then different dimensions (newHeight=height*cos(rotAngle), newWidth=width*sin(rotAngle), if I'm not mistaken..) Unfortunately I don't have much time currently to figure this one out (in a more or less bug-free way), but I don't think it would be a too tough thing for one of the watermark people to implement this. If actually done, I believe a GUI slider for it could take the place of the current "opacity" slider. I've commented on this in the past, but without response.. IMHO the explicit "opacity" parameter is redundant here due to the blending option. (The only issue I can see with removing "opacity" might be backward compatibility..) Thoughts on this, anyone? Jens ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ darktable-devel mailing list darktable-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-devel