RE: HELP!!! was: Re: [Inkscape-devel] importing bitmaps as patterns

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...
Have you set Store transforms to Preserve?
- 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!
No. By default fill is transformed together with the rect. This is what happens now when you set Store transforms to Preserve.
also want the pattern to scale with the object, when ctrl is pressed while scaling.
Eventually this will be the default that will work in all modes. You'll be able to turn it off if you wish but this is the default behavior. And it works now if you set Store transforms to Preserve.
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?
The image may have its own transparency, such as alpha shannel in PNG.
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.
No it won't end up thrown away. Clipping paths are an entirely different story.
_________________________________________________________________ Free yourself from those irritating pop-up ads with MSn Premium. Get 2months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI...

Have you set Store transforms to Preserve?
No. By default fill is transformed together with the rect. This is what happens now when you set Store transforms to Preserve.
Eventually this will be the default that will work in all modes. You'll be able to turn it off if you wish but this is the default behavior. And it works now if you set Store transforms to Preserve.
I'll answer this, as soon as I know what this "store transform" is and where I can change it... but still I got the feeling, it has the wrong default.
The image may have its own transparency, such as alpha shannel in PNG.
I know and actually I tried it with such an image (see the sunflower I used in my last attachment?, but still... If I have a transparent image in a recta patternfill, I see the stuff obejects underneath, just as I would expect it to be.
No it won't end up thrown away. Clipping paths are an entirely different story.
Yeah, that's why, I kinda got the feeling that this discussion right now should be about clipping paths. I mean later on, I think images should be imported within a clipping path. Patternfill is for applying a specific look to an object, while clipping paths are for having some kind of "viewbox". That's how I understand it.
David
participants (2)
-
bulia byak
-
David Christian Berg