This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | birdview ignoring level of detail | ||
---|---|---|---|
Product: | platform | Reporter: | Milos Kleint <mkleint> |
Component: | Graph | Assignee: | issues@platform <issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Milos Kleint
2007-12-19 10:09:31 UTC
This is a bug. The bird view is using different scale without affecting zoom-factor property of a scene. This is correct. The problem is that LevelOfDetailsWidget checks the zoom-factor property only. It should check the scaling within the Graphics2D instance. This may be a problem. Therefore better solution would be to introduce "GraphicsContext"-like property on a scene. The rendering-context would be by each view while painting them. It would be also possible to use the property in Widget.paint* methods (during scene-rendering) to ask about rendering-context info e.g. zoom-factor, view JComponent or target type (print, bird, satellite, main, ...). |