Jakub Valtar
6eb3554688
Revert updatePixels() to set modified flag to true
...
PImage.modify flag is now used for two purposes and should be split into
two variables:
- internally by renderers to signal that pixels[] changed and need to be
drawn
- externally to signal other renderers that this image changed in some
way and they should update their cache
Reverts 3e5500c457
Fixes #5040
2017-05-02 22:40:25 +02:00
Jakub Valtar
a6f50d402a
Fix typos made during pixelDensity update
...
Fixes #5028
2017-04-25 23:49:18 +02:00
Ben Fry
fa836591b0
Merge pull request #5011 from JakubValtar/blow-up
...
Window placement and pixel density cleanup
2017-04-21 16:57:20 -04:00
Ben Fry
a05a375104
set the font, even if not deriving
2017-03-17 20:41:39 -04:00
Ben Fry
c8c4539204
don't derive the font again if the size is unchanged ( #4956 )
2017-03-12 09:59:12 -04:00
Jakub Valtar
f8bbc3b3fe
pixelDensity (Java2D): fix pixel operations
2017-02-19 01:41:23 +01:00
Jakub Valtar
3e5500c457
pixelDensity (Java2D): set modified to false after updatePixels()
2017-02-17 13:38:09 +01:00
Jakub Valtar
a28a043c3e
pixelDensity (Java2D): fix set() clamping on wrong boundary
2017-02-17 13:37:20 +01:00
Jakub Valtar
b5002d297a
pixelDensity (Java2D): set default transform
2017-02-16 16:13:53 +01:00
Ben Fry
2c0c1b9a36
bring back getImage() to fix #4473
2016-08-12 21:34:50 -04:00
Akarshit Wal
a38b4e89fb
Reapplied blendMode
2016-02-29 21:34:17 +05:30
Ben Fry
9756ee1089
avoid another "Zero length string passed to TextLayout constructor" error, other notes
2015-11-05 10:05:51 -05:00
Ben Fry
fd1b9f9fb0
a little housekeeping
2015-09-05 08:38:40 -04:00
Jakub Valtar
621d064545
Clean up textFont and textSize, add impl
2015-09-04 10:43:01 -04:00
Jakub Valtar
de81b08c35
Remove alpha filler
...
No longer needed because primary surface is now ARGB
4cc46d8c9f
2015-07-31 14:59:27 -04:00
Ben Fry
5e82cbe636
support additional image types from ImageIO.read(), check alpha on unknown images ( fixes #3442 ), other notes
2015-07-14 11:51:48 -04:00
Ben Fry
c7dc777154
change how font metrics are pulled to fix text width issues
2015-06-28 08:51:20 -04:00
Ben Fry
44404f4062
excising nearly all AWT from PGraphics
2015-06-21 23:55:10 -04:00
Ben Fry
bf05f41bb9
break PShape into AWT and non-AWT code
2015-06-21 22:58:41 -04:00
Ben Fry
ef9d4c4d2f
more package movement for the separate renderers
2015-06-21 22:24:49 -04:00