[Mono-bugs] [Bug 665802] New: System.Drawing.Pen ignors settings for StartCap and EndCap

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jan 20 05:36:38 EST 2011



           Summary: System.Drawing.Pen ignors settings for StartCap and
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: PC
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Drawing.
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: thomas.klose at hiperscan.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=409274)
 --> (http://bugzilla.novell.com/attachment.cgi?id=409274)
Different representation of lines under Windows and Linux

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:2.0b10pre) Gecko/20110118

Mono version: 2.6.7, Ubuntu 10.10 (Maverick)

Pen properties "StartCap" and "EndCap" are ignored under Linux. The line cap is
drawn always flat.

The problem does *not* occur under Windows, using the same Mono version (see

Reproducible: Always

Steps to Reproduce:
1. define a System.Drawing.Pen
2. set the pen's StartCap or EndCap properties (e.g. to ArrowAnchor)
3. use pen to draw a line with System.Drawing.Graphics.DrawLine()
Actual Results:  
The line's caps are flat.

Expected Results:  
The line's caps should be arrows.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list