public void MoveTo(int x, int y)
 {
     if (m_Rasterizer.Sorted())
     {
         Reset();
     }
     m_VectorClipper.MoveTo(m_start_x = m_VectorClipper.Downscale(x),
                            m_start_y = m_VectorClipper.Downscale(y));
 }
Example #2
0
        /*
         * //--------------------------------------------------------------------
         * public uint apply_gamma(uint cover)
         * {
         *      return (uint)m_gamma[cover];
         * }
         */

        //--------------------------------------------------------------------
        void MoveToInt(int x, int y)
        {
            if (m_outline.Sorted())
            {
                Reset();
            }
            if (m_auto_close)
            {
                ClosePolygon();
            }
            m_VectorClipper.MoveTo(m_start_x = m_VectorClipper.Downscale(x),
                                   m_start_y = m_VectorClipper.Downscale(y));
            m_status = ScanlineStatus.MoveTo;
        }