//------------------------------------------------------------------------ public bool rewind_scanlines() { if (m_auto_close) close_polygon(); m_outline.sort_cells(); if (m_outline.total_cells() == 0) { return false; } m_scan_y = m_outline.min_y(); return true; }
public bool rewind_scanlines() { m_Rasterizer.sort_cells(); if (m_Rasterizer.total_cells() == 0) { return(false); } if (m_max_style < m_min_style) { return(false); } m_scan_y = m_Rasterizer.min_y(); m_styles.Allocate((int)(m_max_style - m_min_style + 2), 128); allocate_master_alpha(); return(true); }