Opened 8 years ago
Last modified 8 years ago
#729 new defect
printing circles and arcs is broken
Reported by: | westram | Owned by: | devel |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | no idea | Version: | SVN |
Keywords: | Cc: |
Description
Status:
- clipping does not work:
currently there's a hack in print-code, which does a box-clip and then- either prints a smaller circle/arc if more than 50% of surface is visible or
- complete skips the circle/arc
- drawing partial arcs doesn't work properly (position/size is wrong; probably world/screen-coordinate confusion)
- drawing arcs with x-radius==0 or y-radius==0 fails assertions
Todo:
- clipping has to calculate the arc-segments remaining inside visible region and draw each segment separately
- fix
- shall fallback to line or dot
Attachments (2)
Note: See
TracTickets for help on using
tickets.
Replying to description:
Works for secondary structure (bond for character '~' uses arc).
See attachments for example of .