示例#1
0
 //------------------------------------------------------------------------
 private void line_to(int x, int y)
 {
     m_VectorClipper.line_to(m_outline,
                             m_VectorClipper.downscale(x),
                             m_VectorClipper.downscale(y));
     m_status = status.status_line_to;
 }
示例#2
0
 public void close_polygon()
 {
     if (m_status == status.status_line_to)
     {
         m_VectorClipper.line_to(m_outline, m_start_x, m_start_y);
         m_status = status.status_closed;
     }
 }
 public void line_to(int x, int y)
 {
     m_VectorClipper.line_to(m_Rasterizer,
                             m_VectorClipper.downscale(x),
                             m_VectorClipper.downscale(y));
 }