draw control points on the top

This commit is contained in:
bancika
2011-01-08 14:13:55 +00:00
parent 695887ba4c
commit ca1d71e2eb
@@ -327,8 +327,9 @@ public class Presenter implements IPlugInPort {
// g2dWrapper.setComposite(mainComposite); // g2dWrapper.setComposite(mainComposite);
// } // }
componentAreaMap.put(component, g2dWrapper.finishedDrawingComponent()); componentAreaMap.put(component, g2dWrapper.finishedDrawingComponent());
}
// Draw control points // Draw control points.
for (IDIYComponent<?> component : components) {
if (drawOptions.contains(DrawOption.CONTROL_POINTS)) { if (drawOptions.contains(DrawOption.CONTROL_POINTS)) {
for (int i = 0; i < component.getControlPointCount(); i++) { for (int i = 0; i < component.getControlPointCount(); i++) {
Point controlPoint = component.getControlPoint(i); Point controlPoint = component.getControlPoint(i);