From c954e2acff1b979399a52b5f3785b06aaeb0101c Mon Sep 17 00:00:00 2001 From: REAS Date: Sun, 21 Jun 2015 00:46:05 +0200 Subject: [PATCH] Update for pixelWidth/Height reference --- core/src/processing/core/PApplet.java | 4 ++-- java/keywords.txt | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 2106c996d..43d06718c 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -336,7 +336,7 @@ public class PApplet implements PConstants { * ( end auto-generated ) * * @webref environment - * @see PApplet#width + * @see PApplet#pixelWidth * @see pixelDensity() * @see displayDensity() */ @@ -360,7 +360,7 @@ public class PApplet implements PConstants { * ( end auto-generated ) * * @webref environment - * @see PApplet#height + * @see PApplet#pixelHeight * @see pixelDensity() * @see displayDensity() */ diff --git a/java/keywords.txt b/java/keywords.txt index 2b49495e6..079ddb7af 100644 --- a/java/keywords.txt +++ b/java/keywords.txt @@ -435,6 +435,7 @@ curveVertex FUNCTION1 curveVertex_ day FUNCTION1 day_ degrees FUNCTION1 degrees_ directionalLight FUNCTION1 directionalLight_ +displayDensity FUNCTION1 displayDensity_ displayHeight KEYWORD4 displayHeight displayWidth KEYWORD4 displayWidth dist FUNCTION1 dist_ @@ -665,7 +666,9 @@ save FUNCTION2 PImage_save_ set FUNCTION2 PImage_set_ updatePixels FUNCTION2 PImage_updatePixels_ pixelDensity FUNCTION1 pixelDensity_ +pixelHeight FUNCTION1 pixelHeight_ pixels KEYWORD4 pixels +pixelWidth KEYWORD4 pixelWidth pmouseX KEYWORD4 pmouseX pmouseY KEYWORD4 pmouseY point FUNCTION1 point_