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.

Bug 124259 - birdview ignoring level of detail
Summary: birdview ignoring level of detail
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Graph (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-19 10:09 UTC by Milos Kleint
Modified: 2007-12-27 09:48 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint 2007-12-19 10:09:31 UTC
when a widget is composed of multiple level of detail widgets, the birdview will only magnify the level show in the main
view. In my expectation it should show the widget as it would appear in the given zoom factor.
Comment 1 David Kaspar 2007-12-27 09:48:17 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, ...).