parameters: (self, style, output)
docstring: Converts style attribute.
docstring_summary: Converts style attribute.
docstring_tokens: Converts style attribute .
function: def _ConvertStyleCommand(self, style, output):
      """Converts style attribute."""
      if style == 'fill':
        output.WriteByte(CMD_PICTURE_PAINT_STYLE)
        output.WriteByte(0)
        return
  
      if style == 'stroke':
        output.WriteByte(CMD_PICTURE_PAINT_STYLE)
        output.WriteByte(1)
        return
  
      logging.critical('unknown style: %s', style)
      sys.exit(1)
function_tokens: def _ConvertStyleCommand ( self , style , output ) : if style == 'fill' : output . WriteByte ( CMD_PICTURE_PAINT_STYLE ) output . WriteByte ( 0 ) return if style == 'stroke' : output . WriteByte ( CMD_PICTURE_PAINT_STYLE ) output . WriteByte ( 1 ) return logging . critical ( 'unknown style: %s' , style ) sys . exit ( 1 )