-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 2 Oct 2003, Robert O'Callahan wrote:

> I'd love to answer your questions but I haven't looked at the Anya code yet.

Most of my questions don't have anything to do with Anya, though!

> There is a bugzilla bug about rendering snapshots to a pixmap, but
> that's non-interactive.

Which bug is this?

> > * I'd like to avoid reinventing the wheel, since the inner workings of
> > drawing lines, arcs and boxes, doing clipping and so forth have been
> > implemented many times and it should be plenty of open source code to
> > borrow from.  The main issue is licensing -- if the code is, say, LGPL,
> > will that create problems if I my module is integrated into the mainline
> > mozilla source later on down the road?  Does anyone either recommend an
> > unencumbered library that could be relicensed, or a workaround (such as
> > doing my work in a separate library which is linked in)?
>
> It would be best if you can find an unencumbered (e.g., BSD-license)
> library. However, if you have to depend on an LGPL library we might be
> able to put it in the other-licenses directory.

Right now the best candidate seems to be the Allegro graphics library,
which is public domain.  It seems to support almost everything that I
would need for mozilla, my main concern is how to support mozilla's
clipping regions -- it seems like there is support for specifying rather
complex areas (described via boolean operations) to clip drawing against,
which I don't fully understand.  Otherwise I can probably prototype by
linking with Allegro, and then incorporate just the code needed directly
into Mozilla later on.

[   Peter Amstutz   ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED]  ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ http://interreality.org ]
[ http://interreality.org/~tetron ][ pgpkey:  pgpkeys.mit.edu  18C21DF7 ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/fbBMaeHUyhjCHfcRAlBWAJ0VabaYO9gCaFkEXfA0qChvoHd37QCgrpy7
mwjrnpa4RdSQjRGdbtNv5MM=
=1IUz
-----END PGP SIGNATURE-----

_______________________________________________
Mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to