[GDI+: 3/5] added graphics implementation and tests
estade at gmail.com
Tue Jun 12 12:10:24 CDT 2007
> On 6/10/07, Dmitry Timoshkov <dmitry at codeweavers.com> wrote:
> > "Evan Stade" <estade at gmail.com> wrote:
> > >> Any reason why are you creating a new pen in GdipDrawRectangleI, and while using
> > >> an existing one in GdipDrawLineI?
> > >>
> > >> --
> > >> Dmitry.
> > >>
> > >
> > > Yes, the reason for that is the passed pen can have any endcap style,
> > > but to draw the rectangle the pen needs square endcaps. The same does
> > > not apply to DrawLine.
> > Do you have a confirmation that native gdiplus does that as well? +relay,+snoop
> > trace, some other test?
> > --
> > Dmitry.
Native GDI+ does its own rendering. For example, GDI+ drawline uses
repeated stretchblts rather than GDI drawline. However, GDI drawline
can be pretty close, if not pixel-for-pixel the same.
More information about the wine-devel