# Copyright (c) 2016-2022, Manfred Moitzi
# License: MIT License
from __future__ import annotations
from typing import TYPE_CHECKING, Tuple, Sequence, Union, cast, Optional

from ezdxf import const
from ezdxf._options import options
from ezdxf.render.arrows import ARROWS
from ezdxf.lldxf.types import DXFTag
from ezdxf.lldxf.tags import Tags

import logging

if TYPE_CHECKING:
    from ezdxf.document import Drawing
    from ezdxf.entities import DimStyle

logger = logging.getLogger("ezdxf")
LTypeDef = Tuple[str, str, Sequence[float]]


def setup_drawing(doc: Drawing, topics: Union[str, bool, Sequence] = "all"):
    """
    Setup default linetypes, text styles or dimension styles.

    Args:
        doc: DXF document
        topics: "all" or True to setup everything
                Tuple of strings to specify setup:
                    - "linetypes": setup linetypes
                    - "styles": setup text styles
                    - "dimstyles[:all|metric|us]": setup dimension styles (us not implemented)
                    - "visualstyles": setup 25 standard visual styles

    """
    if not topics:  # topics is None, False or ""
        return

    def get_token(name: str) -> list[str]:
        for t in topics:  # type: ignore
            token = t.split(":")
            if token[0] == name:
                return token
        return []

    if topics in ("all", True):
        setup_all = True
        topics = []
    else:
        setup_all = False
        if isinstance(topics, str):
            topics = [topics.lower()]
        else:
            topics = list(t.lower() for t in topics)  # type: ignore

    if setup_all or "linetypes" in topics:
        setup_linetypes(doc)

    if setup_all or "styles" in topics:
        setup_styles(doc)

    if setup_all or "visualstyles" in topics:
        setup_visual_styles(doc)

    dimstyles = get_token("dimstyles")
    if setup_all or len(dimstyles):
        if len(dimstyles) == 2:
            domain = dimstyles[1]
        else:
            domain = "all"
        setup_dimstyles(doc, domain=domain)


def setup_linetypes(doc: Drawing) -> None:
    measurement = 1
    if doc:
        measurement = doc.header.get("$MEASUREMENT", measurement)
    factor = ISO_LTYPE_FACTOR if measurement else 1.0
    for name, desc, pattern in linetypes(scale=factor):
        if name in doc.linetypes:
            continue
        doc.linetypes.new(
            name,
            dxfattribs={
                "description": desc,
                "pattern": pattern,
            },
        )


def setup_styles(doc: Drawing) -> None:
    doc.header["$TEXTSTYLE"] = "OpenSans"
    for name, font in styles():
        if name in doc.styles:
            continue
        doc.styles.new(
            name,
            dxfattribs={
                "font": font,
            },
        )


