Commit Graph

7306 Commits

Author SHA1 Message Date
gohai 69c59cfdf9 Image transparency for PDF output
Before, drawing an image with transparency would result in black, opaque pixels in the PDF file. This change, figured out together with Jürg Lehni, fixes this. At its core, switching from drawImage(img, int, int, int, int, int, int, int, int, null) to drawImage(img, int, int, null) seems to do the trick - so this might have been a bug in iText all along.

Signed-off-by: Jürg Lehni <juerg@scratchdisk.com>
Signed-off-by: Gottfried Haider <gottfried.haider@gmail.com>
2013-09-10 15:15:12 -07:00
codeanticode 53a72e4318 Added PJOGL class 2013-09-10 15:05:48 -04:00
codeanticode 764616c9e1 starting the refactoring of PGL 2013-09-08 14:07:47 -04:00
Ben Fry e2b9f2f552 starting the next release 2013-09-05 17:17:41 -04:00
Ben Fry ac814c326e finalizing release notes processing-0221-2.0.3 2013-09-05 16:19:51 -04:00
codeanticode 71d70175a8 corrected typo in example comments 2013-09-05 10:47:46 -04:00
Ben Fry 4cd280a19a wrapping up revisions list 2013-09-05 00:34:19 -04:00
Ben Fry e640decc81 todo notes and attempting to wrap revisions 2013-09-05 00:02:30 -04:00
Ben Fry c90d7ce0f3 fix for indices with alternate constructor 2013-09-05 00:02:09 -04:00
codeanticode cae8269fbd fixed error in flushPolys()/renderPolys() 2013-09-04 20:13:42 -04:00
codeanticode a4c1cd25b5 updated DomeProjection example with simplified shader use 2013-09-04 19:06:09 -04:00
codeanticode 6cf649a0ce cleanup inner shader classes, and minor tweaks 2013-09-04 19:04:43 -04:00
codeanticode e4afbd7151 added flush() call in copy(PImage, ...) 2013-09-04 07:02:57 -04:00
codeanticode 4392af45f3 Added new DomeProjection example 2013-09-03 20:34:02 -04:00
codeanticode 55a23cb5fb removed FishEye example 2013-09-03 20:31:40 -04:00
codeanticode 3441ea7fa4 GL implementations of copy() methods, fix #1924 2013-09-03 19:41:10 -04:00
codeanticode 8888372cbe some additional logic to keep the use of memory in Texture low 2013-09-03 16:24:00 -04:00
codeanticode 659be8ed8d Texture releases auxiliary arrays/buffers when the free memory is low,
this should help in situations like #1975
2013-09-03 15:57:45 -04:00
codeanticode c34696353d fixed handling of rect parametrers in PShape 2013-09-03 15:12:39 -04:00
codeanticode 2b2789641b updated PrimitiveShape example 2013-09-03 14:40:57 -04:00
codeanticode 7fd1455061 fix #1990 2013-09-03 14:40:34 -04:00
codeanticode 8d2b69b0c5 fix #2061 2013-09-03 12:07:54 -04:00
codeanticode bb518933b0 PShapeOpenGL uses close field from parent PShape, this takes care of
#2035
2013-09-03 11:51:04 -04:00
codeanticode 39d2287f12 removed some commented out code 2013-09-03 10:32:18 -04:00
codeanticode 4eb844598e added missing TEXTURE_WRAP_R constant to PGL 2013-09-02 18:10:59 -04:00
codeanticode 50e3631fa9 made the description of loadTexture() more accurate 2013-09-01 20:01:42 -04:00
Daniel Shiffman 5474c44b22 Merge pull request #2046 from boubpopsyteam/patch-5
Update PVector.java
2013-08-29 09:27:54 -07:00
boubpopsyteam f0e67746e7 Update PVector.java
See https://github.com/processing/processing/issues/2045
2013-08-27 14:52:24 +02:00
codeanticode 6bd22196b7 save the sphere detail from the renderer when creating a PShape (or pass
it as a parameter to createShape)
2013-08-25 13:54:12 -04:00
codeanticode 764be11cc9 Merge branch 'master' of https://github.com/processing/processing.git 2013-08-25 13:02:31 -04:00
codeanticode 8fbd467f5d reset light count in lights() 2013-08-25 13:02:09 -04:00
Ben Fry 575d7ab313 minor Table bug fixes, add static version of JSON load for File 2013-08-24 12:14:33 -04:00
Ben Fry 424894e9e2 preparing release 2013-08-23 09:43:36 -04:00
Ben Fry 41d403889c fix options parsing to handle spaces in the names 2013-08-21 12:28:02 -04:00
codeanticode b0222c2d5e fixes #2003 2013-08-21 11:55:02 -04:00
codeanticode 28e2501a11 added MAX_POINT_ACCURACY constant to cap number of segments used when
drawing an ellipse
2013-08-20 18:41:35 -04:00
codeanticode 91dd20162a increasing ROUND_JOIN_THRESHOLD in LineStroker to allow for line
segments with points closer to each other (see #1927)
2013-08-20 17:49:31 -04:00
codeanticode 5a3d15da5d divide width and height by 2f to properly take into account resolutions
that are not divisible by 2
2013-08-20 16:44:49 -04:00
codeanticode d1be1455eb added implementations of textAscent(), textDescent(), and
textWidthImpl() so the text rendering in P2D/P3D matches JAVA2D output
2013-08-20 16:11:47 -04:00
codeanticode b20e667256 set viewport in PGL.drawTexture(), fixes #1869 2013-08-20 11:42:30 -04:00
Ben Fry 2b7eef70b8 Merge pull request #2027 from hamoid/master
Add missing double quotes to readlink call. Opening paths with spaces no...
2013-08-19 15:15:26 -07:00
codeanticode 3ab4e273d5 removed the glFinish hack to handle #1714, as it seems that JOGL 2.0.2
solved the issue.
2013-08-19 16:22:48 -04:00
codeanticode b850b53427 revised color conversion methods 2013-08-19 15:46:15 -04:00
Abe Pazos 00449a6fba Add missing double quotes to readlink call. Opening paths with spaces now works.
I was trying to make it possible to double click on .pde files on Ubuntu 13.04 following http://forum.processing.org/topic/ubuntu-12-10-launch-pde-files-from-nautilus
I noticed that files found in paths that include spaces would not open. I fixed it by adding double quotes to a readlink call at the end of the Processing launcher script. Other similar calls to readlink in the same file already included double quotes.
2013-08-17 22:12:24 +02:00
codeanticode bc273ea3ae Merge pull request #2023 from boubpopsyteam/patch-3
Update Video.java to fix native gl to java argb conversion
2013-08-16 16:11:45 -07:00
codeanticode 02c7beaa5a makes sure that blending is enabled and set to the last mode specified
by the user, should take care of issue #2021
2013-08-16 17:36:04 -04:00
boubpopsyteam 6869475650 Update Video.java
Fix RGBA to ARGB losing alpha as explained in #2021
2013-08-16 13:03:59 +02:00
Ben Fry 9fa50abd8c starting the next release 2013-08-14 21:35:07 -04:00
Ben Fry e62f220f15 removing experimental mode processing-0220-2.0.2 2013-08-14 20:21:26 -04:00
Ben Fry e1af8c3886 Merge branch 'master' of https://github.com/processing/processing 2013-06-21 14:31:42 -04:00