from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from .com.sun.star.uno import XInterface

@runtime_checkable
class XPrimitive2DRenderer(XInterface, Protocol):
    def rasterize(self, Primitive2DSequence: sequence< XPrimitive2D >, aViewInformationSequence: PropertyValue >, DPI_X: int, DPI_Y: int, Range: RealRectangle2D, MaximumQuadraticPixels: int) -> XBitmap: ...
