Bug 1107 : PGraphicsJava2D.resize() not working the same as PGraphics2D.resize()
Last modified: 2010-06-05 02:53




Status:
ASSIGNED
Resolution:
-
Priority:
P2
Severity:
normal

 

Reporter:
fommil
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-12-20 02:31
PGraphics2D.resize() rescales and resizes a PImage instance, but PGraphicsJava2D.resize() appears to simply resize the canvas.

The documentation is "Resize this image to a new width and height. Use 0 for wide or
high to make that dimension scale proportionally." which is ill defined... I'd
recommend that either the documentation be updated to say that this method does
not imply that the contents will be rescaled, or define an expected behaviour.
Additional Comment #1 From fry 2009-02-20 10:22
can you provide a simple sketch that replicates the problem?
This bug is now being tracked here.