def setup_dimstyles(doc: Drawing, domain: str = "all") -> None:
    setup_styles(doc)
    ezdxf_dimstyle = setup_dimstyle(
        doc,
        name="EZDXF",
        fmt="EZ_M_100_H25_CM",
        style=options.default_dimension_text_style,
        blk=ARROWS.architectural_tick,
    )
    ezdxf_dimstyle.dxf.dimasz *= 0.7  # smaller arch ticks
    doc.header["$DIMSTYLE"] = "EZDXF"
    ezdxf_dimstyle.copy_to_header(doc)

    if domain in ("metric", "all"):
        setup_dimstyle(
            doc,
            fmt="EZ_M_100_H25_CM",
            style=options.default_dimension_text_style,
        )
        setup_dimstyle(
            doc,
            fmt="EZ_M_50_H25_CM",
            style=options.default_dimension_text_style,
        )
        setup_dimstyle(
            doc,
            fmt="EZ_M_25_H25_CM",
            style=options.default_dimension_text_style,
        )
        setup_dimstyle(
            doc,
            fmt="EZ_M_20_H25_CM",
            style=options.default_dimension_text_style,
        )
        setup_dimstyle(
            doc,
            fmt="EZ_M_10_H25_CM",
            style=options.default_dimension_text_style,
        )
        setup_dimstyle(
            doc, fmt="EZ_M_5_H25_CM", style=options.default_dimension_text_style
        )
        setup_dimstyle(
            doc, fmt="EZ_M_1_H25_CM", style=options.default_dimension_text_style
        )
    elif domain in ("us", "all"):
        pass
    if domain in ("radius", "all"):
        ez_radius = cast(
            "DimStyle", doc.dimstyles.duplicate_entry("EZDXF", "EZ_RADIUS")
        )
        ez_radius.set_arrows(blk=ARROWS.closed_blank)
        ez_radius.dxf.dimasz = 0.25  # set arrow size
        ez_radius.dxf.dimtofl = 0  # force dimension line if text outside
        ez_radius.dxf.dimcen = (
            0  # size of center mark, 0=disable, >0=draw mark, <0=draw lines
        )
        # dimtmove: use leader, is the best setting for text outside to preserves
        # appearance of DIMENSION entity, if editing DIMENSION afterwards in
        # BricsCAD (AutoCAD)
        ez_radius.dxf.dimtmove = 1

        ez_radius_inside = doc.dimstyles.duplicate_entry(
            "EZ_RADIUS", "EZ_RADIUS_INSIDE"
        )
        # dimtmove: keep dim line with text, is the best setting for text inside
        # to preserves appearance of DIMENSION entity, if editing DIMENSION
        # afterwards in BricsCAD (AutoCAD)
        ez_radius_inside.dxf.dimtmove = 0
        ez_radius_inside.dxf.dimtix = 1  # force text inside
        ez_radius_inside.dxf.dimatfit = (
            0  # required by BricsCAD (AutoCAD) to force text inside
        )
        ez_radius_inside.dxf.dimtad = 0  # center text vertical
    if domain in ("angular", "curved", "arc", "all"):
        # curved dimension lines for angular and arc dimensions
        ez_angular = cast(
            "DimStyle", doc.dimstyles.duplicate_entry("EZDXF", "EZ_CURVED")
        )
        ez_angular.set_arrows(blk=ARROWS.closed_filled)
        ez_angular.dxf.dimasz = 0.25  # set arrow size
        ez_angular.dxf.dimtad = 1  # above
        ez_angular.dxf.dimaunit = 0  # 0=decimal deg 1=DMS 2=Grad 3=Radians
        ez_angular.dxf.dimazin = 2  # suppresses trailing zeros in decimal dimensions (for example, 12.5000 becomes 12.5)
        ez_angular.dxf.dimarcsym = 2  # disable arc symbol


class DimStyleFmt:
    DIMASZ = 2.5  # in mm in paper space
    DIMTSZ = 1.25  # x2 in mm in paper space
    UNIT_FACTOR = {
        "m": 1,  # 1 drawing unit == 1 meter
        "dm": 10,  # 1 drawing unit == 1 decimeter
        "cm": 100,  # 1 drawing unit == 1 centimeter
        "mm": 1000,  # 1 drawing unit == 1 millimeter
    }

    def __init__(self, fmt: str):
        tokens = fmt.lower().split("_")
        self.name = fmt
        self.drawing_unit = tokens[1]  # EZ_<M>_100_H25_CM
        self.scale = float(tokens[2])  # EZ_M_<100>_H25_CM
        self.height = float(tokens[3][1:]) / 10.0  # EZ_M_100_H<25>_CM  # in mm
        self.measurement_unit = tokens[4]  # EZ_M_100_H25_<CM>

    @property
    def unit_factor(self):
        return self.UNIT_FACTOR[self.drawing_unit]

    @property
    def measurement_factor(self):
        return self.UNIT_FACTOR[self.measurement_unit]

    @property
    def text_factor(self):
        return self.unit_factor / self.UNIT_FACTOR["mm"] * self.scale

    @property
    def dimlfac(self):
        return self.measurement_factor / self.unit_factor

    @property
    def dimasz(self):
        return self.DIMASZ * self.text_factor

    @property
    def dimtsz(self):
        return self.DIMTSZ * self.text_factor

    @property
    def dimtxt(self):
        return self.height * self.text_factor

    @property
    def dimexe(self):
        return self.dimtxt * 1.5

    @property
    def dimexo(self):
        return self.dimtxt / 2

    @property
    def dimdle(self):
        return 0.25 * self.unit_factor


