Re: [GDI+: 3/5] added graphics implementation and tests
12 Jun
2007
12 Jun
'07
12:10 p.m.
On 6/10/07, Dmitry Timoshkov <dmitry(a)codeweavers.com> wrote:
"Evan Stade" <estade(a)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.
6849
Age (days ago)
6849
Last active (days ago)
0 comments
1 participants
participants (1)
-
Evan Stade