Searched defs:angle (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/test/java/awt/Graphics2D/DrawString/
H A DDrawStrSuper.java41 int angle = 0; field in class:DrawStrSuper
61 AffineTransform.getRotateInstance(angle * Math.PI/180.0);
112 if (!interactive && dss.angle > 360) {
121 dss.angle += 10;
/openjdk7/jdk/test/java/io/Serializable/noSuchFieldClarification/
H A DNoSuchFieldClarification.java38 private double angle; field in class:TwoDPoint
47 this.angle = Math.atan2(y, x);
51 return radius * Math.cos(angle);
55 return radius * Math.sin(angle);
64 fields.put("x", radius * Math.cos(angle));
65 fields.put("y", radius * Math.sin(angle));
77 angle = Math.atan2(y, x);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DShadowEffect.java39 protected int angle = 135; field in class:ShadowEffect
69 return angle;
72 void setAngle(int angle) { argument
74 this.angle = angle;
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DRoundRectIterator.java82 private static final double angle = Math.PI / 4.0; field in class:RoundRectIterator
83 private static final double a = 1.0 - Math.cos(angle);
84 private static final double b = Math.tan(angle);
H A DArc2D.java33 * start angle, angular extent (length of the arc), and a closure type
121 * The starting angle of the arc in degrees.
168 * @param start The starting angle of the arc in degrees.
192 * @param start The starting angle of the arc in degrees.
414 * The starting angle of the arc in degrees.
461 * @param start The starting angle of the arc in degrees.
485 * @param start The starting angle of the arc in degrees.
706 * Returns the starting angle of the arc.
708 * @return A double value that represents the starting angle
740 * starting angle an
1114 normalizeDegrees(double angle) argument
1149 containsAngle(double angle) argument
[all...]
/openjdk7/jdk/src/share/demo/applets/Fractal/
H A DCLSFractal.java305 { "startAngle", "float", "Sets the starting angle. Default is 0." },
306 { "rotAngle", "float", "Sets the rotation angle. Default is 45." },
334 float angle; field in class:CLSTurtle
344 angle = ang;
354 angle = turtle.angle;
364 angle += theta;
368 X += (float) Math.cos(angle) * scaleX;
369 Y += (float) Math.sin(angle) * scaleY;
373 float x = X + (float) Math.cos(angle) * scale
[all...]
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIRenderer.cpp51 static void AngleToCoord(jint angle, jint w, jint h, jint *x, jint *y) argument
56 *x = (long)(cos((double)angle * toRadians) * w);
57 *y = -(long)(sin((double)angle * toRadians) * h);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKColorChooserPanel.java509 * Flag indicating the angle, or hue, has changed and the triangle
552 private double angle; field in class:GTKColorChooserPanel.ColorTriangle
744 if (Math.toDegrees(Math.PI * 2 - angle) <= 20 ||
745 Math.toDegrees(Math.PI * 2 - angle) >= 201) {
751 int lineX0 = (int)(Math.cos(angle) * size);
752 int lineY0 = (int)(Math.sin(angle) * size);
753 int lineX1 = (int)(Math.cos(angle) * (size - width));
754 int lineY1 = (int)(Math.sin(angle) * (size - width));
764 ((Graphics2D)g2).rotate(angle + Math.PI / 2);
813 double rotate = Math.toRadians(-30.0) + angle;
1053 setHueAngle(double angle) argument
[all...]
H A DMetacity.java2035 private static final double angle = Math.PI / 4.0; field in class:Metacity.RoundRectClipShape.RoundishRectIterator
2036 private static final double a = 1.0 - Math.cos(angle);
2037 private static final double b = Math.tan(angle);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Font.cpp184 jint angle, jfloat awScale)
193 awtFont = Create(env, font, angle, awScale);
244 AwtFont* AwtFont::Create(JNIEnv *env, jobject font, jint angle, jfloat awScale) argument
269 awtFont->textAngle = angle;
304 angle, awScale);
346 angle, awScale);
394 int angle=0, float awScale=1.0f)
399 logFont.lfEscapement = angle;
400 logFont.lfOrientation = angle;
404 if (angle
183 GetFont(JNIEnv *env, jobject font, jint angle, jfloat awScale) argument
393 CreateHFont_sub(LPCWSTR name, int style, int height, int angle=0, float awScale=1.0f) argument
455 CreateHFont(WCHAR* name, int style, int height, int angle, float awScale) argument
[all...]

Completed in 52 milliseconds