Searched refs:angle (Results 1 - 21 of 21) sorted by relevance

/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;
H A DDropShadowEffect.java78 double trangleAngle = Math.toRadians(angle - 90);
H A DInnerShadowEffect.java76 double trangleAngle = Math.toRadians(angle - 90);
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DArcIterator.java125 * start angle: ang1
126 * end angle: ang2 = ang1 + extent
153 * Let angb = (ang2 - ang1)/2; angb is half of the angle
215 double angle = angStRad;
217 coords[0] = (float) (x + Math.cos(angle) * w);
218 coords[1] = (float) (y + Math.sin(angle) * h);
235 angle += increment * (index - 1);
236 double relx = Math.cos(angle);
237 double rely = Math.sin(angle);
240 angle
[all...]
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...]
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);
/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/test/java/awt/Graphics2D/DrawString/
H A DRotTransText.java63 for (int angle=0;angle<360;angle+=30) {
69 aff.rotate(angle * Math.PI/180.0);
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/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/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/windows/
H A Dawt_Font.h149 jint angle=0, jfloat awScale=1.0f);
157 jint angle = 0, jfloat awScale=1.0f);
159 int angle = 0, float awScale=1.0f);
255 /* angle of text rotation in 10'ths of a degree*/
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...]
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DQuartzRenderer.m374 CGFloat angle = angStRad;
375 CGContextMoveToPoint(cgRef, (x + cos(angle) * w)+offsetX, (y + sin(angle) * h)+offsetY);
389 CGFloat angleBase = angle;
393 angle = angleBase + increment * (index - 1);
394 CGFloat relx = cos(angle);
395 CGFloat rely = sin(angle);
398 angle += increment;
399 relx = cos(angle);
400 rely = sin(angle);
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCSSBorder.java241 double angle = i * Math.PI / 2;
244 g2.rotate(angle);
247 g2.rotate(-angle);
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPathGraphics.java351 double angle = Math.toDegrees(Math.atan2(pt.y, pt.x));
352 if (angle < 0.0) {
353 angle+= 360.0;
357 * Since the 2D y-axis runs from top-to-bottom, windows angle of
361 if (angle != 0.0) {
362 angle = 360.0 - angle;
364 return (int)Math.round(angle * 10.0);
684 /* To get GDI to rotate glyphs we need to specify the angle
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextLayout.java1136 float angle = textLine.getCharAngle(logIndex);
1138 pos += angle * shift;
1139 top1X = top2X = pos + angle*textLine.getCharAscent(logIndex);
1140 bottom1X = bottom2X = pos - angle*textLine.getCharDescent(logIndex);
/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/native/sun/awt/medialib/
H A Dmlib_image_proto.h1778 mlib_d64 angle,
1832 mlib_d64 angle,
1845 mlib_d64 angle,
/openjdk7/jdk/src/share/native/sun/java2d/opengl/J2D_GL/
H A Dgl.h923 GLAPI void GLAPIENTRY glRotated( GLdouble angle,
925 GLAPI void GLAPIENTRY glRotatef( GLfloat angle,

Completed in 230 milliseconds