rfpart Function

public function rfpart(x) result(rf)

Reverse fractional part (1 - fractional part)

Complementary fractional part for antialiasing calculations. Used to compute alpha values for adjacent pixels in line drawing. @param x Real coordinate value @return rf Reverse fraction (1.0 - fpart(x))

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: x

Return Value real(kind=wp)