fill_active_edges Subroutine

public subroutine fill_active_edges(scanline, scanline2, w, active, num_active, y_top)

Fill scanline coverage from active edges. Port of stbtt__fill_active_edges_new. scanline is 0-based [0..w-1], scanline2 is 0-based [0..w]. In STB, fill function receives scanline_fill = scanline2+1. Here scanline2(k+1) = STB's scanline_fill[k].

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout) :: scanline(0:)
real(kind=dp), intent(inout) :: scanline2(0:)
integer, intent(in) :: w
type(tt_active_edge_t), intent(in) :: active(:)
integer, intent(in) :: num_active
real(kind=dp), intent(in) :: y_top