10.1.5.2.2. MplPainter¶
-
class
Patro.GraphicEngine.Painter.MplPainter.
MplPainter
(scene, paper)[source]¶ Bases:
Patro.GraphicEngine.Painter.Painter.Painter
-
__STROKE_STYLE__
= {<StrokeStyle.NoPen: 1>: None, <StrokeStyle.SolidLine: 2>: 'solid', <StrokeStyle.DashLine: 3>: '', <StrokeStyle.DotLine: 4>: 'dotted', <StrokeStyle.DashDotLine: 5>: 'dashdot', <StrokeStyle.DashDotDotLine: 6>: ''}¶
-
__paint_method__
= {<class 'Patro.GraphicEngine.GraphicScene.GraphicItem.TextItem'>: <function MplPainter.paint_TextItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.CircleItem'>: <function MplPainter.paint_CircleItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.EllipseItem'>: <function Painter.paint_EllipseItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.SegmentItem'>: <function MplPainter.paint_SegmentItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.PolylineItem'>: <function Painter.paint_PolylineItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.PolygonItem'>: <function Painter.paint_PolygonItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.ImageItem'>: <function Painter.paint_ImageItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.CubicBezierItem'>: <function MplPainter.paint_CubicBezierItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.QuadraticBezierItem'>: <function Painter.paint_QuadraticBezierItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.PathItem'>: <function Painter.paint_PathItem>}¶
-