# Path: constants.py
# BLACK = (0, 0, 0)
# 
# WHITE = (255, 255, 255)
# 
# BLUE = (0, 0, 128)
# 
# RED = (178, 34, 34)
# 
# GREEN = (0, 100, 0)
# 
# YELLOW = (255, 165, 0)
# 
# ALPHABET = ['A', 'C', 'G', 'T']
# 
# Path: constants.py
# TFFM_KIND = enum(FIRST_ORDER="1st-order", DETAILED="detailed",
#                  ZERO_ORDER="0-order")
# 
# LOGO_TYPE = enum(SUMMARY="summary", DENSE="dense")


from constants import BLACK, WHITE, BLUE, RED, GREEN, YELLOW, ALPHABET
from constants import TFFM_KIND, LOGO_TYPE
import tffm_module
    """
    Print the svg instructions to draw the axis to the output.

    :arg output: Stream where to write.
    :type output: file
    :arg x_coord: x-coordinate where to start (bottom) the Y-axis in the svg.
    :type x_coord: float
    :arg y_coord: y-coordinate where to start (bottom) the Y-axis in the svg.
    :type y_coord: float

    """

    output.write("<line x1=\"%d\" y1=\"%d\" " % (x_coord, y_coord - 8))
    output.write("x2=\"%d\" y2=\"%d\" " % (x_coord, y_coord - 110))
    output.write("style=\"stroke:rgb(99,99,99);stroke-width:2\" />\n")
    draw_rectangle(output, x_coord - 7, y_coord - 10, 2, 7)
    output.write("<text x=\"%d\" y=\"%d\">\n0\n</text>\n" % (x_coord - 17,
                                                             y_coord - 5))
    draw_rectangle(output, x_coord - 7, y_coord - 60, 2, 7)
    output.write("<text x=\"%d\" y=\"%d\">\n1\n</text>\n" % (x_coord - 17,
                                                             y_coord - 55))
    draw_rectangle(output, x_coord - 7, y_coord - 110, 2, 7)
    output.write("<text x=\"%d\" y=\"%d\">\n2\n</text>\n" % (x_coord - 17,
                                                             y_coord - 105))
    output.write("<text x=\"%d\" y=\"%d\"\n" % (x_coord - 30, y_coord - 55))
    output.write("transform=\"rotate(-90, %d, %d)\">\n" % (x_coord - 30,
                                                           y_coord - 50))
    output.write("bits\n</text>\n")



# Path: constants.py
# BLACK = (0, 0, 0)
# 
# WHITE = (255, 255, 255)
# 
# BLUE = (0, 0, 128)
# 
# RED = (178, 34, 34)
# 
# GREEN = (0, 100, 0)
# 
# YELLOW = (255, 165, 0)
# 
# ALPHABET = ['A', 'C', 'G', 'T']
# 
# Path: constants.py
# TFFM_KIND = enum(FIRST_ORDER="1st-order", DETAILED="detailed",
#                  ZERO_ORDER="0-order")
# 
# LOGO_TYPE = enum(SUMMARY="summary", DENSE="dense")


# Path: drawing.py
from constants import BLACK, WHITE, BLUE, RED, GREEN, YELLOW, ALPHABET
from constants import TFFM_KIND, LOGO_TYPE
import tffm_module

    """
    Print the svg instructions to draw the axis to the output.

    :arg output: Stream where to write.
    :type output: file
    :arg x_coord: x-coordinate where to start (bottom) the Y-axis in the svg.
    :type x_coord: float
    :arg y_coord: y-coordinate where to start (bottom) the Y-axis in the svg.
    :type y_coord: float

    """

    output.write("<line x1=\"%d\" y1=\"%d\" " % (x_coord, y_coord - 8))
    output.write("x2=\"%d\" y2=\"%d\" " % (x_coord, y_coord - 110))
    output.write("style=\"stroke:rgb(99,99,99);stroke-width:2\" />\n")
    draw_rectangle(output, x_coord - 7, y_coord - 10, 2, 7)
    output.write("<text x=\"%d\" y=\"%d\">\n0\n</text>\n" % (x_coord - 17,
                                                             y_coord - 5))
    draw_rectangle(output, x_coord - 7, y_coord - 60, 2, 7)
    output.write("<text x=\"%d\" y=\"%d\">\n1\n</text>\n" % (x_coord - 17,
                                                             y_coord - 55))
    draw_rectangle(output, x_coord - 7, y_coord - 110, 2, 7)
    output.write("<text x=\"%d\" y=\"%d\">\n2\n</text>\n" % (x_coord - 17,
                                                             y_coord - 105))
    output.write("<text x=\"%d\" y=\"%d\"\n" % (x_coord - 30, y_coord - 55))
    output.write("transform=\"rotate(-90, %d, %d)\">\n" % (x_coord - 30,
                                                           y_coord - 50))
    output.write("bits\n</text>\n")



def draw_ellipse(output, x_center, y_center, x_radius, y_radius, colour=BLACK,