Aditya Chaudhary
d4300995fa
JavaDocs Updated for getVertexCount() in PShape class
2025-02-04 20:55:26 +05:30
Aditya Chaudhary
93d2f93379
Fixed issue : Updated the getVertexCount() to take optional boolean value to count children
2025-02-04 16:54:59 +05:30
Aditya Chaudhary
46b8de48e5
Fixed getVertexCount() method issue of giving output 0 for GROUP shape by Updating it in PShape & PShapeOpenGL class
2025-02-01 11:41:22 +05:30
Stef Tervelde
6b8f65847d
Merge pull request #928 from Stefterv/kde-plasma-padding
...
Set Layout in Java2D
2025-01-21 18:05:16 +01:00
Stef Tervelde
b024526466
Merge pull request #929 from tracerstar/svg-gradient
...
Adds gradient export to SVG library
2025-01-21 18:00:40 +01:00
Stef Tervelde
78ef9f555c
Merge pull request #930 from hx2A/fix918
...
Fix for NullPointerException thrown in `PApplet.dequeueWindowEvents()`
2025-01-21 17:58:31 +01:00
Stef Tervelde
20d0c2503e
Fix for #931
...
Seems like the synchronised was there for an older approach to rendering. Made redundant by the BufferStrategy in 2015.
Now it causes issues on windows if you resize the window too quickly
2025-01-21 09:19:38 +01:00
Jim
a966803500
fix for #918
2025-01-19 17:29:45 -05:00
Stef Tervelde
fc3d87b266
Different solution for #862
2025-01-19 22:09:57 +01:00
Benjamin Fox
c8a85e3a58
Adding an extension handler to the SVG library to allow linear and radial gradients to export as SVG
...
The extension handler is a copy of https://gist.github.com/msteiger/4509119 by Martin Steiger with minor changes for Processing
Several classes and methods in PShapeSVG and PShapeJava2D have been made public or modified to support the export of gradients
2025-01-19 15:38:54 -05:00
Stef Tervelde
cd9d3fb96f
Update PSurfaceAWT.java
...
Forgot the import statements
2025-01-19 21:35:22 +01:00
Stef Tervelde
65acbc0741
Update PSurfaceAWT.java
2025-01-19 21:31:20 +01:00
Raphaël de Courville
7c638c36a4
Update Javadoc for noCursor()
...
Removed outdated information.
2025-01-17 12:48:53 +01:00
Stef Tervelde
342a6eb1c1
Merge pull request #912 from hx2A/thinkdifferent-activate
...
New `ThinkDifferent` method `activateSketchWindow()`
2025-01-14 16:56:48 +01:00
Jim
6dc53695da
add missing return statement
2025-01-12 09:24:34 -05:00
Jim
2105c56c5f
return true or false instead of hiding exception
2025-01-12 09:20:14 -05:00
Jim
0ed2e028e5
improve comments
2025-01-11 20:47:22 -05:00
Jim
03a4c03e32
recompile native code
2025-01-11 18:47:26 -05:00
Jim
43e5518a77
new activateSketchWindow static method for macOS
2025-01-11 18:42:12 -05:00
Junology
56d36599d2
Fix: set stroke and fill properly in PFont.getShape
2025-01-11 18:11:12 +09:00
Junology
26f45f994f
Refactor PShapeSVG.parseRect() to parse rx and ry attributes
2025-01-10 21:10:27 +09:00
Junology
4d711688e6
Clean up comments around SVG path lexical scanner
2024-12-12 22:35:57 +09:00
Junology
f50ff24333
Make lexical scanner state into enum
2024-12-12 22:30:31 +09:00
Jim
42d06129c6
add activate() jni call
2024-12-09 21:27:20 -05:00
Junology
095529b66b
Merge branch 'main' of https://github.com/Junology/Processing4 into main
2024-12-10 04:32:00 +09:00
Junology
faa6535dd5
Refactor SVG path parser
2024-12-10 04:30:07 +09:00
Jim
23d171a5b8
finishing what I started, fixing contour bug for good, closing #791
2024-12-09 10:48:51 -05:00
Ben Fry
1849ab76bc
iterators for JSONArray types
2023-09-27 20:14:12 -04:00
Jim
ad9d86dde5
fix get material bugs
2023-09-16 13:29:49 -04:00
Jim
4a967e3198
fix #643
2023-08-27 10:01:49 -04:00
Ben Fry
adbcf0f0c4
as with #739 , use calculated ascent/descent instead of native metrics ( fixes #768 )
2023-08-10 18:05:36 -04:00
Matthew Russell
f260a11a0f
Fix copyBufferFromSource throwing an exception
...
If usedBuffers was null and the buffer cache reached its maximum size, copyBufferFromSource would throw a null reference error. This adds a null check to that case to instantiate the usedBuffers list as is done elsewhere in this file.
2023-07-30 15:32:56 -05:00
Ben Fry
963df15ee1
Merge pull request #728 from mvaladas/main
...
Fix for Issue #641
2023-07-26 06:21:19 -04:00
Ben Fry
adfabbd50f
update app icon while running sketch
2023-07-25 19:13:17 -04:00
Ben Fry
866b3cf467
remove errant (commented out) references to old icons
2023-07-25 18:58:07 -04:00
Ben Fry
c57069fdca
Use calculated text height instead of OS ascent for better vertical centering ( fixes #739 )
2023-07-16 12:56:08 -04:00
Ben Fry
fb20a176ee
fix pdf colors outside the range causing NPE ( resolves #740 )
2023-07-16 12:40:21 -04:00
Miguel Valadas
0d3130d9ea
Fix for Issue #641
2023-06-05 17:34:10 +02:00
Ben Fry
011b64b3bf
fix StackOverFlowError when calling getDouble() ( #671 )
2023-02-20 05:02:49 -05:00
Ben Fry
4c901a30e5
clean up a few warnings
2023-02-18 19:43:03 -05:00
Ben Fry
4cf2348854
new-style switch statements
2023-02-18 19:38:14 -05:00
Ben Fry
93ef0648a7
change to uiScale when getting display bounds
2023-02-18 18:28:29 -05:00
Ben Fry
0882da0654
tweak sketch sizing, prevent double-resize
2023-02-18 18:02:44 -05:00
Ben Fry
f7978cc31c
multiply by ui scale when setting screen rectangle
2023-02-18 17:59:00 -05:00
Ben Fry
daf3859398
trying to figure out what is going on with bounds
2023-02-18 16:53:21 -05:00
Ben Fry
3bd7ffed17
more work on resolutions and full screen
2023-02-18 16:33:27 -05:00
Ben Fry
4c2b834e0b
Merge branch 'main' of github.com:processing/processing4
2023-02-18 14:47:06 -05:00
Ben Fry
361268e768
disabling windowScaleFactor makes everything behave
2023-02-18 14:46:40 -05:00
Ben Fry
3d463e9784
clarifying language for window manager resize
2023-02-18 14:45:35 -05:00
Ben Fry
6b624152a1
Merge pull request #659 from bsapozhnikov/main
...
Support chained decimals during SVG Parsing
2023-02-18 06:38:50 -05:00