| 454 | //------------------------------------------------------------------------ |
| 455 | template<class Clip> |
| 456 | AGG_INLINE bool rasterizer_compound_aa<Clip>::rewind_scanlines() |
| 457 | { |
| 458 | m_outline.sort_cells(); |
| 459 | if(m_outline.total_cells() == 0) |
| 460 | { |
| 461 | return false; |
| 462 | } |
| 463 | if(m_max_style < m_min_style) |
| 464 | { |
| 465 | return false; |
| 466 | } |
| 467 | m_scan_y = m_outline.min_y(); |
| 468 | m_styles.allocate(m_max_style - m_min_style + 2, 128); |
| 469 | allocate_master_alpha(); |
| 470 | return true; |
| 471 | } |
| 472 | |
| 473 | //------------------------------------------------------------------------ |
| 474 | template<class Clip> |
no test coverage detected