From caa4690a4c865957de31a091cc0d4276e6fc5af3 Mon Sep 17 00:00:00 2001 From: benfry Date: Thu, 19 Jan 2006 03:19:04 +0000 Subject: [PATCH] integrating pdf fixes --- core/PGraphics.java | 1 + core/todo.txt | 16 ++++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/core/PGraphics.java b/core/PGraphics.java index 8a649fd67..fcc087be3 100644 --- a/core/PGraphics.java +++ b/core/PGraphics.java @@ -594,6 +594,7 @@ public class PGraphics extends PImage implements PConstants { */ public void defaults() { // ignore //System.out.println("PGraphics.defaults() " + width + " " + height); + colorMode(RGB, TFF); fill(TFF); stroke(0); diff --git a/core/todo.txt b/core/todo.txt index d5697107a..2f9aad52c 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -3,7 +3,17 @@ X fix stack overflow problem X bug in itext implementation on osx (10.4 only?) X http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg20234.html +in previous releases +X recordFrame() and beginFile()/endFile() +X how to deal with triangles/lines and triangleCount and lineCount +X maybe just need a triangleImpl and lineImpl +X because it's too messy to retain the triangle objects and info +X calling recordFrame() from mousePressed is important +X dangerous tho because mouse fxn called just before endFrame + + more pdf/recording stuff +_ figure out what's up with type on osx _ don't open a window the size of the pdf if in pdf mode _ need to have some sort of flag in the gfx context that it's visible or not _ handled inside updateSize()? @@ -19,12 +29,6 @@ _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs _ polygon z-order with alpha in opengl _ at least add it to the faq, or this would be a test case w/ the sorting _ http://dev.processing.org/bugs/show_bug.cgi?id=176 -X recordFrame() and beginFile()/endFile() -X how to deal with triangles/lines and triangleCount and lineCount -X maybe just need a triangleImpl and lineImpl -X because it's too messy to retain the triangle objects and info -_ calling recordFrame() from mousePressed is important -_ dangerous tho because mouse fxn called just before endFrame _ loadImage("") produces weird error message _ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Programs;action=display;num=1136487954