Files
geMoldInsight/venv/lib/python3.11/site-packages/vtkmodules/vtkIOExportPDF.pyi
T
2026-02-12 23:27:42 +08:00

84 lines
4.5 KiB
Python

from typing import overload, Any, Callable, TypeVar, Union
from typing import Tuple, List, Sequence, MutableSequence
Callback = Union[Callable[..., None], None]
Buffer = TypeVar('Buffer')
Pointer = TypeVar('Pointer')
Template = TypeVar('Template')
import vtkmodules.vtkCommonCore
import vtkmodules.vtkIOExport
import vtkmodules.vtkRenderingContext2D
class vtkPDFContextDevice2D(vtkmodules.vtkRenderingContext2D.vtkContextDevice2D):
clipping:'getset_descriptor'
color4:'getset_descriptor'
line_type:'getset_descriptor'
line_width:'getset_descriptor'
matrix:'getset_descriptor'
point_size:'getset_descriptor'
renderer:'getset_descriptor'
def __init__(self, **properties:Any) -> None: ...
def ComputeJustifiedStringBounds(self, string:str, bounds:MutableSequence[float]) -> None: ...
def ComputeStringBounds(self, string:str, bounds:MutableSequence[float]) -> None: ...
def DrawColoredPolygon(self, points:MutableSequence[float], numPoints:int, colors:MutableSequence[int]=..., nc_comps:int=0) -> None: ...
def DrawEllipseWedge(self, x:float, y:float, outRx:float, outRy:float, inRx:float, inRy:float, startAngle:float, stopAngle:float) -> None: ...
def DrawEllipticArc(self, x:float, y:float, rX:float, rY:float, startAngle:float, stopAngle:float) -> None: ...
@overload
def DrawImage(self, p:MutableSequence[float], scale:float, image:'vtkImageData') -> None: ...
@overload
def DrawImage(self, pos:'vtkRectf', image:'vtkImageData') -> None: ...
def DrawLines(self, f:MutableSequence[float], n:int, colors:MutableSequence[int]=..., nc_comps:int=0) -> None: ...
def DrawMarkers(self, shape:int, highlight:bool, points:MutableSequence[float], n:int, colors:MutableSequence[int]=..., nc_comps:int=0) -> None: ...
def DrawMathTextString(self, point:MutableSequence[float], str:str) -> None: ...
def DrawPointSprites(self, sprite:'vtkImageData', points:MutableSequence[float], n:int, colors:MutableSequence[int]=..., nc_comps:int=0) -> None: ...
def DrawPoints(self, points:MutableSequence[float], n:int, colors:MutableSequence[int]=..., nc_comps:int=0) -> None: ...
def DrawPoly(self, points:MutableSequence[float], n:int, colors:MutableSequence[int]=..., nc_comps:int=0) -> None: ...
def DrawPolyData(self, p:MutableSequence[float], scale:float, polyData:'vtkPolyData', colors:'vtkUnsignedCharArray', scalarMode:int) -> None: ...
def DrawPolygon(self, __a:MutableSequence[float], __b:int) -> None: ...
def DrawQuad(self, __a:MutableSequence[float], __b:int) -> None: ...
def DrawQuadStrip(self, __a:MutableSequence[float], __b:int) -> None: ...
def DrawString(self, point:MutableSequence[float], string:str) -> None: ...
def EnableClipping(self, enable:bool) -> None: ...
def GetMatrix(self, m:'vtkMatrix3x3') -> None: ...
def GetNumberOfGenerationsFromBase(self, type:str) -> int: ...
@staticmethod
def GetNumberOfGenerationsFromBaseType(type:str) -> int: ...
def IsA(self, type:str) -> int: ...
@staticmethod
def IsTypeOf(type:str) -> int: ...
def MultiplyMatrix(self, m:'vtkMatrix3x3') -> None: ...
def NewInstance(self) -> 'vtkPDFContextDevice2D': ...
def PopMatrix(self) -> None: ...
def PushMatrix(self) -> None: ...
@staticmethod
def SafeDownCast(o:'vtkObjectBase') -> 'vtkPDFContextDevice2D': ...
def SetClipping(self, x:MutableSequence[int]) -> None: ...
def SetColor4(self, color:MutableSequence[int]) -> None: ...
def SetHaruObjects(self, doc:Pointer, page:Pointer) -> None: ...
def SetLineType(self, type:int) -> None: ...
def SetLineWidth(self, width:float) -> None: ...
def SetMatrix(self, m:'vtkMatrix3x3') -> None: ...
def SetPointSize(self, size:float) -> None: ...
def SetRenderer(self, __a:'vtkRenderer') -> None: ...
def SetTexture(self, image:'vtkImageData', properties:int) -> None: ...
class vtkPDFExporter(vtkmodules.vtkIOExport.vtkExporter):
file_name:'getset_descriptor'
title:'getset_descriptor'
def __init__(self, **properties:Any) -> None: ...
def GetFileName(self) -> str: ...
def GetNumberOfGenerationsFromBase(self, type:str) -> int: ...
@staticmethod
def GetNumberOfGenerationsFromBaseType(type:str) -> int: ...
def GetTitle(self) -> str: ...
def IsA(self, type:str) -> int: ...
@staticmethod
def IsTypeOf(type:str) -> int: ...
def NewInstance(self) -> 'vtkPDFExporter': ...
@staticmethod
def SafeDownCast(o:'vtkObjectBase') -> 'vtkPDFExporter': ...
def SetFileName(self, _arg:str) -> None: ...
def SetTitle(self, _arg:str) -> None: ...