From: SourceForge.net <no...@so...> - 2008-03-17 16:26:49
|
Bugs item #1916843, was opened at 2008-03-17 11:19 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1916843&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: 0.9.10.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: David Palich (dpalich) Assigned to: Nobody/Anonymous (nobody) Summary: Zero Height Gradient Rectangle Brush Exception Initial Comment: There is an unhandled exception when creating a zero height gradient rectangle brush. How to Reproduce: Create a bar plot with the bars filled in vertical gradient mode (color changes along the y-axis). Manually resize the containing window until one of the bars becomes zero pixels high (with a non-zero data point). As soon as this happens, the application will crash with an unhandled exception. Recommended Fix: Before painting the bar for a data point, check for zero height. If zero height, maybe draw a single pixel line at that point, but don't bother creating the rectangle or gradient fill brush. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1916843&group_id=161868 |