Dash pattern: OpenGL's line stipple (16 bits, bit 0 first, each factor
window units; 65535: solid), as set_pattern.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(CustomLineSegments), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | factor |
window units per bit (>= 1) |
||
| integer, | intent(in) | :: | pattern |
16 bits, bit 0 first (65535: solid) |
subroutine set_pattern(self, factor, pattern) class(CustomLineSegments), intent(inout) :: self integer, intent(in) :: factor !! window units per bit (>= 1) integer, intent(in) :: pattern !! 16 bits, bit 0 first (65535: solid) self%pattern_factor = max(1, factor) self%pattern_ = iand(pattern, int(z'FFFF')) call apply_style(self) end subroutine set_pattern