Beispiel #1
0
        //---------------------------------------------------------------------

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

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

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

        public override void PrepareDC(DC dc)
        {
            wxScrollWnd_PrepareDC(wxObject, dc.wxObject);
        }
Beispiel #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));
 }
Beispiel #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));
 }
Beispiel #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));
 }
Beispiel #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));
 }
Beispiel #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));
 }
Beispiel #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));
        }
Beispiel #14
0
        //-----------------------------------------------------------------------------

        public bool Draw(DC dc)
        {
            return(wxDocument_Draw(wxObject, Object.SafePtr(dc)));
        }
Beispiel #15
0
 public void InitBySize(DC dc, Size area)
 {
     wxBufferedDC_InitBySize(wxObject, Object.SafePtr(dc), ref area);
 }
Beispiel #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));
 }
Beispiel #17
0
        //-----------------------------------------------------------------------------

        protected abstract void OnDrawItem(DC dc, Rectangle rect, int n);
Beispiel #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);
 }
Beispiel #19
0
        //-----------------------------------------------------------------------------

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

        public virtual void OnDraw(DC dc)
        {
        }