NewTOAPIA.Drawing.scanline_hit_test.add_span C# (CSharp) Method

add_span() public method

public add_span ( int x, int len, int nothing ) : void
x int
len int
nothing int
return void
        public void add_span(int x, int len, int nothing)
        {
            if (m_x >= x && m_x < x + len) m_hit = true;
        }
        public int num_spans() { return 1; }