Re: Abiword embedding
- From: Jody Goldberg <jody gnome org>
- To: Linas Vepstas <linas linas org>
- Cc: msevior physics unimelb edu au, gnucash-devel gnucash org, gnome-office-list gnome org, jsled asynchronous org
- Subject: Re: Abiword embedding
- Date: Fri, 12 Mar 2004 11:00:21 -0500
On Fri, Mar 12, 2004 at 09:13:47AM -0600, Linas Vepstas wrote:
>
> My intent is not to prolong this thread forever & ever,
> really, it isn't ...
>
> > > -- graphing. Jody is creating gog, we were looking at using that
> > > for the graphs. Seeing how we currently embed graphs in html,
> > > the question would be, 'will I be able to embed gog graphs in abi?'
>
> When this issue first came up, we wanted to embed guppi in gtkhtml.
> The solution we arrived upon that time was to treat the embeded
> object as if it was a block of pixels, e.g. like a png, and let
> the layout engine treat it as such. i.e. it was "opaque" to gtkhtml,
> and gtkhml only knew about its size and shape.
>
> To draw it, some draw callback wound its way back through a glue layer
> to guppi, told it where to draw, and bingo, drawn. To print, something
> similar. I guess (?) it asked generic wrapper (which we wraped
> around guppi) to provide a png or ps of itself suitable for printing.
The main rendering backend right now produces a GdkPixbuf that we
wrap in a foocanvas item. Sticking it into something else should be
trivial.
We also have an svg and a gnome-print backend, which should cover
printing.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]