Logo Search packages:      
Sourcecode: wxwindows2.4 version File versions

Drawing.py

00001 """Decorator classes for documentation and shell scripting.
"""

__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id: Drawing.py,v 1.1.2.1 2003/04/09 17:43:20 RD Exp $"
__revision__ = "$Revision: 1.1.2.1 $"[11:-2]


# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.


from Base import Object
import Parameters as wx


00019 class DC(Object):
    """"""

00022     def BeginDrawing(self):
        """"""
        pass

00026     def Blit(self):
        """"""
        pass

00030     def CalcBoundingBox(self):
        """"""
        pass

00034     def CanDrawBitmap(self):
        """"""
        pass

00038     def CanGetTextExtent(self):
        """"""
        pass

00042     def Clear(self):
        """"""
        pass

00046     def CrossHair(self):
        """"""
        pass

00050     def DestroyClippingRegion(self):
        """"""
        pass

00054     def DeviceToLogicalX(self):
        """"""
        pass

00058     def DeviceToLogicalXRel(self):
        """"""
        pass

00062     def DeviceToLogicalY(self):
        """"""
        pass

00066     def DeviceToLogicalYRel(self):
        """"""
        pass

00070     def DrawArc(self):
        """"""
        pass

00074     def DrawBitmap(self):
        """"""
        pass

00078     def DrawCircle(self):
        """"""
        pass

00082     def DrawEllipse(self):
        """"""
        pass

00086     def DrawEllipticArc(self):
        """"""
        pass

00090     def DrawIcon(self):
        """"""
        pass

00094     def DrawImageLabel(self):
        """"""
        pass

00098     def DrawLabel(self):
        """"""
        pass

00102     def DrawLine(self):
        """"""
        pass

00106     def DrawLineList(self):
        """"""
        pass

00110     def DrawLines(self):
        """"""
        pass

00114     def DrawPoint(self):
        """"""
        pass

00118     def DrawPointList(self):
        """"""
        pass

00122     def DrawPolygon(self):
        """"""
        pass

00126     def DrawRectangle(self):
        """"""
        pass

00130     def DrawRectangleRect(self):
        """"""
        pass

00134     def DrawRotatedText(self):
        """"""
        pass

00138     def DrawRoundedRectangle(self):
        """"""
        pass

00142     def DrawSpline(self):
        """"""
        pass

00146     def DrawText(self):
        """"""
        pass

00150     def EndDoc(self):
        """"""
        pass

00154     def EndDrawing(self):
        """"""
        pass

00158     def EndPage(self):
        """"""
        pass

00162     def FloodFill(self):
        """"""
        pass

00166     def GetBackground(self):
        """"""
        pass

00170     def GetBoundingBox(self):
        """"""
        pass

00174     def GetBrush(self):
        """"""
        pass

00178     def GetCharHeight(self):
        """"""
        pass

00182     def GetCharWidth(self):
        """"""
        pass

00186     def GetClippingBox(self):
        """"""
        pass

00190     def GetDepth(self):
        """"""
        pass

00194     def GetDeviceOrigin(self):
        """"""
        pass

00198     def GetFont(self):
        """"""
        pass

00202     def GetFullTextExtent(self):
        """"""
        pass

00206     def GetLogicalFunction(self):
        """"""
        pass

00210     def GetLogicalOrigin(self):
        """"""
        pass

00214     def GetLogicalScale(self):
        """"""
        pass

00218     def GetMapMode(self):
        """"""
        pass

00222     def GetMultiLineTextExtent(self):
        """"""
        pass

00226     def GetOptimization(self):
        """"""
        pass

00230     def GetPPI(self):
        """"""
        pass

00234     def GetPen(self):
        """"""
        pass

00238     def GetPixel(self):
        """"""
        pass

00242     def GetSize(self):
        """"""
        pass

00246     def GetSizeMM(self):
        """"""
        pass

00250     def GetSizeTuple(self):
        """"""
        pass

00254     def GetTextBackground(self):
        """"""
        pass

00258     def GetTextExtent(self):
        """"""
        pass

00262     def GetTextForeground(self):
        """"""
        pass

00266     def GetUserScale(self):
        """"""
        pass