def setup_dimstyle(
    doc: Drawing,
    fmt: str,
    style: Optional[str] = None,
    blk: Optional[str] = None,
    name: str = "",
) -> DimStyle:
    """Easy DimStyle setup, the `fmt` string defines four essential dimension
    parameters separated by the `_` character. Tested and works with the metric
    system, I don't touch the 'english unit' system.

    Example: `fmt` = 'EZ_M_100_H25_CM'

        1. '<EZ>_M_100_H25_CM': arbitrary prefix
        2. 'EZ_<M>_100_H25_CM': defines the drawing unit, valid values are 'M', 'DM', 'CM', 'MM'
        3. 'EZ_M_<100>_H25_CM': defines the scale of the drawing, '100' is for 1:100
        4. 'EZ_M_100_<H25>_CM': defines the text height in mm in paper space times 10, 'H25' is 2.5mm
        5. 'EZ_M_100_H25_<CM>': defines the units for the measurement text, valid values are 'M', 'DM', 'CM', 'MM'

    Args:
        doc: DXF drawing
        fmt: format string
        style: text style for measurement
        blk: block name for arrow None for oblique stroke
        name: dimension style name, if name is '', `fmt` string is used as name

    """
    style = style or options.default_dimension_text_style
    dim_style_fmt = DimStyleFmt(fmt)
    name = name or dim_style_fmt.name
    if doc.dimstyles.has_entry(name):
        logging.debug(f'DimStyle "{name}" already exists.')
        return cast("DimStyle", doc.dimstyles.get(name))

    dimstyle = cast("DimStyle", doc.dimstyles.new(name))
    dimstyle.dxf.dimtxt = dim_style_fmt.dimtxt
    dimstyle.dxf.dimlfac = (
        dim_style_fmt.dimlfac
    )  # factor for measurement; dwg in m : measurement in cm -> dimlfac=100
    dimstyle.dxf.dimgap = (
        dim_style_fmt.dimtxt * 0.4
    )  # gap between text and dimension line
    dimstyle.dxf.dimtad = 1  # text above dimline
    dimstyle.dxf.dimexe = dim_style_fmt.dimexe
    dimstyle.dxf.dimexo = dim_style_fmt.dimexo
    dimstyle.dxf.dimdle = 0  # dimension extension beyond extension lines
    dimstyle.dxf.dimtix = 0  # Draws dimension text between the extension lines even if it would ordinarily be placed outside those lines
    dimstyle.dxf.dimtih = 0  # Align text inside extension lines with dimension line; 1 = Draws text horizontally
    dimstyle.dxf.dimtoh = 0  # Align text outside of extension lines with dimension line; 1 = Draws text horizontally
    dimstyle.dxf.dimzin = (
        12  # Suppresses leading trailing zeros in linear dimensions
    )
    dimstyle.dxf.dimazin = (
        3  # Suppresses leading + trailing zeros in angular dimensions
    )
    dimstyle.dxf.dimdec = 2  # decimals places for linear measurements
    dimstyle.dxf.dimadec = 2  # decimals places for angle measurements
    dimstyle.dxf.dimsah = 0
    dimstyle.dxf.dimtmove = 2  # move freely without leader
    dimstyle.dxf.dimtxsty = style  # text style
    dimstyle.dxf.dimtfac = 0.5  # tolerance text factor
    dimstyle.dxf.dimtdec = 2  # tolerance decimal places

    # user location override, controls both the text position and the
    # dimension line location, same as DXF12
    dimstyle.dxf.dimupt = 1
    dimstyle.dxf.dimdsep = ord(".")

    if blk is None:  # oblique stroke
        dimstyle.dxf.dimtsz = dim_style_fmt.dimtsz  # tick size
        dimstyle.dxf.dimasz = dim_style_fmt.dimasz  # arrow size
    else:  # arrow or block
        dimstyle.set_arrows(blk=blk)
        dimstyle.dxf.dimasz = dim_style_fmt.dimasz
    return dimstyle


