fplotlib_artist module#

fplotlib_artist (module)#

Procedures

hex_byte (function)#

pure function hex_byte(s) -> v
Arguments:
scharacter(len=2), intent(in)
Returns:
vinteger

hex_digit (function)#

pure function hex_digit(c) -> v
Arguments:
ccharacter(len=1), intent(in)
Returns:
vinteger

hex_pair (function)#

pure function hex_pair(v) -> s
Arguments:
vinteger, intent(in)
Returns:
scharacter(len=2)

hex_rgb (function)#

pure function hex_rgb(s) -> c
Arguments:
scharacter(len=*), intent(in)
Returns:
cinteger, dimension(3)

pen (function)#

function pen(color, lw, alpha, ls) -> p
Arguments:
colorcharacter(len=*), intent(in)
lwreal(kind=dp), intent(in)
alphareal(kind=dp), intent(in), optional
lsinteger, intent(in), optional
Returns:
ptype(paint_t)

brush (function)#

function brush(color, alpha) -> p
Arguments:
colorcharacter(len=*), intent(in)
alphareal(kind=dp), intent(in), optional
Returns:
ptype(paint_t)

line_verbs (function)#

pure function line_verbs(np) -> v
Arguments:
npinteger, intent(in)
Returns:
vinteger, dimension(np)

text_ascent (function)#

pure elemental function text_ascent(size) -> text_ascent
Arguments:
sizereal(kind=dp), intent(in)
Returns:
text_ascentreal(kind=dp)

text_descent (function)#

pure elemental function text_descent(size) -> text_descent
Arguments:
sizereal(kind=dp), intent(in)
Returns:
text_descentreal(kind=dp)

text_mid (function)#

pure elemental function text_mid(size) -> text_mid
Arguments:
sizereal(kind=dp), intent(in)
Returns:
text_midreal(kind=dp)

str_width (function)#

function str_width(s, size, weight, slant) -> w
Arguments:
scharacter(len=*), intent(in)
sizereal(kind=dp), intent(in)
weightinteger, intent(in), optional
slantinteger, intent(in), optional
Returns:
wreal(kind=dp)

line_count (function)#

pure function line_count(s) -> line_count
Arguments:
scharacter(len=*), intent(in)
Returns:
line_countinteger

char_count (function)#

pure function char_count(s, c) -> n
Arguments:
scharacter(len=*), intent(in)
ccharacter(len=*), intent(in)
Returns:
ninteger

sort_in_place (subroutine)#

pure subroutine sort_in_place(v)
Arguments:
vreal(kind=dp), intent(inout), dimension(:)

set_clip (subroutine)#

subroutine set_clip(x, y, w, h)
Arguments:
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)
wreal(kind=dp), intent(in)
hreal(kind=dp), intent(in)

clear_clip (subroutine)#

subroutine clear_clip

set_dash (subroutine)#

subroutine set_dash(p, ls)
Arguments:
ptype(paint_t), intent(inout)
lsinteger, intent(in)

append_stroke_path (subroutine)#

subroutine append_stroke_path(b, px, py, np, color, lw, alpha)
Arguments:
bclass(renderer_t), intent(inout)
pxreal(kind=dp), intent(in), dimension(:)
pyreal(kind=dp), intent(in), dimension(:)
npinteger, intent(in)
colorcharacter(len=*), intent(in)
lwreal(kind=dp), intent(in)
alphareal(kind=dp), intent(in)

append_polygon (subroutine)#

subroutine append_polygon(b, px, py, np, color, alpha, seal)
Arguments:
bclass(renderer_t), intent(inout)
pxreal(kind=dp), intent(in), dimension(:)
pyreal(kind=dp), intent(in), dimension(:)
npinteger, intent(in)
colorcharacter(len=*), intent(in)
alphareal(kind=dp), intent(in)
seallogical, intent(in), optional

marker_shape (subroutine)#

subroutine marker_shape(mk, ms, mx, my, mv, nv, np, do_fill, do_stroke, lw)
Arguments:
mkinteger, intent(in)
msreal(kind=dp), intent(in)
mxreal(kind=dp), intent(out), dimension(:)
myreal(kind=dp), intent(out), dimension(:)
mvinteger, intent(out), dimension(:)
nvinteger, intent(out)
npinteger, intent(out)
do_filllogical, intent(out)
do_strokelogical, intent(out)
lwreal(kind=dp), intent(out)

append_markers (subroutine)#

