/// <summary> /// This function writes the staff name, barnumber and region info to the SVG file (if they are present). /// The barline itself is drawn when the system (and staff edges) is complete. /// </summary> public override void WriteDrawObjectsSVG(SvgWriter w) { base.WriteDrawObjectsSVG(w); FramedRegionInfoMetrics upperBox = null; if (FramedRegionEndTextMetrics != null) { upperBox = FramedRegionEndTextMetrics; } if (FramedRegionStartTextMetrics != null) { upperBox = (upperBox != null && upperBox.Bottom < FramedRegionStartTextMetrics.Bottom) ? upperBox : FramedRegionStartTextMetrics; } if (upperBox != null) { DrawRegionFrameConnector(w, upperBox); } if (FramedRegionEndTextMetrics != null) { FramedRegionEndTextMetrics.WriteSVG(w); } if (FramedRegionStartTextMetrics != null) { FramedRegionStartTextMetrics.WriteSVG(w); } }
/// <summary> /// This function writes the staff name, barnumber and region info to the SVG file (if they are present). /// The barline itself is drawn when the system (and staff edges) is complete. /// </summary> public override void WriteDrawObjectsSVG(SvgWriter w) { base.WriteDrawObjectsSVG(w); if (FramedRegionEndTextMetrics != null) { DrawRegionFrameConnector(w, FramedRegionEndTextMetrics); FramedRegionEndTextMetrics.WriteSVG(w); } }