Bug 935 : PImage cannot be rotated (eclipse)
Last modified: 2008-09-30 12:24




Status:
RESOLVED
Resolution:
INVALID -
Priority:
P2
Severity:
normal

 

Reporter:
depth
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-09-30 12:17
rev 0148, osx 10.5.5, JVM 1.5, eclipse 3.3.2

calling rotate(val) before calling image() draws a blank white rect instead
of the PImage.

this bug does not happen from the Processing IDE.



package main;

import processing.core.*;

public class PImageTest extends PApplet {
static final long serialVersionUID = 0;

private PImage img;


public void init () {
super.init();
}

public void setup () {
size(400, 300, P2D);
img = loadImage("arch.jpg");
}

public void draw () {
background(0);
rotate(0.1f);
image(img, 0, 0, 200, 200);
}

public static void main (String args[]) {
PApplet.main(new String[] { "main.PImageTest" });
}
}
Additional Comment #1 From fry 2008-09-30 12:24