subroutine append_markers(b, mk, x, y, n, ms, color, alpha, face, edge, ewidth)
Arguments:
bclass(renderer_t), intent(inout)
mkinteger, intent(in)
xreal(kind=dp), intent(in), dimension(:)
yreal(kind=dp), intent(in), dimension(:)
ninteger, intent(in)
msreal(kind=dp), intent(in)
colorcharacter(len=*), intent(in)
alphareal(kind=dp), intent(in)
facecharacter(len=*), intent(in), optional
edgecharacter(len=*), intent(in), optional
ewidthreal(kind=dp), intent(in), optional

append_marker (subroutine)#

subroutine append_marker(b, mk, cx, cy, ms, color, alpha)
Arguments:
bclass(renderer_t), intent(inout)
mkinteger, intent(in)
cxreal(kind=dp), intent(in)
cyreal(kind=dp), intent(in)
msreal(kind=dp), intent(in)
colorcharacter(len=*), intent(in)
alphareal(kind=dp), intent(in)

append_text (subroutine)#

subroutine append_text(b, x, y, s, anchor, fontsize, color, rot, weight, slant, baseline)
Arguments:
bclass(renderer_t), intent(inout)
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)
scharacter(len=*), intent(in)
anchorcharacter(len=*), intent(in)
fontsizereal(kind=dp), intent(in)
colorcharacter(len=*), intent(in)
rotreal(kind=dp), intent(in), optional
weightinteger, intent(in), optional
slantinteger, intent(in), optional
baselineinteger, intent(in), optional

align_run (subroutine)#

subroutine align_run(run, w, f, anchor, baseline, dx, dy)
Arguments:
runtype(glyphrun_t), intent(inout)
wreal(kind=dp), intent(in)
ftype(font_t), intent(in)
anchorinteger, intent(in)
baselineinteger, intent(in)
dxreal(kind=dp), intent(out), optional
dyreal(kind=dp), intent(out), optional

append_math (subroutine)#

subroutine append_math(b, x, y, s, f, p, anchor, baseline, ang)
Arguments:
bclass(renderer_t), intent(inout)
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)
scharacter(len=*), intent(in)
ftype(font_t), intent(in)
ptype(paint_t), intent(in)
anchorinteger, intent(in)
baselineinteger, intent(in)
angreal(kind=dp), intent(in)

line_bounds (subroutine)#

pure subroutine line_bounds(s, k, i0, i1)
Arguments:
scharacter(len=*), intent(in)
kinteger, intent(in)
i0integer, intent(out)
i1integer, intent(out)

append_arrow (subroutine)#

subroutine append_arrow(b, t, px, py, tx, ty)
Arguments:
bclass(renderer_t), intent(inout)
ttype(text_t), intent(in)
pxreal(kind=dp), intent(in)
pyreal(kind=dp), intent(in)
txreal(kind=dp), intent(in)
tyreal(kind=dp), intent(in)

unit_towards (subroutine)#

subroutine unit_towards(x, y, cx, cy, fx, fy, ux, uy)
Arguments:
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)
cxreal(kind=dp), intent(in)
cyreal(kind=dp), intent(in)
fxreal(kind=dp), intent(in)
fyreal(kind=dp), intent(in)
uxreal(kind=dp), intent(out)
uyreal(kind=dp), intent(out)

append_annotation (subroutine)#

subroutine append_annotation(b, t, px, py)
Arguments:
bclass(renderer_t), intent(inout)
ttype(text_t), intent(in)
pxreal(kind=dp), intent(in)
pyreal(kind=dp), intent(in)

append_line (subroutine)#

subroutine append_line(b, x1, y1, x2, y2, color, lw, ls, alpha)
Arguments:
bclass(renderer_t), intent(inout)
x1real(kind=dp), intent(in)
y1real(kind=dp), intent(in)
x2real(kind=dp), intent(in)
y2real(kind=dp), intent(in)
colorcharacter(len=*), intent(in)
lwreal(kind=dp), intent(in)
lsinteger, intent(in)
alphareal(kind=dp), intent(in)

append_hatch (subroutine)#

subroutine append_hatch(b, px, py, np, pattern, color, alpha)
Arguments:
bclass(renderer_t), intent(inout)
pxreal(kind=dp), intent(in), dimension(:)
pyreal(kind=dp), intent(in), dimension(:)
npinteger, intent(in)
patterncharacter(len=*), intent(in)
colorcharacter(len=*), intent(in)
alphareal(kind=dp), intent(in)

