The style: the artist's color, or white with its alpha if the points' colors are drawn (the shader multiplies them by it).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(RibbonArtist), | intent(inout) | :: | self |
subroutine ribbon_style(self) class(RibbonArtist), intent(inout) :: self real(wp) :: rgba(4) rgba = self%color_ if (self%chain%is_colored()) rgba(1:3) = 1.0_wp call self%chain%set_style(rgba, 1.0_wp) if (c_associated(self%tail)) & call check_status(line_set_style(self%tail, real(rgba, c_float), 1.0_c_float), 'trajectory artists') end subroutine ribbon_style