public void Submit(Image img) { if (m_vert.Count == 0 || m_col.Count == 0) { return; } GraphicContext.DrawPixels(img, m_vert, m_col); m_vert.Clear(); m_col.Clear(); }
public void Dispose() { GraphicContext.Release(this); }
public void Clear(Color color) { GraphicContext.ImageClear(this, color); }
public void DrawImage(Image img, Rectangle srcrect, Rectangle destrect) { GraphicContext.ImageDraw(this, img, srcrect, destrect); }