On Wed, 2004-05-26 at 15:43, bulia byak wrote:
- The image's top-left is not aligned with the rect's top-left.
Currently the image's top-left is (usually) in the center of the rect.
Works for me. Can you provide an example?
I can confirm this behaviour... obviously the pattern fill starts at the top left corner of the canvas (weird it isn't [0,0]) and not the top right corner of the rect by default. Just see the attached png. I'm using yesterdays build (I believe) and don't see anyway to change this. I'm a little confused, cause I have no patternfill button in the fill dialog. Should there be one?
- When the rect is grown, the image is tiled to fit the rect. It
should cover the rect exactly and completely -once-.
Oh, again, this is A BUG to be fixed :) I have specifically noted that you need to Store tranasforms: Preserved as a workaround for now. If this still happens with Preserved, I want to know details.
IMHO this actually is not a bug! We're talking about _patternfill_. That's what a patternfill is supposed to do! There should be a possibility to scale the pattern in the fill-dialog and also to offset the starting point of the pattern in canvas or respectively object coordinates (a bit like gradientfill). Maybe you also want the pattern to scale with the object, when ctrl is pressed while scaling.
- Image transparency is broken. The background of the rect is copied
onto whatever is behind it. I do not know how to fix this. If the image it placed upon an invisible rect, isn't the entire image invisible also? The rect would have to be 0% opaque on the transparent parts, and whatever the user wants on the rest (default 100%). It would basically need to be a matte fill, or the alpha-blend algorithm.
I honestly haven't looked at transparency in particular, but I remember that it didn't work for <image> either when I tried it. I'll investigate.
I don't quite understand. The rect should have no fill, and by default doesn't. if I want to alpha-blend the image, I just use the object-dialog and ajust the the opacity of the rect. What am I missing here?
This is a great idea, but I can't use it right now. I'd like to keep using the current CVS, but is there a way I can back this change out just for myself?
Set options.importbitmapsasimages to 1 in your preferences.xml. Better yet, stay in the new mode and help us debug it :)
The idea isn't too bad, but it's not great. Sorry to say that, Bulia ;) What I'm criticising is that you eventually give up the idea of a patternfill, to make a workarround for clipping paths. I don't know about you, but I think, whose of you who do the coding will end up throwing all this stuff away pretty soon because real clipping paths are implemented.
Take care!
David