1//---------------------------------------------------------------------------
2// This file is generated by wxPython's SIP generator.  Do not edit by hand.
3//
4// Copyright: (c) 2018 by Total Control Software
5// License:   wxWindows License
6//
7// This file will be included by _core.sip
8//
9//---------------------------------------------------------------------------
10
11//---------------------------------------------------------------------------
12
13class wxSVGFileDC : wxDC
14{
15    %Docstring
16        SVGFileDC(filename, width=320, height=240, dpi=72)
17
18        A wxSVGFileDC is a device context onto which graphics and text can be
19        drawn, and the output produced as a vector file, in SVG format.
20    %End
21    %TypeHeaderCode
22        #include <wx/dcsvg.h>
23    %End
24
25public:
26    wxSVGFileDC(
27        const wxString & filename,
28        int width = 320,
29        int height = 240,
30        double dpi = 72
31    );
32    %PreMethodCode
33        if (!wxPyCheckForApp()) return NULL;
34    %End
35
36    virtual
37    ~wxSVGFileDC();
38
39    void CrossHair(
40        wxCoord x,
41        wxCoord y
42    );
43    %Docstring
44        CrossHair(x, y)
45
46        Functions not implemented in this DC class.
47    %End
48
49    bool FloodFill(
50        wxCoord x,
51        wxCoord y,
52        const wxColour & colour,
53        wxFloodFillStyle style = wxFLOOD_SURFACE
54    );
55    %Docstring
56        FloodFill(x, y, colour, style=FLOOD_SURFACE) -> bool
57
58        Functions not implemented in this DC class.
59    %End
60
61    void GetClippingBox(
62        wxCoord * x,
63        wxCoord * y,
64        wxCoord * width,
65        wxCoord * height
66    ) const;
67    %Docstring
68        GetClippingBox(x, y, width, height)
69
70        Functions not implemented in this DC class.
71    %End
72
73    bool GetPixel(
74        wxCoord x,
75        wxCoord y,
76        wxColour * colour
77    ) const;
78    %Docstring
79        GetPixel(x, y, colour) -> bool
80
81        Functions not implemented in this DC class.
82    %End
83
84    void SetPalette(
85        const wxPalette & palette
86    );
87    %Docstring
88        SetPalette(palette)
89
90        Functions not implemented in this DC class.
91    %End
92
93    bool StartDoc(
94        const wxString & message
95    );
96    %Docstring
97        StartDoc(message) -> bool
98
99        Functions not implemented in this DC class.
100    %End
101
102    void EndDoc();
103    %Docstring
104        EndDoc()
105
106        Does nothing.
107    %End
108
109    void EndPage();
110    %Docstring
111        EndPage()
112
113        Does nothing.
114    %End
115
116    void Clear();
117    %Docstring
118        Clear()
119
120        Draws a rectangle the size of the SVG using the wxDC::SetBackground()
121        brush.
122    %End
123
124    void SetLogicalFunction(
125        wxRasterOperationMode function
126    );
127    %Docstring
128        SetLogicalFunction(function)
129
130        Does the same as wxDC::SetLogicalFunction(), except that only wxCOPY
131        is available.
132    %End
133
134    void SetClippingRegion(
135        wxCoord x,
136        wxCoord y,
137        wxCoord width,
138        wxCoord height
139    );
140    %Docstring
141        SetClippingRegion(x, y, width, height)
142        SetClippingRegion(pt, sz)
143        SetClippingRegion(rect)
144        SetClippingRegion(region)
145
146        Sets the clipping region for this device context to the intersection
147        of the given region described by the parameters of this method and the
148        previously set clipping region.
149    %End
150
151    void SetClippingRegion(
152        const wxPoint & pt,
153        const wxSize & sz
154    );
155
156    void SetClippingRegion(
157        const wxRect & rect
158    );
159
160    void SetClippingRegion(
161        const wxRegion & region
162    );
163
164    void DestroyClippingRegion();
165    %Docstring
166        DestroyClippingRegion()
167
168        Destroys the current clipping region so that none of the DC is
169        clipped.
170    %End
171
172    private:
173        wxSVGFileDC(const wxSVGFileDC&);
174
175
176    public:
177
178
179};  // end of class wxSVGFileDC
180
181
182
183//---------------------------------------------------------------------------
184
185