Commit Graph

3302 Commits

Author SHA1 Message Date
Raphaël de Courville
38143079c1 Update the warning message for pixelDensity
Made the warning message more helpful
2025-09-12 14:42:36 +02:00
Stef Tervelde
906ab17264 Add warning for default pixelDensity behavior
Introduces a warning message when pixelDensity defaults to 2x to match the display's pixel density. The warning prompts users to explicitly set pixelDensity in settings() to avoid the message.
2025-09-04 10:34:45 +02:00
Raphaël de Courville
2de754af8f Merge pull request #1107 from pnngocdoan/fix-mask
Add error check for pixelDensity in mask()
2025-07-11 12:33:16 +02:00
Raphaël de Courville
489c7e98c3 Merge pull request #1057 from jSdCool/interpilate
Add the ability to choose the interpolation mode when resizing an image
2025-07-11 12:29:12 +02:00
Stef Tervelde
30bc274e36 Merge pull request #1033 from Rishab87/shift-page-keys
Fixed `SHIFT` and `PAGE_UP` keys using the same keyCode
2025-07-11 12:23:27 +02:00
Raphaël de Courville
4fc1c5d4d4 Merge pull request #1015 from babaissarkar/update_set_heading
Update docs for setHeading
2025-07-11 12:03:12 +02:00
Ngoc Doan
bf58dc198e Remove an extra line 2025-05-27 22:17:10 -07:00
jSdCool
5d67bfd8a6 use the constant 2025-05-26 19:33:00 -04:00
Ngoc Doan
a201a71442 Add error check for pixelDesity in mask() 2025-05-17 04:01:48 -07:00
jSdCool
06453b801b Reapply clean changes for PR 2025-04-27 12:57:16 -04:00
Stef Tervelde
c83f44c9d8 Update PGraphicsOpenGL.java 2025-04-25 13:57:18 +02:00
Raphaël de Courville
732b20c94a Merge pull request #1038 from Stefterv/default-display-density
Change the default display density
2025-04-25 11:23:40 +02:00
Stef Tervelde
73d3aeb050 Change the default display density 2025-04-15 18:05:52 +02:00
Konsl
056b88b671 Update PGraphics.java: fix swapped html tags 2025-04-14 18:31:37 +02:00
Konsl
b342feba9a Update PApplet.java: remove unmatched closing tag 2025-04-14 18:26:44 +02:00
Konsl
4924605c8d Update PGraphics.java: fix more typos 2025-04-14 18:18:54 +02:00
Konsl
36945e71e3 Update PGraphics.java: fix typos in documentation 2025-04-14 18:09:15 +02:00
rishab
abc39e935e fixed page-up key code and added tests 2025-04-13 23:25:14 +05:30
Subhraman Sarkar
5c1278a91b PVector doc update 2025-03-26 09:48:17 +05:30
Stef Tervelde
9cd63b6c80 Merge pull request #954 from Rishab87/unexpected-y-axis
Fixed unexpected Y-axis translation when using ```ortho()``` and ```resetMatrix()```
2025-03-24 18:36:31 +01:00
Raphaël de Courville
0ace79650c Merge pull request #966 from Rishab87/unit-tests-key-event
Added unit tests for handling key events in ```processing:core```
2025-03-21 11:55:15 +01:00
rishab
bafcd54dce minor changes 2025-03-14 14:34:09 +05:30
rishab
e6ac72b2cc fixes 779 2025-03-14 00:20:33 +05:30
rishab
7c42504a95 clamping radius and added a safeDivide check 2025-03-13 13:04:45 +05:30
rishab
801b02b52b added keyEvent tests 2025-03-08 20:40:09 +05:30
rishab
bebf792699 pre multiplied projection matrix 2025-03-06 20:51:44 +05:30
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