The style: the artist's color, or white if the points' colors are drawn (the shader multiplies them by it).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(CurveArtist), | intent(inout) | :: | self |
subroutine curve_style(self) class(CurveArtist), intent(inout) :: self real(wp) :: rgba(4) rgba = self%color_ if (self%chain%is_colored()) rgba = 1.0_wp call self%chain%set_style(rgba, self%width_) call self%chain%set_pattern(self%pattern_factor, self%pattern_) call apply_highlight(self%highlight_, self%chain) if (c_associated(self%tail)) call self%chain%style_node(self%tail) end subroutine curve_style