NewTOAPIA.Drawing.rasterizer_compound_aa.styles C# (CSharp) Method

styles() public method

public styles ( int left, int right ) : void
left int
right int
return void
        public void styles(int left, int right)
        {
            cell_aa cell = new cell_aa();
            cell.initial();
            cell.left = (int)left;
            cell.right = (int)right;
            m_Rasterizer.style(cell);
            if (left >= 0 && left < m_min_style) m_min_style = left;
            if (left >= 0 && left > m_max_style) m_max_style = left;
            if (right >= 0 && right < m_min_style) m_min_style = right;
            if (right >= 0 && right > m_max_style) m_max_style = right;
        }