"Evan Stade" <[EMAIL PROTECTED]> 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.


Reply via email to