hatch_family (subroutine)#

subroutine hatch_family(b, px, py, np, fam, nrep, color, alpha)
Arguments:
bclass(renderer_t), intent(inout)
pxreal(kind=dp), intent(in), dimension(:)
pyreal(kind=dp), intent(in), dimension(:)
npinteger, intent(in)
faminteger, intent(in)
nrepinteger, intent(in)
colorcharacter(len=*), intent(in)
alphareal(kind=dp), intent(in)

hatch_line (subroutine)#

subroutine hatch_line(b, px, py, np, ox, oy, dx, dy, color, alpha)
Arguments:
bclass(renderer_t), intent(inout)
pxreal(kind=dp), intent(in), dimension(:)
pyreal(kind=dp), intent(in), dimension(:)
npinteger, intent(in)
oxreal(kind=dp), intent(in)
oyreal(kind=dp), intent(in)
dxreal(kind=dp), intent(in)
dyreal(kind=dp), intent(in)
colorcharacter(len=*), intent(in)
alphareal(kind=dp), intent(in)

append_round_rect (subroutine)#

subroutine append_round_rect(b, x, y, w, h, r, color, alpha, edge)
Arguments:
bclass(renderer_t), intent(inout)
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)
wreal(kind=dp), intent(in)
hreal(kind=dp), intent(in)
rreal(kind=dp), intent(in)
colorcharacter(len=*), intent(in)
alphareal(kind=dp), intent(in)
edgecharacter(len=*), intent(in)

append_rect (subroutine)#

subroutine append_rect(b, x, y, w, h, color, alpha, edge, elw)
Arguments:
bclass(renderer_t), intent(inout)
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)
wreal(kind=dp), intent(in)
hreal(kind=dp), intent(in)
colorcharacter(len=*), intent(in)
alphareal(kind=dp), intent(in), optional
edgecharacter(len=*), intent(in), optional
elwreal(kind=dp), intent(in), optional

append_open_circle (subroutine)#

subroutine append_open_circle(b, cx, cy, r, color)
Arguments:
bclass(renderer_t), intent(inout)
cxreal(kind=dp), intent(in)
cyreal(kind=dp), intent(in)
rreal(kind=dp), intent(in)
colorcharacter(len=*), intent(in)

append_wedge (subroutine)#

subroutine append_wedge(b, cx, cy, rx, ry, a0, a1, color, alpha, edge, ewidth)
Arguments:
bclass(renderer_t), intent(inout)
cxreal(kind=dp), intent(in)
cyreal(kind=dp), intent(in)
rxreal(kind=dp), intent(in)
ryreal(kind=dp), intent(in)
a0real(kind=dp), intent(in)
a1real(kind=dp), intent(in)
colorcharacter(len=*), intent(in)
alphareal(kind=dp), intent(in)
edgecharacter(len=*), intent(in), optional
ewidthreal(kind=dp), intent(in), optional

append_cell (subroutine)#

subroutine append_cell(b, x, y, w, h, color)
Arguments:
bclass(renderer_t), intent(inout)
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)
wreal(kind=dp), intent(in)
hreal(kind=dp), intent(in)
colorcharacter(len=*), intent(in)

append_tick (subroutine)#

subroutine append_tick(b, x1, y1, x2, y2)
Arguments:
bclass(renderer_t), intent(inout)
x1real(kind=dp), intent(in)
y1real(kind=dp), intent(in)
x2real(kind=dp), intent(in)
y2real(kind=dp), intent(in)

append_spine (subroutine)#

subroutine append_spine(b, x1, y1, x2, y2)
Arguments:
bclass(renderer_t), intent(inout)
x1real(kind=dp), intent(in)
y1real(kind=dp), intent(in)
x2real(kind=dp), intent(in)
y2real(kind=dp), intent(in)

append_tick_at (subroutine)#

subroutine append_tick_at(b, x, y, ox, oy, dir, length)
Arguments:
bclass(renderer_t), intent(inout)
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)
oxreal(kind=dp), intent(in)
oyreal(kind=dp), intent(in)
dirreal(kind=dp), intent(in)
lengthreal(kind=dp), intent(in)

append_tick_text (subroutine)#

subroutine append_tick_text(b, x, y, s, anchor, fontsize, rot)
Arguments:
bclass(renderer_t), intent(inout)
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)
scharacter(len=*), intent(in)
anchorcharacter(len=*), intent(in)
fontsizereal(kind=dp), intent(in)
rotreal(kind=dp), intent(in)