fortplot
Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
unpack_rgb
Subroutine
7 statements
Source File
fortplot_text_color.f90
fortplot_text_color
unpack_rgb
Contents
public pure subroutine unpack_rgb(packed, r, g, b)
Inverse of pack_rgb; returns channels in 0..1.
Arguments
Type
Intent
Optional
Attributes
Name
integer,
intent(in)
::
packed
real(kind=wp),
intent(out)
::
r
real(kind=wp),
intent(out)
::
g
real(kind=wp),
intent(out)
::
b