示例#1
0
        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();
        }
示例#2
0
 public void Dispose()
 {
     GraphicContext.Release(this);
 }
示例#3
0
 public void Clear(Color color)
 {
     GraphicContext.ImageClear(this, color);
 }
示例#4
0
 public void DrawImage(Image img, Rectangle srcrect, Rectangle destrect)
 {
     GraphicContext.ImageDraw(this, img, srcrect, destrect);
 }