fplotlib_backend_svg module#

fplotlib_backend_svg (module)#

Types

svg_renderer_t (type)#

svg_renderer_t (type)
Attributes:
btype(svg_builder)
n_markerinteger, Default = 0
n_clipinteger, Default = 0
cur_cliptype(clip_t)
cur_clip_idinteger, Default = 0
in_cliplogical, Default = .false.
glyph_definedlogical, allocatable, dimension(:)
Procedures:

Procedures

svg_bytes (function)#

function svg_bytes(self) -> s
Arguments:
selfclass(svg_renderer_t), intent(in)
Returns:
scharacter(len=:), allocatable

svg_open_canvas (subroutine)#

subroutine svg_open_canvas(self, width, height, bg_rgb, bg_alpha, x0, y0)
Arguments:
selfclass(svg_renderer_t), intent(inout)
widthreal(kind=dp), intent(in)
heightreal(kind=dp), intent(in)
bg_rgbinteger, intent(in), optional, dimension(3)
bg_alphareal(kind=dp), intent(in), optional
x0real(kind=dp), intent(in), optional
y0real(kind=dp), intent(in), optional

svg_close_canvas (subroutine)#

subroutine svg_close_canvas(self)
Arguments:
selfclass(svg_renderer_t), intent(inout)

svg_draw_path (subroutine)#

subroutine svg_draw_path(self, x, y, verbs, n_verb, paint)
Arguments:
selfclass(svg_renderer_t), intent(inout)
xreal(kind=dp), intent(in), dimension(:)
yreal(kind=dp), intent(in), dimension(:)
verbsinteger, intent(in), dimension(:)
n_verbinteger, intent(in)
painttype(paint_t), intent(in)

svg_draw_rect (subroutine)#

subroutine svg_draw_rect(self, x, y, w, h, paint, radius)
Arguments:
selfclass(svg_renderer_t), intent(inout)
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)
wreal(kind=dp), intent(in)
hreal(kind=dp), intent(in)
painttype(paint_t), intent(in)
radiusreal(kind=dp), intent(in), optional

svg_draw_circle (subroutine)#

subroutine svg_draw_circle(self, cx, cy, r, paint)
Arguments:
selfclass(svg_renderer_t), intent(inout)
cxreal(kind=dp), intent(in)
cyreal(kind=dp), intent(in)
rreal(kind=dp), intent(in)
painttype(paint_t), intent(in)

svg_draw_markers (subroutine)#

subroutine svg_draw_markers(self, x, y, mx, my, mverbs, n_mverb, paint)
Arguments:
selfclass(svg_renderer_t), intent(inout)
xreal(kind=dp), intent(in), dimension(:)
yreal(kind=dp), intent(in), dimension(:)
mxreal(kind=dp), intent(in), dimension(:)
myreal(kind=dp), intent(in), dimension(:)
mverbsinteger, intent(in), dimension(:)
n_mverbinteger, intent(in)
painttype(paint_t), intent(in)

svg_draw_glyphs (subroutine)#

subroutine svg_draw_glyphs(self, x, y, run, paint, angle)
Arguments:
selfclass(svg_renderer_t), intent(inout)
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)
runtype(glyphrun_t), intent(in)
painttype(paint_t), intent(in)
anglereal(kind=dp), intent(in)

svg_draw_image (subroutine)#

subroutine svg_draw_image(self, x, y, w, h, rgba, nx, ny, paint)
Arguments:
selfclass(svg_renderer_t), intent(inout)
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)
wreal(kind=dp), intent(in)
hreal(kind=dp), intent(in)
rgbainteger, (4, nx, ny), intent(in), dimension(4,nx,ny)
nxinteger, intent(in)
nyinteger, intent(in)
painttype(paint_t), intent(in)

svg_begin_group (subroutine)#

subroutine svg_begin_group(self, name)
Arguments:
selfclass(svg_renderer_t), intent(inout)
namecharacter(len=*), intent(in)

svg_end_group (subroutine)#

subroutine svg_end_group(self)
Arguments:
selfclass(svg_renderer_t), intent(inout)