ISO_LTYPE_FACTOR = 2.54
# DXF linetype definition for $MEASUREMENT=0 (imperial)
# name, description, elements:
# elements = [total_pattern_length, elem1, elem2, ...]
# total_pattern_length = sum(abs(elem))
# elem > 0 is line, < 0 is gap, 0.0 = dot;
ANSI_LINE_TYPES = [
    ("CONTINUOUS", "Solid", [0.0]),
    (
        "CENTER",
        "Center ____ _ ____ _ ____ _ ____ _ ____ _ ____",
        [2.0, 1.25, -0.25, 0.25, -0.25],
    ),
    (
        "CENTERX2",
        "Center (2x) ________  __  ________  __  ________",
        [3.5, 2.5, -0.25, 0.5, -0.25],
    ),
    (
        "CENTER2",
        "Center (.5x) ____ _ ____ _ ____ _ ____ _ ____",
        [1.0, 0.625, -0.125, 0.125, -0.125],
    ),
    (
        "DASHED",
        "Dashed __ __ __ __ __ __ __ __ __ __ __ __ __ _",
        [0.6, 0.5, -0.1],
    ),
    (
        "DASHEDX2",
        "Dashed (2x) ____  ____  ____  ____  ____  ____",
        [1.2, 1.0, -0.2],
    ),
    ("DASHED2", "Dashed (.5x) _ _ _ _ _ _ _ _ _ _ _ _ _ _", [0.3, 0.25, -0.05]),
    (
        "PHANTOM",
        "Phantom ______  __  __  ______  __  __  ______",
        [2.5, 1.25, -0.25, 0.25, -0.25, 0.25, -0.25],
    ),
    (
        "PHANTOMX2",
        "Phantom (2x)____________    ____    ____    ____________",
        [4.25, 2.5, -0.25, 0.5, -0.25, 0.5, -0.25],
    ),
    (
        "PHANTOM2",
        "Phantom (.5x) ___ _ _ ___ _ _ ___ _ _ ___ _ _ ___",
        [1.25, 0.625, -0.125, 0.125, -0.125, 0.125, -0.125],
    ),
    (
        "DASHDOT",
        "Dash dot __ . __ . __ . __ . __ . __ . __ . __",
        [1.4, 1.0, -0.2, 0.0, -0.2],
    ),
    (
        "DASHDOTX2",
        "Dash dot (2x) ____  .  ____  .  ____  .  ____",
        [2.4, 2.0, -0.2, 0.0, -0.2],
    ),
    (
        "DASHDOT2",
        "Dash dot (.5x) _ . _ . _ . _ . _ . _ . _ . _",
        [0.7, 0.5, -0.1, 0.0, -0.1],
    ),
    (
        "DOT",
        "Dot .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .",
        [0.2, 0.0, -0.2],
    ),
    (
        "DOTX2",
        "Dot (2x) .    .    .    .    .    .    .    . ",
        [0.4, 0.0, -0.4],
    ),
    (
        "DOT2",
        "Dot (.5) . . . . . . . . . . . . . . . . . . . ",
        [0.1, 0.0, -0.1],
    ),
    (
        "DIVIDE",
        "Divide __ . . __ . . __ . . __ . . __ . . __",
        [1.6, 1.0, -0.2, 0.0, -0.2, 0.0, -0.2],
    ),
    (
        "DIVIDEX2",
        "Divide (2x) ____  . .  ____  . .  ____  . .  ____",
        [2.6, 2.0, -0.2, 0.0, -0.2, 0.0, -0.2],
    ),
    (
        "DIVIDE2",
        "Divide(.5x) _ . _ . _ . _ . _ . _ . _ . _",
        [0.8, 0.5, -0.1, 0.0, -0.1, 0.0, -0.1],
    ),
]


