[piccolo2d-dev] Issue 232 in piccolo2d: adding anchor points on the lines drawn between two nodes

2011-12-13 Thread piccolo2d

Status: New
Owner: 

New issue 232 by vijay.ro...@uniken.com: adding anchor points on the lines  
drawn between two nodes

http://code.google.com/p/piccolo2d/issues/detail?id=232

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
windows xp

Please provide any additional information below.


--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en


[piccolo2d-dev] Issue 233 in piccolo2d: adding PHandle

2011-12-13 Thread piccolo2d

Status: New
Owner: 

New issue 233 by vijay.ro...@uniken.com: adding PHandle
http://code.google.com/p/piccolo2d/issues/detail?id=233

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
After Adding PHandle to a pNode as a child and after applying  
PDragEventHandler the anchor point is moving too fast.It should not move  
that fast.What should i do to slow down it?


What version of the product are you using? On what operating system?
windows xp

Please provide any additional information below.

PPath circle = PPath.createEllipse((float) (pointOne.getX() +  
pointTwo.getX()) / 2,

(float) (pointOne.getY() + pointTwo.getY()) / 2, 7, 7);

final PLocator circleLocator = new PLocator() {
public double locateX() {
return circle.getFullBoundsReference().getCenter2D().getX();
}

public double locateY() {
return circle.getFullBoundsReference().getCenter2D().getX();
}
};

 PHandle pHandle = new PHandle(circleLocator);



circle.addChild(pHandle);
pHandle.addInputEventListener(new PDragEventHandler());

--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en