From 36945e71e3c687b24e46e6735776a6987e1257d2 Mon Sep 17 00:00:00 2001
From: Konsl <82901383+Konsl@users.noreply.github.com>
Date: Mon, 14 Apr 2025 18:09:15 +0200
Subject: [PATCH 1/4] Update PGraphics.java: fix typos in documentation
---
core/src/processing/core/PGraphics.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java
index 9e3205c69a..a997861a7c 100644
--- a/core/src/processing/core/PGraphics.java
+++ b/core/src/processing/core/PGraphics.java
@@ -2496,7 +2496,7 @@ protected void curveVertexSegment(float x1, float y1, float z1,
*
* Using point() with strokeWeight(1) or smaller may draw nothing to the screen,
* depending on the graphics settings of the computer. Workarounds include
- * setting the pixel using set() or drawing the point using either
+ * setting the pixel using set() or drawing the point using either
* circle() or square().
*
* @webref shape:2d primitives
@@ -6439,7 +6439,7 @@ public PStyle getStyle(PStyle s) { // ignore
*
* Using point() with strokeWeight(1) or smaller may draw nothing to the screen,
* depending on the graphics settings of the computer. Workarounds include
- * setting the pixel using set() or drawing the point using either
+ * setting the pixel using set() or drawing the point using either
* circle() or square().
*
* @webref shape:attributes
From 4924605c8d09da1663feadf48aee0bb0a4b1f39b Mon Sep 17 00:00:00 2001
From: Konsl <82901383+Konsl@users.noreply.github.com>
Date: Mon, 14 Apr 2025 18:18:54 +0200
Subject: [PATCH 2/4] Update PGraphics.java: fix more typos
---
core/src/processing/core/PGraphics.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java
index a997861a7c..22e3e9b6c5 100644
--- a/core/src/processing/core/PGraphics.java
+++ b/core/src/processing/core/PGraphics.java
@@ -6252,7 +6252,7 @@ public float modelZ(float x, float y, float z) {
*
* The style information controlled by the following functions are included
* in the style:
- * fill(), stroke(), tint(), strokeWeight(), strokeCap(),strokeJoin(),
+ * fill(), stroke(), tint(), strokeWeight(), strokeCap(),strokeJoin(),
* imageMode(), rectMode(), ellipseMode(), shapeMode(), colorMode(),
* textAlign(), textFont(), textMode(), textSize(), textLeading(),
* emissive(), specular(), shininess(), ambient()
From b342feba9ac84482f7cb50786d457dbda97f136a Mon Sep 17 00:00:00 2001
From: Konsl <82901383+Konsl@users.noreply.github.com>
Date: Mon, 14 Apr 2025 18:26:44 +0200
Subject: [PATCH 3/4] Update PApplet.java: remove unmatched closing tag
---
core/src/processing/core/PApplet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java
index 9f3486a10d..4cb01184b3 100644
--- a/core/src/processing/core/PApplet.java
+++ b/core/src/processing/core/PApplet.java
@@ -913,7 +913,7 @@ void handleSettings() {
* Processing Development Environment (PDE). For example, when
* using the Eclipse code editor, it's necessary to use
* settings() to define the size() and
- * smooth() values for a sketch..
+ * smooth() values for a sketch.
*
* The settings() method runs before the sketch has been
* set up, so other Processing functions cannot be used at that
From 056b88b671484742cf7c8eae0f20b5b6731b81fc Mon Sep 17 00:00:00 2001
From: Konsl <82901383+Konsl@users.noreply.github.com>
Date: Mon, 14 Apr 2025 18:31:37 +0200
Subject: [PATCH 4/4] Update PGraphics.java: fix swapped html tags
---
core/src/processing/core/PGraphics.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java
index 22e3e9b6c5..0b9f0d2ed4 100644
--- a/core/src/processing/core/PGraphics.java
+++ b/core/src/processing/core/PGraphics.java
@@ -3559,8 +3559,8 @@ public float curvePoint(float a, float b, float c, float d, float t) {
/**
* Calculates the tangent of a point on a curve. There's a good definition
- * of tangent on Wikipedia.
+ * of tangent on Wikipedia.
*
* Advanced
* Code thanks to Dave Bollinger (Bug #715)