Skip to content

Commit fbc70aa

Browse files
committed
New line wrapping for .java files
1 parent bac5dfe commit fbc70aa

7 files changed

Lines changed: 2118 additions & 701 deletions

File tree

core/src/processing/core/PApplet.java

Lines changed: 994 additions & 353 deletions
Large diffs are not rendered by default.

core/src/processing/core/PConstants.java

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,10 @@ public interface PConstants {
166166
/**
167167
* ( begin auto-generated from PI.xml )
168168
*
169-
* PI is a mathematical constant with the value 3.14159265358979323846. It is the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions <b>sin()</b> and <b>cos()</b>.
170-
*
169+
* PI is a mathematical constant with the value 3.14159265358979323846. It
170+
* is the ratio of the circumference of a circle to its diameter. It is
171+
* useful in combination with the trigonometric functions <b>sin()</b> and
172+
* <b>cos()</b>.
171173
* ( end auto-generated )
172174
* @webref constants
173175
* @see PConstants#HALF_PI
@@ -179,8 +181,10 @@ public interface PConstants {
179181
/**
180182
* ( begin auto-generated from HALF_PI.xml )
181183
*
182-
* HALF_PI is a mathematical constant with the value 1.57079632679489661923. It is half the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions <b>sin()</b> and <b>cos()</b>.
183-
*
184+
* HALF_PI is a mathematical constant with the value
185+
* 1.57079632679489661923. It is half the ratio of the circumference of a
186+
* circle to its diameter. It is useful in combination with the
187+
* trigonometric functions <b>sin()</b> and <b>cos()</b>.
184188
* ( end auto-generated )
185189
* @webref constants
186190
* @see PConstants#PI
@@ -192,8 +196,10 @@ public interface PConstants {
192196
/**
193197
* ( begin auto-generated from QUARTER_PI.xml )
194198
*
195-
* QUARTER_PI is a mathematical constant with the value 0.7853982. It is one quarter the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions <b>sin()</b> and <b>cos()</b>.
196-
*
199+
* QUARTER_PI is a mathematical constant with the value 0.7853982. It is
200+
* one quarter the ratio of the circumference of a circle to its diameter.
201+
* It is useful in combination with the trigonometric functions
202+
* <b>sin()</b> and <b>cos()</b>.
197203
* ( end auto-generated )
198204
* @webref constants
199205
* @see PConstants#PI
@@ -204,8 +210,10 @@ public interface PConstants {
204210
/**
205211
* ( begin auto-generated from TWO_PI.xml )
206212
*
207-
* TWO_PI is a mathematical constant with the value 6.28318530717958647693. It is twice the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions <b>sin()</b> and <b>cos()</b>.
208-
*
213+
* TWO_PI is a mathematical constant with the value 6.28318530717958647693.
214+
* It is twice the ratio of the circumference of a circle to its diameter.
215+
* It is useful in combination with the trigonometric functions
216+
* <b>sin()</b> and <b>cos()</b>.
209217
* ( end auto-generated )
210218
* @webref constants
211219
* @see PConstants#PI

core/src/processing/core/PFont.java

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,17 @@ public PFont() { } // for subclasses
167167
/**
168168
* ( begin auto-generated from PFont.xml )
169169
*
170-
* PFont is the font class for Processing. To create a font to use with Processing, select "Create Font..." from the Tools menu. This will create a font in the format Processing requires and also adds it to the current sketch's data directory. Processing displays fonts using the .vlw font format, which uses images for each letter, rather than defining them through vector data. The <b>loadFont()</b> function constructs a new font and <b>textFont()</b> makes a font active. The <b>list()</b> method creates a list of the fonts installed on the computer, which is useful information to use with the <b>createFont()</b> function for dynamically converting fonts into a format to use with Processing.
171-
*
170+
* PFont is the font class for Processing. To create a font to use with
171+
* Processing, select "Create Font..." from the Tools menu. This will
172+
* create a font in the format Processing requires and also adds it to the
173+
* current sketch's data directory. Processing displays fonts using the
174+
* .vlw font format, which uses images for each letter, rather than
175+
* defining them through vector data. The <b>loadFont()</b> function
176+
* constructs a new font and <b>textFont()</b> makes a font active. The
177+
* <b>list()</b> method creates a list of the fonts installed on the
178+
* computer, which is useful information to use with the
179+
* <b>createFont()</b> function for dynamically converting fonts into a
180+
* format to use with Processing.
172181
* ( end auto-generated )
173182
* @webref typography:pfont
174183
* @param font
@@ -795,8 +804,11 @@ public Glyph getGlyph(int i) {
795804
/**
796805
* ( begin auto-generated from PFont_list.xml )
797806
*
798-
* Gets a list of the fonts installed on the system. The data is returned as a String array. This list provides the names of each font for input into <b>createFont()</b>, which allows Processing to dynamically format fonts. This function is meant as a tool for programming local applications and is not recommended for use in applets.
799-
*
807+
* Gets a list of the fonts installed on the system. The data is returned
808+
* as a String array. This list provides the names of each font for input
809+
* into <b>createFont()</b>, which allows Processing to dynamically format
810+
* fonts. This function is meant as a tool for programming local
811+
* applications and is not recommended for use in applets.
800812
* ( end auto-generated )
801813
* @webref pfont
802814
* @usage application

0 commit comments

Comments
 (0)