# 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
        RGB.
    :type colour: tuple (int, int, int)
    :arg opacity: Opacity of the 'A' (default: 1.0)
    :type opacity: float

    :note: The 'A' is drawn by creating a red polygon giving the shape and a
        white internal triangle above to make the bar in the middle of the 'A'
        appear.

    """

    output.write("<!-- Begin 'A' -->\n")
    pt1 = (x_coord, y_coord + height)
    pt2 = (x_coord + width * 0.42, y_coord)
    pt3 = (x_coord + width * 0.58, y_coord)
    pt4 = (x_coord + width, y_coord + height)
    pt5 = (x_coord + 0.85 * width, y_coord + height)
    pt6 = (x_coord + 0.725 * width, y_coord + 0.75 * height)
    pt7 = (x_coord + 0.275 * width, y_coord + 0.75 * height)
    pt8 = (x_coord + 0.15 * width, y_coord + height)
    points = [pt1, pt2, pt3, pt4, pt5, pt6, pt7, pt8]
    draw_polygon(output, points, colour, opacity)
    if height > 8:
        pt1 = (x_coord + 0.5 * width, y_coord + 0.2 * height)
        pt2 = (x_coord + 0.34 * width, y_coord + 0.6 * height - 1)
        pt3 = (x_coord + 0.64 * width, y_coord + 0.6 * height - 1)
        draw_polygon(output, [pt1, pt2, pt3], WHITE)
    output.write("<!-- End 'A' -->\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

        RGB.
    :type colour: tuple (int, int, int)
    :arg opacity: Opacity of the 'A' (default: 1.0)
    :type opacity: float

    :note: The 'A' is drawn by creating a red polygon giving the shape and a
        white internal triangle above to make the bar in the middle of the 'A'
        appear.

    """

    output.write("<!-- Begin 'A' -->\n")
    pt1 = (x_coord, y_coord + height)
    pt2 = (x_coord + width * 0.42, y_coord)
    pt3 = (x_coord + width * 0.58, y_coord)
    pt4 = (x_coord + width, y_coord + height)
    pt5 = (x_coord + 0.85 * width, y_coord + height)
    pt6 = (x_coord + 0.725 * width, y_coord + 0.75 * height)
    pt7 = (x_coord + 0.275 * width, y_coord + 0.75 * height)
    pt8 = (x_coord + 0.15 * width, y_coord + height)
    points = [pt1, pt2, pt3, pt4, pt5, pt6, pt7, pt8]
    draw_polygon(output, points, colour, opacity)
    if height > 8:
        pt1 = (x_coord + 0.5 * width, y_coord + 0.2 * height)
        pt2 = (x_coord + 0.34 * width, y_coord + 0.6 * height - 1)
        pt3 = (x_coord + 0.64 * width, y_coord + 0.6 * height - 1)
        draw_polygon(output, [pt1, pt2, pt3], WHITE)
    output.write("<!-- End 'A' -->\n")



def draw_letter_c(output, x_coord, y_coord, width, height, colour=BLUE,