def linetypes(scale: float = 1.0) -> list[LTypeDef]:
    """Creates a list of standard line types.
    Imperial units (in, ft, yd, ...) have a scale factor of 1.0, ISO units (m,
    cm, mm, ...) have a scale factor of 2.54, available as constant
    :attr:`ezdxf.tools.standards.ISO_LTYPE_FACTOR`.

    """
    return [scale_linetype(ltype, scale) for ltype in ANSI_LINE_TYPES]


def scale_linetype(ltype: LTypeDef, scale: float) -> LTypeDef:
    name, pattern_str, pattern = ltype
    return name, pattern_str, [round(e * scale, 3) for e in pattern]


def styles():
    """Creates a list of standard styles."""
    return [
        ("STANDARD", "txt"),
        ("OpenSans-Light", "OpenSans-Light.ttf"),
        ("OpenSans-Light-Italic", "OpenSans-LightItalic.ttf"),
        ("OpenSans", "OpenSans-Regular.ttf"),
        ("OpenSans-Italic", "OpenSans-Italic.ttf"),
        ("OpenSans-SemiBold", "OpenSans-SemiBold.ttf"),
        ("OpenSans-SemiBoldItalic", "OpenSans-SemiBoldItalic.ttf"),
        ("OpenSans-Bold", "OpenSans-Bold.ttf"),
        ("OpenSans-BoldItalic", "OpenSans-BoldItalic.ttf"),
        ("OpenSans-ExtraBold", "OpenSans-ExtraBold.ttf"),
        ("OpenSans-ExtraBoldItalic", "OpenSans-ExtraBoldItalic.ttf"),
        ("OpenSansCondensed-Bold", "OpenSansCondensed-Bold.ttf"),
        ("OpenSansCondensed-Light", "OpenSansCondensed-Light.ttf"),
        ("OpenSansCondensed-Italic", "OpenSansCondensed-LightItalic.ttf"),
        ("LiberationSans", "LiberationSans-Regular.ttf"),
        ("LiberationSans-Bold", "LiberationSans-Bold.ttf"),
        ("LiberationSans-BoldItalic", "LiberationSans-BoldItalic.ttf"),
        ("LiberationSans-Italic", "LiberationSans-Italic.ttf"),
        ("LiberationSerif", "LiberationSerif-Regular.ttf"),
        ("LiberationSerif-Bold", "LiberationSerif-Bold.ttf"),
        ("LiberationSerif-BoldItalic", "LiberationSerif-BoldItalic.ttf"),
        ("LiberationSerif-Italic", "LiberationSerif-Italic.ttf"),
        ("LiberationMono", "LiberationMono-Regular.ttf"),
        ("LiberationMono-Bold", "LiberationMono-Bold.ttf"),
        ("LiberationMono-BoldItalic", "LiberationMono-BoldItalic.ttf"),
        ("LiberationMono-Italic", "LiberationMono-Italic.ttf"),
    ]


def setup_visual_styles(doc: Drawing):
    if doc.dxfversion < const.DXF2013:
        setup_visual_styles_r2000(doc)
    else:
        setup_visual_styles_r2013(doc)


def setup_visual_styles_r2000(doc: Drawing):
    objects = doc.objects
    vstyle_dict = doc.rootdict.get_required_dict("ACAD_VISUALSTYLE")
    vstyle_dict_handle = vstyle_dict.dxf.handle
    for vstyle in VISUAL_STYLES_R2000:
        vstyle["owner"] = vstyle_dict_handle
        vstyle_object = objects.add_dxf_object_with_reactor(
            "VISUALSTYLE", dxfattribs=vstyle
        )
        vstyle_dict[vstyle_object.dxf.description] = vstyle_object


