print_rgb Subroutine

private impure elemental subroutine print_rgb(this)

Type Bound

color

Arguments

Type IntentOptional Attributes Name
class(color), intent(in) :: this

Called by

proc~~print_rgb~~CalledByGraph proc~print_rgb color%print_rgb proc~print color%print proc~print->proc~print_rgb

Source Code

   elemental impure subroutine print_rgb(this)
      class(color), intent(in) :: this
      print'(a,g0,a,g0,a,g0)', 'rgb: ', this%r, ', ', this%g, ', ', this%b
   end subroutine print_rgb