Commit Graph

2776 Commits

Author SHA1 Message Date
codeanticode
6b2666cb4e call setTitle in the EDT 2015-08-31 16:46:21 -04:00
Jakub Valtar
840724c16c Prevent exception when measuring empty string 2015-08-31 00:13:48 -04:00
Jakub Valtar
a5a5e9f359 Render text starting with space properly
This block seems to be out of place. It is entered when the current word
has zero length. It's not possible to tell whether the string fits on
the line or not at this place. Besides, the same condition is already
handled below.
2015-08-30 23:49:58 -04:00
codeanticode
34b3171987 don't store renderer's surface in static field 2015-08-29 22:56:42 -04:00
codeanticode
4f29d86a1b made smoothToSamples public as well 2015-08-29 18:05:06 -04:00
codeanticode
52c9e44a11 removed assignment in PSurfaceJOGL 2015-08-29 18:04:20 -04:00
codeanticode
519eb9c9d5 made some methods in PJOGL public to use from contributed renderering
libraries
2015-08-29 18:03:21 -04:00
codeanticode
61c6e77bda commented out debug printlns 2015-08-29 07:06:17 -04:00
Jakub Valtar
d99aada297 Draw text with empty lines correctly
Fixes #3736
2015-08-28 14:56:36 -04:00
Ben Fry
d94ff549aa Merge pull request #3730 from JakubValtar/fx-keys
FX - normalize enter key
2015-08-28 11:40:23 -04:00
Ben Fry
0012902d2c Merge pull request #3735 from JakubValtar/jogl-enter-key
JOGL - normalize enter key
2015-08-28 11:39:52 -04:00
Jakub Valtar
36c34c7faf JOGL - normalize enter key 2015-08-28 09:46:30 -04:00
Jakub Valtar
90847d659d FX - normalize enter key 2015-08-27 16:00:57 -04:00
Jakub Valtar
1bb35aeac6 FX - improve key events
- handle PRESSED and RELEASED for ".", "/", "*", "-" and "+" and numeric
keys
- prevent AIOOBE for all events
2015-08-27 15:51:03 -04:00
Ben Fry
45ee8982ff Merge pull request #3725 from JakubValtar/fx-modified-loaded
FX - loadPixels, updatePixels, get and set optimizations
2015-08-27 07:46:32 -04:00
Jakub Valtar
740a794d91 FX - loadPixels, updatePixels, get and set optimizations 2015-08-26 18:42:48 -04:00
Ben Fry
58f900cc19 Merge pull request #3724 from JakubValtar/fx-framerate-fix
FX - framerate fix
2015-08-26 18:36:12 -04:00
Jakub Valtar
6aa1a15fe5 FX - framerate fix
When your sketch ran slower than target frame rate, FX was blocked and
was drawing to the screen only every few seconds. This eventually
resulted in OutOfMemoryError as it's internal draw buffer was not
flushed.
2015-08-26 18:30:37 -04:00
Jakub Valtar
fa442e2b50 FX - fix AIOOBE when pressing ESC on Mac 2015-08-25 18:58:50 -04:00
Jakub Valtar
8a4b04ec80 FX - paths, contours, curves 2015-08-25 15:19:54 -04:00
Ben Fry
9afbd35dc2 Merge pull request #3713 from JakubValtar/fx-arcs
FX - arc - infamous deg-rad conversion strikes again
2015-08-25 11:29:30 -04:00
Jakub Valtar
04a1f09bd8 FX - arc - infamous deg-rad conversion strikes again 2015-08-25 10:09:39 -04:00
Ben Fry
9ca5e3abab remove warning 2015-08-25 08:57:35 -04:00
Ben Fry
0ff82a52b4 Merge pull request #3712 from JakubValtar/fx-thin-lines
FX - align to pixel grid when drawing 1 px strokes
2015-08-24 18:38:10 -04:00
Ben Fry
6b6a227f2f Merge pull request #3709 from JakubValtar/fx-pixel-ops
FX - basic pixel operations (get, set, load, update)
2015-08-24 18:32:43 -04:00
Ben Fry
931512173b Merge pull request #3711 from JakubValtar/fx-rotate
FX - fix rad-deg conversion in rotate()
2015-08-24 18:31:21 -04:00
Ben Fry
1bf18aaaf1 Merge pull request #3710 from JakubValtar/fx-matrix-stack
FX - fix transformation stack NPE
2015-08-24 18:28:36 -04:00
Jakub Valtar
5ea3a02fcc FX - align to pixel grid when drawing 1 px strokes 2015-08-24 17:58:48 -04:00
Jakub Valtar
863be6204d FX - fix rad-deg conversion in rotate() 2015-08-24 17:17:29 -04:00
Jakub Valtar
3af532bd95 FX - fix transformation stack NPE 2015-08-24 17:15:26 -04:00
codeanticode
1a671877e7 fixed preprocessing of texture2DRect 2015-08-24 16:55:41 -04:00
codeanticode
ffc8adb62b skip shader preprocessing if #version is found 2015-08-24 16:31:17 -04:00
Jakub Valtar
55caf85bb0 FX - basic pixel operations (get, set, load, update) 2015-08-24 16:25:54 -04:00
Ben Fry
cefb6bfcfc close Writer object from createWriter() (fixes #3705) 2015-08-24 11:30:28 -04:00
Ben Fry
f3caa650a0 deal with warnings 2015-08-22 11:08:31 -04:00
Ben Fry
0b60702481 Merge pull request #3692 from JakubValtar/fx-init
FX - Initialize JavaFX properly
2015-08-21 16:28:53 -04:00
Ben Fry
6c56e178ec Merge pull request #3691 from JakubValtar/remove-legacy-gl
Remove legacy GL functions from PGL
2015-08-21 16:27:17 -04:00
Jakub Valtar
d34b65ec9d FX - Initialize JavaFX properly 2015-08-21 16:25:01 -04:00
Ben Fry
32df0c5c05 Merge pull request #3686 from JakubValtar/fx-keytyped
FX - Make key events little bit more sane
2015-08-21 14:46:56 -04:00
Daniel Shiffman
175bb4d646 reference should use copy(), not get() https://github.com/processing/processing-docs/issues/282 2015-08-21 13:24:35 -04:00
Jakub Valtar
088cb9c395 Fix typo in PGL 2015-08-21 13:17:09 -04:00
Jakub Valtar
88be68b17d Remove legacy functions from PGL 2015-08-21 13:16:03 -04:00
Ben Fry
facadfc9f5 catch issues with per-vertex coloring/styles (fixes #3677) 2015-08-21 10:57:00 -04:00
Ben Fry
0a62e9fc9c take care of ellipse/rect/image modes in PShape (fixes #3685) 2015-08-21 10:24:45 -04:00
Jakub Valtar
8e0c2a4c8e FX - Make key events little bit more sane 2015-08-20 15:20:01 -04:00
Jakub Valtar
1a82604b4e FX - Fix key typed 2015-08-19 17:31:53 -04:00
Ben Fry
76856d3e8c cleaning 2015-08-19 16:47:10 -04:00
Ben Fry
d0f27428b6 remove JDK 1.8 syntax 2015-08-19 16:44:06 -04:00
Jakub Valtar
b3902d3fde FX - main drawing loop 2015-08-19 16:00:57 -04:00
Ben Fry
5852ff9c41 Remove 60fps limit on the JavaFX "pulse" timer 2015-08-19 08:43:15 -04:00