public rasterizer_cells_aa() { m_QSorter = new QuickSort_cell_aa(); m_sorted_cells = new VectorPOD <cell_aa>(); m_sorted_y = new VectorPOD <sorted_y>(); m_min_x = (0x7FFFFFFF); m_min_y = (0x7FFFFFFF); m_max_x = (-0x7FFFFFFF); m_max_y = (-0x7FFFFFFF); m_sorted = (false); m_style_cell.initial(); m_curr_cell.initial(); }
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; } }
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; }