mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
draw control points on the top
This commit is contained in:
+3
-2
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user