set_cmyk Subroutine

private pure elemental subroutine set_cmyk(this, c, m, y, k)

Type Bound

color

Arguments

Type IntentOptional Attributes Name
class(color), intent(inout) :: this
integer(kind=ik), intent(in) :: c
integer(kind=ik), intent(in) :: m
integer(kind=ik), intent(in) :: y
integer(kind=ik), intent(in) :: k

Called by

proc~~set_cmyk~~CalledByGraph proc~set_cmyk color%set_cmyk proc~set color%set proc~set->proc~set_cmyk proc~set_by_name color%set_by_name proc~set->proc~set_by_name proc~initialize_colors initialize_colors proc~initialize_colors->proc~set program~demo_color demo_color program~demo_color->proc~set proc~find_nearest color%find_nearest program~demo_color->proc~find_nearest proc~print_available_colors color%print_available_colors program~demo_color->proc~print_available_colors proc~save_available_colors color%save_available_colors program~demo_color->proc~save_available_colors program~example26 example26 program~example26->proc~set program~example27 example27 program~example27->proc~set program~example27->proc~find_nearest program~example28 example28 program~example28->proc~set proc~find_nearest->proc~initialize_colors proc~print_available_colors->proc~initialize_colors proc~save_available_colors->proc~initialize_colors proc~set_by_name->proc~initialize_colors program~example29 example29 program~example29->proc~print_available_colors program~example29->proc~save_available_colors

Source Code

   elemental pure subroutine set_cmyk(this, c, m, y, k)
      class(color), intent(inout) :: this
      integer(ik),  intent(in)    :: c, m, y, k

      this%c = c
      this%m = m
      this%y = y
      this%k = k
   end subroutine set_cmyk