Evan Stade : gdiplus: Changed the way the direction of the endcap is calculated to make LineCapArrowAnchor direction match Windows better .