def setup_visual_styles_r2013(doc: Drawing):
    objects = doc.objects
    vstyle_dict = doc.rootdict.get_required_dict("ACAD_VISUALSTYLE")
    vstyle_dict_handle = vstyle_dict.dxf.handle
    for desc, vstyle in VISUAL_STYLES_R2013.items():
        vstyle["owner"] = vstyle_dict_handle
        attribs = dict(vstyle)
        del attribs["xdata"]
        vstyle_object = objects.add_dxf_object_with_reactor(
            "VISUALSTYLE", dxfattribs=attribs
        )
        vstyle_object.acad_xdata = vstyle["xdata"]  # type: ignore
        vstyle_dict[desc] = vstyle_object


VISUAL_STYLES_R2000 = [
    {
        "description": "2dWireframe",
        "style_type": 4,
        "internal_use_only_flag": 0,
        "face_modifiers": 0,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Basic",
        "style_type": 7,
        "internal_use_only_flag": 1,
        "face_modifiers": 1,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Brighten",
        "style_type": 12,
        "internal_use_only_flag": 1,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "ColorChange",
        "style_type": 16,
        "internal_use_only_flag": 1,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 8,
        "edge_hide_precision": 0,
    },
    {
        "description": "Conceptual",
        "style_type": 9,
        "internal_use_only_flag": 0,
        "face_modifiers": 3,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Dim",
        "style_type": 11,
        "internal_use_only_flag": 1,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "EdgeColorOff",
        "style_type": 22,
        "internal_use_only_flag": 1,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Facepattern",
        "style_type": 15,
        "internal_use_only_flag": 1,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Flat",
        "style_type": 0,
        "internal_use_only_flag": 1,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "FlatWithEdges",
        "style_type": 1,
        "internal_use_only_flag": 1,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Gouraud",
        "style_type": 2,
        "internal_use_only_flag": 1,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "GouraudWithEdges",
        "style_type": 3,
        "internal_use_only_flag": 1,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Hidden",
        "style_type": 6,
        "internal_use_only_flag": 0,
        "face_modifiers": 1,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "JitterOff",
        "style_type": 20,
        "internal_use_only_flag": 1,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Linepattern",
        "style_type": 14,
        "internal_use_only_flag": 1,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Modeling",
        "style_type": 10,
        "internal_use_only_flag": 0,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "OverhangOff",
        "style_type": 21,
        "internal_use_only_flag": 1,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Realistic",
        "style_type": 8,
        "internal_use_only_flag": 0,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Shaded",
        "style_type": 27,
        "internal_use_only_flag": 0,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Shaded with edges",
        "style_type": 26,
        "internal_use_only_flag": 0,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Shades of Gray",
        "style_type": 23,
        "internal_use_only_flag": 0,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Sketchy",
        "style_type": 24,
        "internal_use_only_flag": 0,
        "face_modifiers": 1,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Thicken",
        "style_type": 13,
        "internal_use_only_flag": 1,
        "face_modifiers": 2,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "Wireframe",
        "style_type": 5,
        "internal_use_only_flag": 0,
        "face_modifiers": 0,
        "face_opacity_level": 0.6,
        "color1": 7,
        "edge_hide_precision": 0,
    },
    {
        "description": "X-Ray",
        "style_type": 25,
        "internal_use_only_flag": 0,
        "face_modifiers": 2,
        "face_opacity_level": 0.5,
        "color1": 7,
        "edge_hide_precision": 0,
    },
]

