let me explain my use case. My application needs to draw small pictures, that are stored as a SVG, onto Drawable. The reason why i need the method that i'm asking for is that i need rescale the SVG picture size at runtime (a window change its size, an explicit user request, etc.) because the pictures are already loaded in a memory.
The SVG picture needs to be converted into Pixbuf because one picture is drawn repeatedly and i think that is faster directly draw a Pixbuf than process a SVG.
I know that i can load the SVG picture each time when i need the new size, it works, but ...
Thank you all for your help
Filip
On 6/26/05, Miguel de Icaza <[EMAIL PROTECTED]
> wrote:
Hello,
> I'm looking for a way how to create a Pixbuf from a Stream at
> specified size ?
>
> e.g. Rsvg.Tool.PixbufFromStreamAtSize(Stream, int, int)
If the image comes from a Stream, it probably already contains the
dimensions.
What is it that you have in mind exactly?
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
