Package musicwriter.gui.partitionaffichage

Examples of musicwriter.gui.partitionaffichage.Systeme


       
        if(sourisCurseurNote != null)
        {
        /*à quoi correspond ce dessin ?*/
           
            Systeme systeme = getPartitionVue().getSysteme(sourisCurseurNote.getDebutMoment());
            Point p = systeme.getPoint(sourisCurseurNote.getCurseur());
            double p2x = systeme.getXNotes(getCurseurNoteDureeEntree().getFinMoment(sourisCurseurNote.getDebutMoment()));

            g.setColor(Color.GRAY);
            g.setAlpha(0.5f);
            g.setPenWidth(3.0f);
//            g.drawLine((int) p.x,
View Full Code Here


    }

    private void curseurTravailAfficher(Graphics g) {
        if(curseurTravailEtat)
        {
            Systeme s = getPartitionVue().getSysteme(curseurTravail.getMoment());
            double x = s.getXNotes(curseurTravail.getMoment()) - s.getNoteRayon(curseurTravail.getPortee()) - 3;
            double y1 = s.getY(curseurTravail.getPortee(), -3);
            double y2 = s.getY(curseurTravail.getPortee(), 3);
            g.setPenWidth(1.5f);
            g.setColor(Color.BLACK);
            g.drawLine(x, y1, x, y2);
            g.drawLine(x-3, y1, x+3, y1);
            g.drawLine(x-3, y2, x+3, y2);
View Full Code Here

        if(getPointDebut().distanceSq(getPointDestination()) < 15)
            return  new HashSet<AffichageAccord>();
       
       
       
        Systeme systeme = getAffichageAccordDebut().getSysteme();
        Set<AffichageAccord> affichageAccordsTous = systeme.getAffichageAccords();
        Set<AffichageAccord> accordsConcernes = new HashSet<AffichageAccord>();
              
        accordsConcernes.add(getAffichageAccordDebut());
              
        int nbAccords = 0;
View Full Code Here

TOP

Related Classes of musicwriter.gui.partitionaffichage.Systeme

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.