| 
          
           made toImage(int, int, Paint) return an image of the size requested. Since it seems that the resizing is already done in PNode.paint it was just a matter of deleting the resize code. 
          
            Also, I've added 3 tests to PNodeTest that try and confirm the behavior.  | 
      
|---|
| 
           | 
      
| core/src/main/java/edu/umd/cs/piccolo/PNode.java | 
|---|
| core/src/test/java/edu/umd/cs/piccolo/PNodeTest.java | 
|---|