be.tarsos.dsp.ui.layers.HorizontalFrequencyAxisLayer.class Maven / Gradle / Ivy
???? 3 ]
# $ % &
' ( ) *
+ ,
- . ) /
+ 0
1 2B?
1 3
' 4
5 6
1 7A 8 % 9 : ; < = cs #Lbe/tarsos/dsp/ui/CoordinateSystem; &(Lbe/tarsos/dsp/ui/CoordinateSystem;)V Code draw (Ljava/awt/Graphics2D;)V
StackMapTable ; > getName ()Ljava/lang/String; ? @ A B > C D E F G H I J K L M N G O J P Q R S T U V W X Y Z [ Frequency (cents) \ B Frequency Axis 4be/tarsos/dsp/ui/layers/HorizontalFrequencyAxisLayer java/lang/Object be/tarsos/dsp/ui/layers/Layer java/awt/Graphics2D ()V java/awt/Color black Ljava/awt/Color; setColor (Ljava/awt/Color;)V be/tarsos/dsp/ui/Axis Y Lbe/tarsos/dsp/ui/Axis; !be/tarsos/dsp/ui/CoordinateSystem getMin (Lbe/tarsos/dsp/ui/Axis;)F java/lang/Math round (F)I X getMax &be/tarsos/dsp/ui/layers/LayerUtilities
pixelsToUnits (Ljava/awt/Graphics2D;IZ)F
unitsToPixels (Ljava/awt/Graphics2D;FZ)F drawLine (IIII)V java/lang/String valueOf (I)Ljava/lang/String;
drawString X(Ljava/awt/Graphics2D;Ljava/lang/String;DDZZLjava/awt/Color;)Ljava/awt/geom/Rectangle2D; white !
*? *+? ? Z
'+? ? *? ? ? b? =*? ? ? ? >*? ? ? ? 6+?
? 6+?
? 6+?
? 6+?
? 6+x?
? 6 +? 8
*? ? ? ?6?*? ? ? ?? q?p? ,+`?
? :+?`?? W? 9Xp? +`?
?
?? dp? +`?
????+?
+ d?h`?? ? W? ! ? ? ? B? ! " ?
© 2015 - 2024 Weber Informatics LLC | Privacy Policy