Пример #1
0
 public override void WriteSVG(SvgWriter w)
 {
     if(_stemDirection == VerticalDir.up)
         w.SvgUseXY(null, _objectType, _left, _top, _fontHeight);
     else
         w.SvgUseXY(null, _objectType, _left, _bottom, _fontHeight);
 }
Пример #2
0
 /// <summary>
 /// Writes a clef to the SVG file.
 /// The Character metrics have been set in SvgSystem.Justify()
 /// </summary>
 public override void WriteSVG(SvgWriter w, bool staffIsVisible)
 {
     if(this.Metrics != null && staffIsVisible)
     {
         ClefMetrics m = Metrics as ClefMetrics;
         if(m != null)
             w.SvgUseXY("clef", m.ID_Type, m.OriginX, m.OriginY, m.FontHeight);
     }
 }
Пример #3
0
 public override void WriteSVG(SvgWriter w)
 {
     if(_stemDirection == VerticalDir.up)
         w.SvgUseXY("flag" + SvgScore.UniqueID_Number, _objectType, _left, _top, _fontHeight);
     else
         w.SvgUseXY("flag" + SvgScore.UniqueID_Number, _objectType, _left, _bottom, _fontHeight);
 }