Hi Thomas,

Thomas DeWeese wrote:

When using the Paint to create a background Texture for a Shape, it is easier to know the size of the associated Pattern, which is provided by PatternPaint, but with a different API from TexturePaint, thus obliging the user, if he used a Graphics2D to perform the painting, to be dependant on specific Batik classes, which I feel is not very good.

   I agree but the Texture paint interface really isn't suitable for
a scalable format.

Your are right,  but what I was thinking was if it could be possible to :
- leave the behavior of the class as is (existing methods, except maybe the name of the getPatternRect() method) - just add a new getImage method mainly to be able to use this class in generic Graphics2D stuff (as this trick could be useful mainly when transcoding, this particular method could be slower than the method used for general Batik use).

But I reckon that it is some work for something that maybe will not be really useful....

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to