//--------------------------------------------------------------------- public void InitByBitmap(DC dc, Bitmap bitmap) { wxBufferedDC_InitByBitmap(wxObject, Object.SafePtr(dc), Object.SafePtr(bitmap)); }
public BufferedDC(DC dc, Bitmap bitmap) : this(wxBufferedDC_ctorByBitmap(Object.SafePtr(dc), Object.SafePtr(bitmap))) { }
public BufferedDC(DC dc, Size size) : this(wxBufferedDC_ctorBySize(Object.SafePtr(dc), ref size)) { }
//----------------------------------------------------------------------------- public bool DrawBlankPage(Window canvas, ref DC dc) { return(wxPrintPreview_DrawBlankPage(wxObject, Object.SafePtr(canvas), Object.SafePtr(dc))); }
public MemoryDC(DC dc) : this(wxMemoryDC_ctorByDC(Object.SafePtr(dc))) { }
//----------------------------------------------------------------------------- protected virtual void OnDrawSeparator(DC dc, Rectangle rect, int n) { wxVListBox_OnDrawSeparator(wxObject, Object.SafePtr(dc), ref rect, n); }
//--------------------------------------------------------------------- public override void PrepareDC(DC dc) { wxScrollWnd_PrepareDC(wxObject, dc.wxObject); }
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)); }
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)); }
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)); }
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)); }
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)); }
//--------------------------------------------------------------------- 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)); }
//----------------------------------------------------------------------------- public bool Draw(DC dc) { return(wxDocument_Draw(wxObject, Object.SafePtr(dc))); }
public void InitBySize(DC dc, Size area) { wxBufferedDC_InitBySize(wxObject, Object.SafePtr(dc), ref area); }
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)); }
//----------------------------------------------------------------------------- protected abstract void OnDrawItem(DC dc, Rectangle rect, int n);
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); }
//----------------------------------------------------------------------------- protected virtual void OnDrawBackground(DC dc, Rectangle rect, int n) { wxVListBox_OnDrawBackground(wxObject, Object.SafePtr(dc), ref rect, n); }
//--------------------------------------------------------------------- public virtual void OnDraw(DC dc) { }