vector_graphics_state Derived Type

type, public :: vector_graphics_state

Encapsulates vector graphics state to provide clean API


Components

Type Visibility Attributes Name Initial
real(kind=wp), public :: line_width = 1.0_wp
real(kind=wp), public :: stroke_r = 0.0_wp
real(kind=wp), public :: stroke_g = 0.0_wp
real(kind=wp), public :: stroke_b = 1.0_wp
real(kind=wp), public :: fill_r = 0.0_wp
real(kind=wp), public :: fill_g = 0.0_wp
real(kind=wp), public :: fill_b = 0.0_wp