1
package org.herac.tuxguitar.gui.editors.tab.painters;
3
import org.herac.tuxguitar.gui.editors.TGPainter;
5
public class TGTempoPainter {
7
public static void paintTempo(TGPainter painter, int x, int y,float scale) {
8
int width = Math.round(scale * 1.33f);
9
int height = Math.round(scale * (1.0f + 2.5f));
11
painter.initPath(TGPainter.PATH_FILL);
12
TGNotePainter.paintNote(painter,x + (width - (scale * 1.33f)),y + ( height - (1.0f * scale) ), scale );
16
painter.moveTo(x + width,y);
17
painter.lineTo(x + width,y + (height - (0.66f * scale)) );