def __init__(self, knittingpattern, layout, instruction_to_svg, builder,<EOL>zoom):
self._knittingpattern = knittingpattern<EOL>self._layout = layout<EOL>self._instruction_to_svg = instruction_to_svg<EOL>self._builder = builder<EOL>self._zoom = zoom<EOL>self._instruction_type_color_to_symbol = OrderedDict()<EOL>self._symbol_id_to_scale = {}<EOL>
:param knittingpattern.KnittingPattern.KnittingPattern knittingpattern:
  a knitting pattern
:param knittingpattern.convert.Layout.GridLayout layout:
:param instruction_to_svg: an
  :class:`~knittingpattern.convert.InstructionToSVG.InstructionToSVG`
  :class:`
  ~knittingpattern.convert.InstructionToSVGCache.InstructionSVGCache`,
  both with instructions already loaded.
:param knittingpattern.convert.SVGBuilder.SVGBuilder builder:
:param float zoom: the height and width of a knit instruction