From e800a4b5362c09fc32e5b568087bf49a5b7e73ad Mon Sep 17 00:00:00 2001 From: benfry Date: Tue, 7 Feb 2006 21:54:23 +0000 Subject: [PATCH] tweaking some comments --- core/PImage.java | 15 +++++++-------- core/todo.txt | 2 ++ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/core/PImage.java b/core/PImage.java index c9df8f7c9..ef751a8e8 100644 --- a/core/PImage.java +++ b/core/PImage.java @@ -3,7 +3,7 @@ /* Part of the Processing project - http://processing.org - Copyright (c) 2004-05 Ben Fry and Casey Reas + Copyright (c) 2004-06 Ben Fry and Casey Reas Copyright (c) 2001-04 Massachusetts Institute of Technology This library is free software; you can redistribute it and/or @@ -139,11 +139,9 @@ public class PImage implements PConstants, Cloneable { /** - * Construct a new PImage from a java.awt.Image - * - * this constructor assumes that you've done the work of - * making sure a MediaTracker has been used to fully - * download the data and that the img is valid. + * Construct a new PImage from a java.awt.Image. This constructor assumes + * that you've done the work of making sure a MediaTracker has been used + * to fully download the data and that the img is valid. */ public PImage(java.awt.Image img) { width = img.getWidth(null); @@ -165,8 +163,9 @@ public class PImage implements PConstants, Cloneable { /** - * mode is one of CORNERS or CORNER, because the others are - * just too weird for the other functions + * The mode can only be set to CORNERS or CORNER, because the others are + * just too weird for the other functions. Do you really want to use + * get() or copy() with imageMode(CENTER)? */ public void imageMode(int mode) { if ((mode == CORNER) || (mode == CORNERS)) { diff --git a/core/todo.txt b/core/todo.txt index cb6326d90..8d99c29ba 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -7,6 +7,8 @@ X basically if the main gfx context isn't viewable, close the window X since it may have already been opened at 100x100 X avoid opening it in the first place? +_ loadImage(url) broken on windows +_ http://dev.processing.org/bugs/show_bug.cgi?id=279 more pdf/recording stuff _ figure out what's up with type on osx