I think in the 'size()' reference it should be added the brief description of the fourth renderer, I'm guessing it is P2D:
http://processing.org/reference/size_.html Quote:The MODE parameters selects which rendering engine to use. For example, if you will be drawing 3D shapes for the web use P3D, if you want to export a program with OpenGL graphics accelleration use OPENGL. A brief description of the 4 different renderers followS:
P3D (Processing 3D) - Fast 3D renderer for the web
JAVA2D - The default renderer, higher quality in general, but slower than P2D
OPENGL - Interface with OpenGL hardware accelleration to increase speed if an OpenGL graphics card is installed.
This is secondary and NOT a bug, so Casey and Ben don't read anymore if you are tired, jeje.
I was just trying to understand the 4 different renderers, for several reasons:
- would it be possible to implement new renderers in a modular way (
Sequential TIFF or Targa (high resolution) renderer, with no screen display and optimized for quality;
LCD specific renderer taking into account specific antialiasing;
print renderer, taking into account how printers work) (of course this is not the point of this post, just got excited with the idea, sorry)
- understand why strokeCap() and strokeJoin() aren't availabe on most renderers