Re: wine gdiplus <-> mono gdiplus wrapper

2008-01-03 Thread Dmitry Timoshkov
"Reece Dunn" <[EMAIL PROTECTED]> wrote:

> Are there any plans to use cairo in the Wine gdiplus implementation
> like mono does? Or would that need a winecairo.drv?

gdiplus is just a wrapper (mostly) around gdi32 APIs. IMHO spreding
around ideas about introducing a Wine dependency on cairo missing
the point of its usefulness.

-- 
Dmitry.




Re: wine gdiplus <-> mono gdiplus wrapper

2008-01-03 Thread Reece Dunn
On 02/01/2008, Dan Kegel <[EMAIL PROTECTED]> wrote:
> Jerome wrote:
> > I wrote a little script in order to wrap gdiplus with the mono one;
> > Here are the source file and the spec file (this one made with winedump), 
> > but
> > I have no idea how to compile it and/or include it in the wine source tree.
> > Could you tell me what you think about it ? And if it has some utility ?
>
> IIRC, the Mono gdiplus isn't so useful for us because it doesn't
> deal with GDI handles the way we need.
> That's one reason we have our own gdiplus now.
> It might be more useful if you would look at fixing bugs
> in our gdiplus rather than trying to wrap Mono's.

Are there any plans to use cairo in the Wine gdiplus implementation
like mono does? Or would that need a winecairo.drv?

- Reece




Re: wine gdiplus <-> mono gdiplus wrapper

2008-01-03 Thread Damjan Jovanovic
On Jan 3, 2008 4:42 AM, Ove Kaaven <[EMAIL PROTECTED]> wrote:
> Dan Kegel skrev:
>
> > On Jan 2, 2008 2:57 PM, Reece Dunn <[EMAIL PROTECTED]> wrote:
> >> Are there any plans to use cairo in the Wine gdiplus implementation
> >> like mono does?
> >
> > Not that I know of.  But I don't think that's a problem.
> >
> > I think a more interesting question is, when are we going to
> > buckle down and implement a DIB engine?
>
> Maybe use cairo there... an advanced GDI-like "DIB engine" is part of it.

It probably isn't pixel-for-pixel identical to the Windows GDI.

Damjan




Re: wine gdiplus <-> mono gdiplus wrapper

2008-01-02 Thread Ove Kaaven
Dan Kegel skrev:
> On Jan 2, 2008 2:57 PM, Reece Dunn <[EMAIL PROTECTED]> wrote:
>> Are there any plans to use cairo in the Wine gdiplus implementation
>> like mono does?
> 
> Not that I know of.  But I don't think that's a problem.
> 
> I think a more interesting question is, when are we going to
> buckle down and implement a DIB engine?

Maybe use cairo there... an advanced GDI-like "DIB engine" is part of it.






Re: wine gdiplus <-> mono gdiplus wrapper

2008-01-02 Thread Dan Kegel
On Jan 2, 2008 2:57 PM, Reece Dunn <[EMAIL PROTECTED]> wrote:
> Are there any plans to use cairo in the Wine gdiplus implementation
> like mono does?

Not that I know of.  But I don't think that's a problem.

I think a more interesting question is, when are we going to
buckle down and implement a DIB engine?
- Dan




re: wine gdiplus <-> mono gdiplus wrapper

2008-01-02 Thread Dan Kegel
Jerome wrote:
> I wrote a little script in order to wrap gdiplus with the mono one;
> Here are the source file and the spec file (this one made with winedump), but
> I have no idea how to compile it and/or include it in the wine source tree.
> Could you tell me what you think about it ? And if it has some utility ?

IIRC, the Mono gdiplus isn't so useful for us because it doesn't
deal with GDI handles the way we need.
That's one reason we have our own gdiplus now.
It might be more useful if you would look at fixing bugs
in our gdiplus rather than trying to wrap Mono's.
- Dan