FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 92 : new PGraphics(), PGraphics2(), PGraphics3() doesn't work very well
Last modified: 2006-11-05 15:08
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P1
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
fry
Assigned To:
fry
Attachment
Type
Created
Size
Actions
testcase ARGB
text/plain
2005-11-26 14:43
312 bytes
Description
: Opened: 2005-07-27 18:53
reported repeatedly, need to get this working again. didn't realize how
many people were creating their own BGraphics objects.
Additional Comment
#1 From fry 2005-07-27 19:02
sometimes it's just a matter of calling defaults() on the new object, but
in general, this needs to be cleaned up, and may need a createGraphics()
command.
drawing a PGraphics2 doesn't seem to work.
new PGraphics2 objects are set as RGB, but on loadPixels/updatePixels
they're drawn as transparent and don't have their high bits set.
some additional links:
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115087536
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1122515838
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1118318573
Additional Comment
#2 From fry 2005-09-26 16:23
***
Bug 160
has been marked as a duplicate of this bug. ***
Additional Comment
#3 From lmg 2005-11-26 14:43
edit
]
testcase ARGB
setting PGraphics3.format to ARGB results in all transparent fills and text.
strokes and pixels[] work fine.
Additional Comment
#4 From fry 2006-11-05 15:08
fixed for 0120, though createGraphics() must be used instead.