00270     def LogicalToDeviceX(self):
        """"""
        pass

00274     def LogicalToDeviceXRel(self):
        """"""
        pass

00278     def LogicalToDeviceY(self):
        """"""
        pass

00282     def LogicalToDeviceYRel(self):
        """"""
        pass

00286     def MaxX(self):
        """"""
        pass

00290     def MaxY(self):
        """"""
        pass

00294     def MinX(self):
        """"""
        pass

00298     def MinY(self):
        """"""
        pass

00302     def Ok(self):
        """"""
        pass

00306     def ResetBoundingBox(self):
        """"""
        pass

00310     def SetAxisOrientation(self):
        """"""
        pass

00314     def SetBackground(self):
        """"""
        pass

00318     def SetBackgroundMode(self):
        """"""
        pass

00322     def SetBrush(self):
        """"""
        pass

00326     def SetClippingRect(self):
        """"""
        pass

00330     def SetClippingRegion(self):
        """"""
        pass

00334     def SetClippingRegionAsRegion(self):
        """"""
        pass

00338     def SetDeviceOrigin(self):
        """"""
        pass

00342     def SetFont(self):
        """"""
        pass

00346     def SetLogicalFunction(self):
        """"""
        pass

00350     def SetLogicalOrigin(self):
        """"""
        pass

00354     def SetLogicalScale(self):
        """"""
        pass

00358     def SetMapMode(self):
        """"""
        pass

00362     def SetOptimization(self):
        """"""
        pass

00366     def SetPalette(self):
        """"""
        pass

00370     def SetPen(self):
        """"""
        pass

00374     def SetTextBackground(self):
        """"""
        pass

00378     def SetTextForeground(self):
        """"""
        pass

00382     def SetUserScale(self):
        """"""
        pass

00386     def StartDoc(self):
        """"""
        pass

00390     def StartPage(self):
        """"""
        pass

00394     def _DrawLineList(self):
        """"""
        pass

00398     def _DrawPointList(self):
        """"""
        pass

00402     def __del__(self):
        """"""
        pass

00406     def __init__(self):
        """"""
        pass


00411 class ClientDC(DC):
    """"""

00414     def __init__(self):
        """"""
        pass


00419 class MemoryDC(DC):
    """"""

00422     def SelectObject(self):
        """"""
        pass

00426     def __init__(self):
        """"""
        pass


00431 class BufferedDC(MemoryDC):
    """"""

00434     def UnMask(self):
        """"""
        pass

00438     def __init__(self):
        """"""
        pass


00443 class BufferedPaintDC(BufferedDC):
    """"""

00446     def __init__(self):
        """"""
        pass


00451 class PaintDC(DC):
    """"""

00454     def __init__(self):
        """"""
        pass


00459 class PostScriptDC(DC):
    """"""

00462     def GetPrintData(self):
        """"""
        pass

00466     def SetPrintData(self):
        """"""
        pass

00470     def __init__(self):
        """"""
        pass


00475 class ScreenDC(DC):
    """"""

00478     def EndDrawingOnTop(self):
        """"""
        pass

00482     def StartDrawingOnTop(self):
        """"""
        pass

00486     def StartDrawingOnTopWin(self):
        """"""
        pass

00490     def __init__(self):
        """"""
        pass


00495 class WindowDC(DC):
    """"""

00498     def __init__(self):
        """"""
        pass


00503 class GDIObject(Object):
    """"""

00506     def GetVisible(self):
        """"""
        pass

00510     def IsNull(self):
        """"""
        pass

00514     def SetVisible(self):
        """"""
        pass

00518     def __del__(self):
        """"""
        pass

00522     def __init__(self):
        """"""
        pass


00527 class Bitmap(GDIObject):
    """"""

00530     def CopyFromIcon(self):
        """"""
        pass

00534     def GetDepth(self):
        """"""
        pass

00538     def GetHeight(self):
        """"""
        pass

00542     def GetMask(self):
        """"""
        pass

00546     def GetPalette(self):
        """"""
        pass

00550     def GetSubBitmap(self):
        """"""
        pass

00554     def GetWidth(self):
        """"""
        pass

00558     def LoadFile(self):
        """"""
        pass

00562     def Ok(self):
        """"""
        pass

00566     def SaveFile(self):
        """"""
        pass

00570     def SetDepth(self):
        """"""
        pass

00574     def SetHeight(self):
        """"""
        pass

00578     def SetMask(self):
        """"""
        pass

00582     def SetWidth(self):
        """"""
        pass

00586     def __del__(self):
        """"""
        pass

00590     def __init__(self):
        """"""
        pass


00595 class Brush(GDIObject):
    """"""

00598     def GetColour(self):
        """"""
        pass

00602     def GetStipple(self):
        """"""
        pass

00606     def GetStyle(self):
        """"""
        pass

00610     def Ok(self):
        """"""
        pass

00614     def SetColour(self):
        """"""
        pass

00618     def SetStipple(self):
        """"""
        pass

00622     def SetStyle(self):
        """"""
        pass

00626     def __del__(self):
        """"""
        pass

00630     def __init__(self):
        """"""
        pass


00635 class BrushList(Object):
    """"""

00638     def AddBrush(self):
        """"""
        pass

00642     def FindOrCreateBrush(self):
        """"""
        pass

00646     def GetCount(self):
        """"""
        pass

00650     def RemoveBrush(self):
        """"""
        pass

00654     def __init__(self):
        """"""
        pass


00659 class Colour(Object):
    """"""

00662     def Blue(self):
        """"""
        pass

00666     def Get(self):
        """"""
        pass

00670     def Green(self):
        """"""
        pass

00674     def Ok(self):
        """"""
        pass

00678     def Red(self):
        """"""
        pass

00682     def Set(self):
        """"""
        pass

00686     def __del__(self):
        """"""
        pass

00690     def __eq__(self):
        """"""
        pass

00694     def __init__(self):
        """"""
        pass

00698     def __ne__(self):
        """"""
        pass

00702     def __nonzero__(self):
        """"""
        pass

00706     def __str__(self):
        """"""
        pass

00710     def asTuple(self):
        """"""
        pass


00715 class Cursor(GDIObject):
    """"""

00718     def Ok(self):
        """"""
        pass

00722     def __del__(self):
        """"""
        pass

00726     def __init__(self):
        """"""
        pass


00731 class Font(Object):
    """"""

00734     def GetEncoding(self):
        """"""
        pass

00738     def GetFaceName(self):
        """"""
        pass

00742     def GetFamily(self):
        """"""
        pass

00746     def GetFamilyString(self):
        """"""
        pass

00750     def GetNativeFontInfo(self):
        """"""
        pass

00754     def GetNativeFontInfoDesc(self):
        """"""
        pass

00758     def GetNativeFontInfoUserDesc(self):
        """"""
        pass

00762     def GetNoAntiAliasing(self):
        """"""
        pass

00766     def GetPointSize(self):
        """"""
        pass

00770     def GetStyle(self):
        """"""
        pass

00774     def GetStyleString(self):
        """"""
        pass

00778     def GetUnderlined(self):
        """"""
        pass

00782     def GetWeight(self):
        """"""
        pass

00786     def GetWeightString(self):
        """"""
        pass

00790     def IsFixedWidth(self):
        """"""
        pass

00794     def Ok(self):
        """"""
        pass

00798     def SetEncoding(self):
        """"""
        pass

00802     def SetFaceName(self):
        """"""
        pass

00806     def SetFamily(self):
        """"""
        pass

00810     def SetNativeFontInfo(self):
        """"""
        pass

00814     def SetNativeFontInfoUserDesc(self):
        """"""
        pass

00818     def SetNoAntiAliasing(self):
        """"""
        pass

00822     def SetPointSize(self):
        """"""
        pass

00826     def SetStyle(self):
        """"""
        pass

00830     def SetUnderlined(self):
        """"""
        pass

00834     def SetWeight(self):
        """"""
        pass

00838     def __del__(self):
        """"""
        pass

00842     def __init__(self):
        """"""
        pass

00846     def wxFontFromNativeInfoString(self):
        """"""
        pass


00851 class FontList(Object):
    """"""

00854     def AddFont(self):
        """"""
        pass

00858     def FindOrCreateFont(self):
        """"""
        pass

00862     def GetCount(self):
        """"""
        pass

00866     def RemoveFont(self):
        """"""
        pass

00870     def __init__(self):
        """"""
        pass


00875 class Icon(GDIObject):
    """"""

00878     def CopyFromBitmap(self):
        """"""
        pass

00882     def GetDepth(self):
        """"""
        pass

00886     def GetHeight(self):
        """"""
        pass

00890     def GetWidth(self):
        """"""
        pass

00894     def LoadFile(self):
        """"""
        pass

00898     def Ok(self):
        """"""
        pass

00902     def SetDepth(self):
        """"""
        pass

00906     def SetHeight(self):
        """"""
        pass

00910     def SetWidth(self):
        """"""
        pass

00914     def __del__(self):
        """"""
        pass

00918     def __init__(self):
        """"""
        pass


00923 class IconBundle:
    """"""

00926     def AddIcon(self):
        """"""
        pass

00930     def AddIconFromFile(self):
        """"""
        pass

00934     def GetIcon(self):
        """"""
        pass

00938     def __del__(self):
        """"""
        pass

00942     def __init__(self):
        """"""
        pass


00947 class Image(Object):
    """"""

00950     def ConvertToBitmap(self):
        """"""
        pass

00954     def ConvertToMono(self):
        """"""
        pass

00958     def ConvertToMonoBitmap(self):
        """"""
        pass

00962     def Copy(self):
        """"""
        pass

00966     def CountColours(self):
        """"""
        pass

00970     def Create(self):
        """"""
        pass

00974     def Destroy(self):
        """"""
        pass

00978     def FindFirstUnusedColour(self):
        """"""
        pass

00982     def GetBlue(self):
        """"""
        pass

00986     def GetData(self):
        """"""
        pass

00990     def GetDataBuffer(self):
        """"""
        pass

00994     def GetGreen(self):
        """"""
        pass

00998     def GetHeight(self):
        """"""
        pass

01002     def GetMaskBlue(self):
        """"""
        pass

01006     def GetMaskGreen(self):
        """"""
        pass

01010     def GetMaskRed(self):
        """"""
        pass

01014     def GetOption(self):
        """"""
        pass

01018     def GetOptionInt(self):
        """"""
        pass

01022     def GetRed(self):
        """"""
        pass

01026     def GetSubImage(self):
        """"""
        pass

01030     def GetWidth(self):
        """"""
        pass

01034     def HasMask(self):
        """"""
        pass

01038     def HasOption(self):
        """"""
        pass

01042     def LoadFile(self):
        """"""
        pass

01046     def LoadMimeFile(self):
        """"""
        pass

01050     def LoadMimeStream(self):
        """"""
        pass

01054     def LoadStream(self):
        """"""
        pass

01058     def Mirror(self):
        """"""
        pass

01062     def Ok(self):
        """"""
        pass

01066     def Paste(self):
        """"""
        pass

01070     def Replace(self):
        """"""
        pass

01074     def Rescale(self):
        """"""
        pass

01078     def Rotate(self):
        """"""
        pass

01082     def Rotate90(self):
        """"""
        pass

01086     def SaveFile(self):
        """"""
        pass

01090     def SaveMimeFile(self):
        """"""
        pass

01094     def Scale(self):
        """"""
        pass

01098     def SetData(self):
        """"""
        pass

01102     def SetMask(self):
        """"""
        pass

01106     def SetMaskColour(self):
        """"""
        pass

01110     def SetMaskFromImage(self):
        """"""
        pass

01114     def SetOption(self):
        """"""
        pass

01118     def SetOptionInt(self):
        """"""
        pass

01122     def SetRGB(self):
        """"""
        pass

01126     def __del__(self):
        """"""
        pass

01130     def __init__(self):
        """"""
        pass


01135 class ImageList(Object):
    """"""

01138     def Add(self):
        """"""
        pass

01142     def AddIcon(self):
        """"""
        pass

01146     def AddWithColourMask(self):
        """"""
        pass

01150     def Draw(self):
        """"""
        pass

01154     def GetImageCount(self):
        """"""
        pass

