10.1.5.2.7. SvgPainter¶
-
class
Patro.GraphicEngine.Painter.SvgPainter.
SvgPainter
(path, scene, paper)[source]¶ Bases:
Patro.GraphicEngine.Painter.Painter.Painter
-
__STROKE_STYLE__
= {<StrokeStyle.NoPen: 1>: None, <StrokeStyle.SolidLine: 2>: None, <StrokeStyle.DashLine: 3>: [6, 3], <StrokeStyle.DotLine: 4>: [1, 2], <StrokeStyle.DashDotLine: 5>: [6, 3], <StrokeStyle.DashDotDotLine: 6>: [6, 3]}¶
-
__paint_method__
= {<class 'Patro.GraphicEngine.GraphicScene.GraphicItem.TextItem'>: <function SvgPainter.paint_TextItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.CircleItem'>: <function SvgPainter.paint_CircleItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.EllipseItem'>: <function Painter.paint_EllipseItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.SegmentItem'>: <function SvgPainter.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 SvgPainter.paint_CubicBezierItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.QuadraticBezierItem'>: <function Painter.paint_QuadraticBezierItem>, <class 'Patro.GraphicEngine.GraphicScene.GraphicItem.PathItem'>: <function Painter.paint_PathItem>}¶
-