Esempio n. 1
0
        //---------------------------------------------------------------------

        public void InitByBitmap(DC dc, Bitmap bitmap)
        {
            wxBufferedDC_InitByBitmap(wxObject, Object.SafePtr(dc), Object.SafePtr(bitmap));
        }
Esempio n. 2
0
 public BufferedDC(DC dc, Bitmap bitmap)
     : this(wxBufferedDC_ctorByBitmap(Object.SafePtr(dc), Object.SafePtr(bitmap)))
 {
 }
Esempio n. 3
0
 public BufferedDC(DC dc, Size size)
     : this(wxBufferedDC_ctorBySize(Object.SafePtr(dc), ref size))
 {
 }
Esempio n. 4
0
        //-----------------------------------------------------------------------------

        public bool DrawBlankPage(Window canvas, ref DC dc)
        {
            return(wxPrintPreview_DrawBlankPage(wxObject, Object.SafePtr(canvas), Object.SafePtr(dc)));
        }
Esempio n. 5
0
 public MemoryDC(DC dc)
     : this(wxMemoryDC_ctorByDC(Object.SafePtr(dc)))
 {
 }
Esempio n. 6
0
        //-----------------------------------------------------------------------------

        protected virtual void OnDrawSeparator(DC dc, Rectangle rect, int n)
        {
            wxVListBox_OnDrawSeparator(wxObject, Object.SafePtr(dc), ref rect, n);
        }
Esempio n. 7
0
        //---------------------------------------------------------------------

        public override void PrepareDC(DC dc)
        {
            wxScrollWnd_PrepareDC(wxObject, dc.wxObject);
        }
Esempio n. 8
0
 public bool Blit(int xdest, int ydest, int width, int height, DC source, int xsrc, int ysrc, int rop, bool useMask, int xsrcMask)
 {
     return(Blit(xdest, ydest, width, height, source, xsrc, ysrc, rop, useMask, xsrcMask, -1));
 }
Esempio n. 9
0
 public bool Blit(Point destPt, Size sz, DC source, Point srcPt)
 {
     return(Blit(destPt.X, destPt.Y, sz.Width, sz.Height, source, srcPt.X, srcPt.Y, (int)Logic.wxCOPY, false, -1, -1));
 }
Esempio n. 10
0
 public bool Blit(int xdest, int ydest, int width, int height, DC source, int xsrc, int ysrc)
 {
     return(Blit(xdest, ydest, width, height, source, xsrc, ysrc, (int)Logic.wxCOPY, false, -1, -1));
 }
Esempio n. 11
0
 public bool Blit(int xdest, int ydest, int width, int height, DC source, int xsrc, int ysrc, int rop)
 {
     return(Blit(xdest, ydest, width, height, source, xsrc, ysrc, rop, false, -1, -1));
 }
Esempio n. 12
0
 public bool Blit(int xdest, int ydest, int width, int height, DC source)
 {
     return(Blit(xdest, ydest, width, height, source, 0, 0, (int)wx.Logic.wxCOPY, false, -1, -1));
 }
Esempio n. 13
0
        //---------------------------------------------------------------------

        public bool Blit(int xdest, int ydest, int width, int height, DC source, int xsrc, int ysrc, int rop, bool useMask, int xsrcMask, int ysrcMask)
        {
            return(wxDC_Blit(wxObject, xdest, ydest, width, height, Object.SafePtr(source), xsrc, ysrc, rop, useMask, xsrcMask, ysrcMask));
        }
Esempio n. 14
0
        //-----------------------------------------------------------------------------

        public bool Draw(DC dc)
        {
            return(wxDocument_Draw(wxObject, Object.SafePtr(dc)));
        }
Esempio n. 15
0
 public void InitBySize(DC dc, Size area)
 {
     wxBufferedDC_InitBySize(wxObject, Object.SafePtr(dc), ref area);
 }
Esempio n. 16
0
 public bool Blit(Point destPt, Size sz, DC source, Point srcPt, int rop, bool useMask)
 {
     return(Blit(destPt.X, destPt.Y, sz.Width, sz.Height, source, srcPt.X, srcPt.Y, rop, useMask, -1, -1));
 }
Esempio n. 17
0
        //-----------------------------------------------------------------------------

        protected abstract void OnDrawItem(DC dc, Rectangle rect, int n);
Esempio n. 18
0
 public override void Draw(Grid grid, GridCellAttr attr, DC dc, Rectangle rect, int row, int col, bool isSelected)
 {
     wxGridCellDateTimeRenderer_Draw(wxObject, Object.SafePtr(grid), Object.SafePtr(attr), Object.SafePtr(dc), ref rect, row, col, isSelected);
 }
Esempio n. 19
0
        //-----------------------------------------------------------------------------

        protected virtual void OnDrawBackground(DC dc, Rectangle rect, int n)
        {
            wxVListBox_OnDrawBackground(wxObject, Object.SafePtr(dc), ref rect, n);
        }
Esempio n. 20
0
        //---------------------------------------------------------------------

        public virtual void OnDraw(DC dc)
        {
        }