OpenMap is an Open Source JavaBeans-based programmer's toolkit. Using OpenMap, you can quickly build applications and applets that access data from legacy databases and applications.
What steps will reproduce the problem?
1. Create OMRaster
2. Assign OMTextLabeler
3. Set some rotation != 0 (setRotationAngle(angle))
4. Call select on thi OMRaster
What is the expected output? What do you see instead?
Just one label should be visible, instead there are two
What version of the product are you using? On what operating system?
Latest (5.1.11) on windows
Please provide any additional information below.
Problem is that in method render of OMRasterObject, when selected it calls
super.render(g)
if ((isSelected()) || (logger.isLoggable(Level.FINER))) {
super.render(g);
}
wich calls renderLabel(g) and after it it calls also renderLabel(graphics)
When not rotation angle is set, this bug is not visible, cause second label
draws over first...
Original issue reported on code.google.com by Eskorbut...@gmail.com on 23 Jul 2015 at 4:21
Original issue reported on code.google.com by
Eskorbut...@gmail.com
on 23 Jul 2015 at 4:21Attachments: