GUII pixmaps

2000-08-16 Thread Baruch Even
I've been trying to create a solution to the GUII pixmaps, that is the long term independence, so as to allow a native Windows port for example. The solution I came up with is to replace Pixmap with a class LyXImage that is defined in src/frontends/support/ and a factory class LyXImageFa

Re: GUII pixmaps

2000-08-16 Thread Miyata Shigeru
Baruch Even <[EMAIL PROTECTED]> wrote: > I've added a method to PainterBase and Painter, called image() which is > equivalent to pixmap() but gets a LyXImage const *, the Painter::image() > actually gets the Pixmap out of the LyXImage and calls Painter::pixmap(), > I didn't remove Painter::pixmap

Re: GUII pixmaps

2000-08-16 Thread Baruch Even
On 17 Aug 2000, Miyata Shigeru wrote: > Baruch Even <[EMAIL PROTECTED]> wrote: > > > I've added a method to PainterBase and Painter, called image() which is > > equivalent to pixmap() but gets a LyXImage const *, the Painter::image() > > actually gets the Pixmap out of the LyXImage and calls Pai

Re: GUII pixmaps

2000-08-17 Thread Miyata Shigeru
Baruch Even <[EMAIL PROTECTED]> wrote: > I think that we do not understand each other. Probably. > The reason for the LyXImage is to be a container of the native image data > structure that is to be used in Painter. What I want is to have > PainterBase::image() that receives LyXImage and draws

Re: GUII pixmaps

2000-08-17 Thread Baruch Even
On 17 Aug 2000, Miyata Shigeru wrote: > Baruch Even <[EMAIL PROTECTED]> wrote: > > > The reason for the LyXImage is to be a container of the native image data > > structure that is to be used in Painter. What I want is to have > > PainterBase::image() that receives LyXImage and draws it on the s

Re: GUII pixmaps

2000-08-17 Thread Dekel Tsur
On Thu, Aug 17, 2000 at 09:44:48AM +0300, Baruch Even wrote: > On 17 Aug 2000, Miyata Shigeru wrote: > > > Lastly for linear transform of a graphic buffer of X, we may adopt libart > > http://www.levien.com/libart/ > > I'll check it out too, however I was told to avoid adding dependencie

Re: GUII pixmaps

2000-08-17 Thread Garst R. Reese
Dekel Tsur wrote: > > On Thu, Aug 17, 2000 at 09:44:48AM +0300, Baruch Even wrote: > > On 17 Aug 2000, Miyata Shigeru wrote: > > > > > Lastly for linear transform of a graphic buffer of X, we may adopt libart > > > http://www.levien.com/libart/ > > > > I'll check it out too, however I was

Re: GUII pixmaps

2000-08-17 Thread Baruch Even
On Fri, 18 Aug 2000, Dekel Tsur wrote: > Imagemagick also support transformation (e.g. convert -rotate 30), > and it can convert from eps to any format (using gs). > It also include a shared library (libmagick). > I'm not sure how useful it is for your purposes, but I'll leave it to you to > do t

Re: GUII pixmaps

2000-08-17 Thread Baruch Even
On Thu, 17 Aug 2000, Garst R. Reese wrote: > Dekel Tsur wrote: > > > > On Thu, Aug 17, 2000 at 09:44:48AM +0300, Baruch Even wrote: > > > On 17 Aug 2000, Miyata Shigeru wrote: > > > > > > > Lastly for linear transform of a graphic buffer of X, we may adopt libart > > > > http://www.levie