예제 #1
0
 private static MusicFontSymbol GetSymbol(AccentuationType accentuation)
 {
     switch (accentuation)
     {
         case AccentuationType.None:
             return MusicFontSymbol.None;
         case AccentuationType.Normal:
             return MusicFontSymbol.Accentuation;
         case AccentuationType.Heavy:
             return MusicFontSymbol.HeavyAccentuation;
         default:
             return MusicFontSymbol.None;
     }
 }
예제 #2
0
        private static MusicFontSymbol GetSymbol(AccentuationType accentuation)
        {
            switch (accentuation)
            {
            case AccentuationType.None:
                return(MusicFontSymbol.None);

            case AccentuationType.Normal:
                return(MusicFontSymbol.Accentuation);

            case AccentuationType.Heavy:
                return(MusicFontSymbol.HeavyAccentuation);

            default:
                return(MusicFontSymbol.None);
            }
        }
예제 #3
0
 public AccentuationGlyph(float x, float y, AccentuationType accentuation)
     : base(x, y, 1, GetSymbol(accentuation))
 {
 }
예제 #4
0
 public AccentuationGlyph(float x, float y, AccentuationType accentuation)
     : base(x, y, 1, GetSymbol(accentuation))
 {
 }