VISUAL_STYLES_R2013 = {
    "2dWireframe": {
        "description": "2dWireframe",
        "style_type": 4,
        "unknown1": 3,
        "internal_use_only_flag": 0,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Basic": {
        "description": "Basic",
        "style_type": 7,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Brighten": {
        "description": "Brighten",
        "style_type": 12,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "ColorChange": {
        "description": "ColorChange",
        "style_type": 16,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Conceptual": {
        "description": "Conceptual",
        "style_type": 9,
        "unknown1": 3,
        "internal_use_only_flag": 0,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Dim": {
        "description": "Dim",
        "style_type": 11,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "EdgeColorOff": {
        "description": "EdgeColorOff",
        "style_type": 22,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Facepattern": {
        "description": "Facepattern",
        "style_type": 15,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Flat": {
        "description": "Flat",
        "style_type": 0,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "FlatWithEdges": {
        "description": "FlatWithEdges",
        "style_type": 1,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Gouraud": {
        "description": "Gouraud",
        "style_type": 2,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "GouraudWithEdges": {
        "description": "GouraudWithEdges",
        "style_type": 3,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Hidden": {
        "description": "Hidden",
        "style_type": 6,
        "unknown1": 3,
        "internal_use_only_flag": 0,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "JitterOff": {
        "description": "JitterOff",
        "style_type": 20,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Linepattern": {
        "description": "Linepattern",
        "style_type": 14,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Modeling": {
        "description": "Modeling",
        "style_type": 10,
        "unknown1": 3,
        "internal_use_only_flag": 0,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "OverhangOff": {
        "description": "OverhangOff",
        "style_type": 21,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Realistic": {
        "description": "Realistic",
        "style_type": 8,
        "unknown1": 3,
        "internal_use_only_flag": 0,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Shaded": {
        "description": "Shaded",
        "style_type": 27,
        "unknown1": 3,
        "internal_use_only_flag": 0,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Shaded with edges": {
        "description": "Shaded with edges",
        "style_type": 26,
        "unknown1": 3,
        "internal_use_only_flag": 0,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Shades of Gray": {
        "description": "Shades of Gray",
        "style_type": 23,
        "unknown1": 3,
        "internal_use_only_flag": 0,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Sketchy": {
        "description": "Sketchy",
        "style_type": 24,
        "unknown1": 3,
        "internal_use_only_flag": 0,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Thicken": {
        "description": "Thicken",
        "style_type": 13,
        "unknown1": 3,
        "internal_use_only_flag": 1,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "Wireframe": {
        "description": "Wireframe",
        "style_type": 5,
        "unknown1": 3,
        "internal_use_only_flag": 0,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(40, 0.6),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
    "X-Ray": {
        "description": "X-Ray",
        "style_type": 25,
        "unknown1": 3,
        "internal_use_only_flag": 0,
        "xdata": Tags(
            [
                DXFTag(70, 58),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(40, 0.5),
                DXFTag(176, 1),
                DXFTag(40, 30.0),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(420, 16777215),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 4),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(62, 257),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 8),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(90, 6),
                DXFTag(176, 1),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(62, 7),
                DXFTag(176, 1),
                DXFTag(90, 5),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 1),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 1),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(40, 0.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(90, 0),
                DXFTag(176, 1),
                DXFTag(62, 18),
                DXFTag(420, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 3),
                DXFTag(176, 1),
                DXFTag(62, 5),
                DXFTag(420, 255),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(90, 50),
                DXFTag(176, 1),
                DXFTag(62, 256),
                DXFTag(176, 0),
                DXFTag(40, 1.0),
                DXFTag(176, 0),
                DXFTag(90, 2),
                DXFTag(176, 1),
                DXFTag(1, "strokes_ogs.tif"),
                DXFTag(176, 1),
                DXFTag(290, 0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
                DXFTag(40, 1.0),
                DXFTag(176, 1),
            ]
        ),
    },
}

# all page sizes in landscape orientation
PAGE_SIZES = {
    "ISO A0": ("mm", 1189, 841),
    "ISO A1": ("mm", 841, 594),
    "ISO A2": ("mm", 594, 420),
    "ISO A3": ("mm", 420, 297),
    "ISO A4": ("mm", 297, 210),
    "ANSI A": ("inch", 11, 8.5),
    "ANSI B": ("inch", 17, 11),
    "ANSI C": ("inch", 22, 17),
    "ANSI D": ("inch", 34, 22),
    "ANSI E": ("inch", 44, 34),
    "ARCH C": ("inch", 24, 18),
    "ARCH D": ("inch", 36, 24),
    "ARCH E": ("inch", 48, 36),
    "ARCH E1": ("inch", 42, 30),
    "Letter": ("inch", 11, 8.5),
    "Legal": ("inch", 14, 8.5),
}
