Comment #2 on issue 227 by atdi...@gmail.com: PCanvas.setCamera() sets new Camera's bounds to Canvas bounds
http://code.google.com/p/piccolo2d/issues/detail?id=227

Sure, I'll put some thought into it.

Also wondering if PCanvas.setBounds() is correct wrt to the bounds it sets on the camera:

public void setBounds(final int x, final int y, final int width, final int height) {
        camera.setBounds(camera.getX(), camera.getY(), width, height);
        super.setBounds(x, y, width, height);
    }


I suppose the fundamental question is, in what cases do clients want the canvas's camera to NOT be at (0,0)? Do you know any such use cases?

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

Reply via email to