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 it on the screen
> without any dependency on the toolkit or OS. So far we used Pixmap of
> X-Windows directly and obviously this won't work on anything not X.

I see PainterBase::pixmap() which is toolkit/OS independent is virtual
and Painter::pixmap() is X dependent.  So I assume Painter class is
toolkit/OS dependent.
And it seems to me that ImageLoader is dependent on graphics foramts
rather than on toolkit/OS.

Was I wrong?

> Well, I have no knowledge of the API's of windows or OS/2, is there any
> web reference that I can check for each to learn what they have? I used to
> be an OS/2 user, but never got around to programming GUI stuff in it.

You don't have to bother.  Well, I checked
                http://www.edm2.com/os2api/index.html
but there is no Gpi reference.  You can concentrate on X implementation
and let other to port.

Regards,
                SMiyata

Reply via email to