from __future__ import annotations
from typing import Any, TypedDict

class RenderState(TypedDict, total=False):
    AffineTransform: AffineMatrix2D
    Clip: XPolyPolygon2D
    DeviceColor: list[ColorComponent]
    CompositeOperation: int
