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

/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKColorChooserPanel.java43 private static final float PI_3 = (float)(Math.PI / 3); field in class:GTKColorChooserPanel
1165 if (angle < PI_3) {
1169 (int)(255 * angle / PI_3)) << 8;
1174 (int)(255 * angle / PI_3));
1177 else if (angle < 2 * PI_3) {
1178 angle -= PI_3;
1182 (int)(255 * angle / PI_3)) << 16;
1187 (int)(255 * angle / PI_3)) << 16;
1191 angle -= 2 * PI_3;
1195 (int)(255 * angle / PI_3));
[all...]

Completed in 32 milliseconds