From bd757140fc8d72f0c04008419a67b837794bc0c6 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 4 Aug 2014 17:53:43 -0700 Subject: [PATCH] Added several related references to PFont and text(), per processing/processing-docs#29 --- core/src/processing/core/PApplet.java | 6 ++++++ core/src/processing/core/PFont.java | 2 +- core/src/processing/core/PGraphics.java | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 882a4f9be..6e10ea4cd 100755 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -12957,6 +12957,8 @@ public class PApplet extends Applet * @see PFont * @see PGraphics#text(String, float, float) * @see PGraphics#textSize(float) + * @see PGraphics#textAscent() + * @see PGraphics#textDescent() */ public void textAlign(int alignX, int alignY) { if (recorder != null) recorder.textAlign(alignX, alignY); @@ -13188,6 +13190,10 @@ public class PApplet extends Applet * @see PGraphics#textFont(PFont) * @see PGraphics#textMode(int) * @see PGraphics#textSize(float) + * @see PGraphics#textLeading(float) + * @see PGraphics#textWidth(String) + * @see PGraphics#textAscent() + * @see PGraphics#textDescent() * @see PGraphics#rectMode(int) * @see PGraphics#fill(int, float) * @see_external String diff --git a/core/src/processing/core/PFont.java b/core/src/processing/core/PFont.java index cba1bf4d0..beec7259f 100644 --- a/core/src/processing/core/PFont.java +++ b/core/src/processing/core/PFont.java @@ -56,8 +56,8 @@ import java.util.HashMap; * * @webref typography * @see PApplet#loadFont(String) + * @see PApplet#createFont(String, float, boolean, char[]) * @see PGraphics#textFont(PFont) - * @see PGraphics#text(char, float, float) */ public class PFont implements PConstants { diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java index e6230f645..f113fa1f4 100644 --- a/core/src/processing/core/PGraphics.java +++ b/core/src/processing/core/PGraphics.java @@ -3899,6 +3899,8 @@ public class PGraphics extends PImage implements PConstants { * @see PFont * @see PGraphics#text(String, float, float) * @see PGraphics#textSize(float) + * @see PGraphics#textAscent() + * @see PGraphics#textDescent() */ public void textAlign(int alignX, int alignY) { textAlign = alignX; @@ -4241,6 +4243,10 @@ public class PGraphics extends PImage implements PConstants { * @see PGraphics#textFont(PFont) * @see PGraphics#textMode(int) * @see PGraphics#textSize(float) + * @see PGraphics#textLeading(float) + * @see PGraphics#textWidth(String) + * @see PGraphics#textAscent() + * @see PGraphics#textDescent() * @see PGraphics#rectMode(int) * @see PGraphics#fill(int, float) * @see_external String