01158     def GetSize(self):
        """"""
        pass

01162     def Remove(self):
        """"""
        pass

01166     def RemoveAll(self):
        """"""
        pass

01170     def Replace(self):
        """"""
        pass

01174     def __del__(self):
        """"""
        pass

01178     def __init__(self):
        """"""
        pass


01183 class Mask(Object):
    """"""

01186     def Destroy(self):
        """"""
        pass

01190     def __init__(self):
        """"""
        pass


01195 class Palette(GDIObject):
    """"""

01198     def GetPixel(self):
        """"""
        pass

01202     def GetRGB(self):
        """"""
        pass

01206     def Ok(self):
        """"""
        pass

01210     def __del__(self):
        """"""
        pass

01214     def __init__(self):
        """"""
        pass


01219 class Pen(GDIObject):
    """"""

01222     def GetCap(self):
        """"""
        pass

01226     def GetColour(self):
        """"""
        pass

01230     def GetDashes(self):
        """"""
        pass

01234     def GetJoin(self):
        """"""
        pass

01238     def GetStyle(self):
        """"""
        pass

01242     def GetWidth(self):
        """"""
        pass

01246     def Ok(self):
        """"""
        pass

01250     def SetCap(self):
        """"""
        pass

01254     def SetColour(self):
        """"""
        pass

01258     def SetDashes(self):
        """"""
        pass

01262     def SetJoin(self):
        """"""
        pass

01266     def SetStyle(self):
        """"""
        pass

01270     def SetWidth(self):
        """"""
        pass

01274     def __del__(self):
        """"""
        pass

01278     def __init__(self):
        """"""
        pass


01283 class PenList(Object):
    """"""

01286     def AddPen(self):
        """"""
        pass

01290     def FindOrCreatePen(self):
        """"""
        pass

01294     def GetCount(self):
        """"""
        pass

01298     def RemovePen(self):
        """"""
        pass

01302     def __init__(self):
        """"""
        pass


01307 class PyPen(Pen):
    """"""

01310     def SetDashes(self):
        """"""
        pass

01314     def __del__(self):
        """"""
        pass

01318     def __init__(self):
        """"""
        pass


01323 class Region(GDIObject):
    """"""

01326     def Clear(self):
        """"""
        pass

01330     def Contains(self):
        """"""
        pass

01334     def ContainsPoint(self):
        """"""
        pass

01338     def ContainsRect(self):
        """"""
        pass

01342     def ContainsRectDim(self):
        """"""
        pass

01346     def GetBox(self):
        """"""
        pass

01350     def Intersect(self):
        """"""
        pass

01354     def IntersectRect(self):
        """"""
        pass

01358     def IntersectRegion(self):
        """"""
        pass

01362     def IsEmpty(self):
        """"""
        pass

01366     def Offset(self):
        """"""
        pass

01370     def Subtract(self):
        """"""
        pass

01374     def SubtractRect(self):
        """"""
        pass

01378     def SubtractRegion(self):
        """"""
        pass

01382     def Union(self):
        """"""
        pass

01386     def UnionRect(self):
        """"""
        pass

01390     def UnionRegion(self):
        """"""
        pass

01394     def Xor(self):
        """"""
        pass

01398     def XorRect(self):
        """"""
        pass

01402     def XorRegion(self):
        """"""
        pass

01406     def __del__(self):
        """"""
        pass

01410     def __init__(self):
        """"""
        pass


01415 class RegionIterator(Object):
    """"""

01418     def GetH(self):
        """"""
        pass

01422     def GetHeight(self):
        """"""
        pass

01426     def GetRect(self):
        """"""
        pass

01430     def GetW(self):
        """"""
        pass

01434     def GetWidth(self):
        """"""
        pass

01438     def GetX(self):
        """"""
        pass

01442     def GetY(self):
        """"""
        pass

01446     def HaveRects(self):
        """"""
        pass

01450     def Next(self):
        """"""
        pass

01454     def Reset(self):
        """"""
        pass

01458     def __del__(self):
        """"""
        pass

01462     def __init__(self):
        """"""
        pass



Generated by  Doxygen 1.6.0   Back to index