Commit Graph

1014 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 764616c9e1 starting the refactoring of PGL 2013-09-08 14:07:47 -04:00
codeanticode 71d70175a8 corrected typo in example comments 2013-09-05 10:47:46 -04:00
codeanticode a4c1cd25b5 updated DomeProjection example with simplified shader use 2013-09-04 19:06:09 -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 2b2789641b updated PrimitiveShape example 2013-09-03 14:40:57 -04:00
codeanticode b850b53427 revised color conversion methods 2013-08-19 15:46:15 -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
boubpopsyteam 4eb9da9704 Update Transparency.pde
Half of 255 is not 126.

Used 127 which is IMHO the commonly accepted half.
2013-07-30 21:19:33 -04:00
REAS 9a7dc075bc Examples mods and 1 removed 2013-07-23 15:30:36 -07:00
REAS c7d9a4ecb7 Two new examples Star and Regular Polygon for Basics 2013-07-23 15:14:36 -07:00
codeanticode 48d654153f make the drawTexture() functions in PGL public, remove them from
PGraphicsOpenGL
2013-07-13 19:29:56 +00:00
Ben Fry 3d2ce83425 fix for .app packages in open dialogs in exported apps (#1959) 2013-07-11 08:43:44 -04:00
Daniel Shiffman 7b98e0818d removing some stray code in table example 2013-07-10 21:45:08 -04:00
REAS 86c68ca4b3 Fixed example for Threads 2013-07-08 20:18:13 -07:00
datguy a8966dd5ed remove extra beginRecord() from ManyPages PDF example 2013-07-08 20:12:51 -04:00
codeanticode 4c943edb97 removed some debug messages 2013-07-08 09:54:09 -04:00
codeanticode 155d00a4ad reimplemented pixel access in video library when using P2D/P3D 2013-07-02 11:27:33 -04:00
Daniel Shiffman 2b198c2b86 #207 typos in exmaple description 2013-06-26 07:07:01 -04:00
markluffel e8e35e532e Update blur.glsl
made the blur spatially uniform (seemed to be a typo)
2013-06-22 21:10:47 -03:00
Ben Fry f5b170cc70 move video capture examples back to default renderer due to GL bug 2013-06-03 16:20:18 -04:00
Ben Fry 24e0ef10b4 add warnings about unofficial API 2013-06-03 15:44:56 -04:00
Daniel Shiffman a9d5c78ebb nature of code examples update 2013-06-03 14:33:49 -04:00
Daniel Shiffman dd88eecfe9 two quick XML example fixes 2013-06-03 14:31:32 -04:00
Daniel Shiffman 22b37fa967 using remove() properly now in IntList example 2013-06-03 13:21:18 -04:00
REAS df58cb6590 Merge branch 'master' of github.com:processing/processing 2013-06-02 21:06:30 -07:00
REAS 0b1aa8a621 New examples from Andres for ortho() 2013-06-02 21:06:07 -07:00
Daniel Shiffman 774ab3894d added comments and cleaned up IntListLottery example 2013-06-02 22:46:40 -04:00
codeanticode 58cb546ace Replaced old Landscape example with Elevated from shadertoy 2013-06-02 11:53:16 -04:00
REAS 9d7026c2bf Arrows for GUI, new keywords and reference 2013-06-01 20:23:23 -07:00
Daniel Shiffman 0339b77d71 small fixes to lottery example 2013-06-01 22:34:37 -04:00
Daniel Shiffman 9c4437f33a new IntList example 2013-06-01 22:28:43 -04:00
Daniel Shiffman 261ec7dbda small fixes to data examples 2013-05-31 14:57:17 -04:00
codeanticode 52dc0874af Some reworking of the offscreen logic, in order to reduce resource
utilization.
2013-05-27 18:08:02 -04:00
codeanticode 482c8ea2e9 Improved the logic that sets the size of the font textures 2013-05-23 19:10:23 -04:00
codeanticode 8a0fc976b7 Formatting, fixing some implementations in PGL 2013-05-23 16:52:14 -04:00
REAS 99a4d8fa30 Adjustment to KeyboardFunctions example 2013-05-22 14:38:13 -07:00
REAS e4da46ffb4 Merge branch 'master' of github.com:processing/processing 2013-05-22 12:45:02 -07:00
REAS a66f844d8b Removing two Typography examples from the web 2013-05-22 12:44:36 -07:00
codeanticode a96e68a497 Added STROKE_DISPLACEMENT to PGL in LWJGL 2013-05-22 11:11:26 -04:00
REAS 59e39a9b18 Changes to Dict and List classes for reference 2013-05-19 23:50:35 -07:00
REAS eb326b7125 Modifications to Data classes for Reference entries 2013-05-18 22:01:26 -07:00
Ben Fry 6538fe8efc fix for api change 2013-05-18 10:22:03 -04:00
codeanticode ce7e4a36d0 Fixes fps cap (issue #1742) 2013-05-07 12:07:12 -04:00
codeanticode b3561b1dbb calling glFinish() only if the current framerate falls below 50% of the
target
2013-05-06 12:42:58 -04:00
codeanticode a535ed855c Using glFinish() instead of glFlush() at PGL.endDraw() 2013-05-04 23:43:39 -04:00
codeanticode 86e7a74e02 removed bpp printout 2013-05-04 19:37:41 -04:00
codeanticode c7cba487e0 queries highest bpp in LWJGL 2013-05-04 19:17:06 -04:00
andres 4700330a1f tweaking GLSL and FBO checks 2013-05-04 19:00:38 -04:00