]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/py/wxd/Drawing.py
1 """Decorator classes for documentation and shell scripting.
4 __author__
= "Patrick K. O'Brien <pobrien@orbtech.com>"
6 __revision__
= "$Revision$"[11:-2]
9 # These are not the real wxPython classes. These are Python versions
10 # for documentation purposes. They are also used to apply docstrings
11 # to the real wxPython classes, which are SWIG-generated wrappers for
15 from Base
import Object
16 import Parameters
as wx
22 def BeginDrawing(self
):
30 def CalcBoundingBox(self
):
34 def CanDrawBitmap(self
):
38 def CanGetTextExtent(self
):
50 def DestroyClippingRegion(self
):
54 def DeviceToLogicalX(self
):
58 def DeviceToLogicalXRel(self
):
62 def DeviceToLogicalY(self
):
66 def DeviceToLogicalYRel(self
):
82 def DrawEllipse(self
):
86 def DrawEllipticArc(self
):
94 def DrawImageLabel(self
):
106 def DrawLineList(self
):
118 def DrawPointList(self
):
122 def DrawPolygon(self
):
126 def DrawRectangle(self
):
130 def DrawRectangleRect(self
):
134 def DrawRotatedText(self
):
138 def DrawRoundedRectangle(self
):
142 def DrawSpline(self
):
154 def EndDrawing(self
):
166 def GetBackground(self
):
170 def GetBoundingBox(self
):
178 def GetCharHeight(self
):
182 def GetCharWidth(self
):
186 def GetClippingBox(self
):
194 def GetDeviceOrigin(self
):
202 def GetFullTextExtent(self
):
206 def GetLogicalFunction(self
):
210 def GetLogicalOrigin(self
):
214 def GetLogicalScale(self
):
218 def GetMapMode(self
):
222 def GetMultiLineTextExtent(self
):
226 def GetOptimization(self
):
250 def GetSizeTuple(self
):
254 def GetTextBackground(self
):
258 def GetTextExtent(self
):
262 def GetTextForeground(self
):
266 def GetUserScale(self
):
270 def LogicalToDeviceX(self
):
274 def LogicalToDeviceXRel(self
):
278 def LogicalToDeviceY(self
):
282 def LogicalToDeviceYRel(self
):
306 def ResetBoundingBox(self
):
310 def SetAxisOrientation(self
):
314 def SetBackground(self
):
318 def SetBackgroundMode(self
):
326 def SetClippingRect(self
):
330 def SetClippingRegion(self
):
334 def SetClippingRegionAsRegion(self
):
338 def SetDeviceOrigin(self
):
346 def SetLogicalFunction(self
):
350 def SetLogicalOrigin(self
):
354 def SetLogicalScale(self
):
358 def SetMapMode(self
):
362 def SetOptimization(self
):
366 def SetPalette(self
):
374 def SetTextBackground(self
):
378 def SetTextForeground(self
):
382 def SetUserScale(self
):
394 def _DrawLineList(self
):
398 def _DrawPointList(self
):
422 def SelectObject(self
):
431 class BufferedDC(MemoryDC
):
443 class BufferedPaintDC(BufferedDC
):
459 class PostScriptDC(DC
):
462 def GetPrintData(self
):
466 def SetPrintData(self
):
478 def EndDrawingOnTop(self
):
482 def StartDrawingOnTop(self
):
486 def StartDrawingOnTopWin(self
):
503 class GDIObject(Object
):
506 def GetVisible(self
):
514 def SetVisible(self
):
527 class Bitmap(GDIObject
):
530 def CopyFromIcon(self
):
546 def GetPalette(self
):
550 def GetSubBitmap(self
):
595 class Brush(GDIObject
):
602 def GetStipple(self
):
618 def SetStipple(self
):
635 class BrushList(Object
):
642 def FindOrCreateBrush(self
):
650 def RemoveBrush(self
):
659 class Colour(Object
):
702 def __nonzero__(self
):
715 class Cursor(GDIObject
):
734 def GetEncoding(self
):
738 def GetFaceName(self
):
746 def GetFamilyString(self
):
750 def GetNativeFontInfo(self
):
754 def GetNativeFontInfoDesc(self
):
758 def GetNativeFontInfoUserDesc(self
):
762 def GetNoAntiAliasing(self
):
766 def GetPointSize(self
):
774 def GetStyleString(self
):
778 def GetUnderlined(self
):
786 def GetWeightString(self
):
790 def IsFixedWidth(self
):
798 def SetEncoding(self
):
802 def SetFaceName(self
):
810 def SetNativeFontInfo(self
):
814 def SetNativeFontInfoUserDesc(self
):
818 def SetNoAntiAliasing(self
):
822 def SetPointSize(self
):
830 def SetUnderlined(self
):
846 def wxFontFromNativeInfoString(self
):
851 class FontList(Object
):
858 def FindOrCreateFont(self
):
866 def RemoveFont(self
):
875 class Icon(GDIObject
):
878 def CopyFromBitmap(self
):
930 def AddIconFromFile(self
):
950 def ConvertToBitmap(self
):
954 def ConvertToMono(self
):
958 def ConvertToMonoBitmap(self
):
966 def CountColours(self
):
978 def FindFirstUnusedColour(self
):
990 def GetDataBuffer(self
):
1002 def GetMaskBlue(self
):
1006 def GetMaskGreen(self
):
1010 def GetMaskRed(self
):
1014 def GetOption(self
):
1018 def GetOptionInt(self
):
1026 def GetSubImage(self
):
1038 def HasOption(self
):
1046 def LoadMimeFile(self
):
1050 def LoadMimeStream(self
):
1054 def LoadStream(self
):
1090 def SaveMimeFile(self
):
1106 def SetMaskColour(self
):
1110 def SetMaskFromImage(self
):
1114 def SetOption(self
):
1118 def SetOptionInt(self
):
1135 class ImageList(Object
):
1146 def AddWithColourMask(self
):
1154 def GetImageCount(self
):
1166 def RemoveAll(self
):
1195 class Palette(GDIObject
):
1219 class Pen(GDIObject
):
1226 def GetColour(self
):
1230 def GetDashes(self
):
1254 def SetColour(self
):
1258 def SetDashes(self
):
1283 class PenList(Object
):
1290 def FindOrCreatePen(self
):
1298 def RemovePen(self
):
1310 def SetDashes(self
):
1323 class Region(GDIObject
):
1334 def ContainsPoint(self
):
1338 def ContainsRect(self
):
1342 def ContainsRectDim(self
):
1350 def Intersect(self
):
1354 def IntersectRect(self
):
1358 def IntersectRegion(self
):
1374 def SubtractRect(self
):
1378 def SubtractRegion(self
):
1386 def UnionRect(self
):
1390 def UnionRegion(self
):
1402 def XorRegion(self
):
1415 class RegionIterator(Object
):
1422 def GetHeight(self
):
1446 def HaveRects(self
):