/// <summary> /// Draw 12 roman numerals on the given graphics. /// </summary> /// <param name="graphics">Graphics context</param> public void Draw(IGraphicsService graphics) { if (graphics == null) { throw new ArgumentNullException("graphics"); } for (var x = 5; x <= 60; x+= 5) { var numeral = numerals[(x / 5) - 1]; graphics.DrawString(numeral, _font, _fontBrush, _mathService.GetPoint(x / 60d, NumeralsLength), _stringFormat); } }