예제 #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);
 }