fplotlib_backend_pdf module#

fplotlib_backend_pdf (module)#

Types

pdf_renderer_t (type)#

pdf_renderer_t (type)
Attributes:
ctype(svg_builder)
outcharacter(len=:), allocatable
wreal(kind=dp), Default = 0.0_dp
hreal(kind=dp), Default = 0.0_dp
x0real(kind=dp), Default = 0.0_dp
y0real(kind=dp), Default = 0.0_dp
n_alphainteger, Default = 0
alpha_fillreal(kind=dp), dimension(MAX_ALPHA), Default = 1.0_dp
alpha_strokereal(kind=dp), dimension(MAX_ALPHA), Default = 1.0_dp
clip_openlogical, Default = .false.
cur_cliptype(clip_t)
n_imginteger, Default = 0
imgtype(pdf_image_t), dimension(MAX_IMG)
t3type(t3set_t)
Procedures:

Procedures

pdf_bytes (function)#

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

pdf_open_canvas (subroutine)#

subroutine pdf_open_canvas(self, width, height, bg_rgb, bg_alpha, x0, y0)
Arguments:
selfclass(pdf_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

pdf_draw_path (subroutine)#

subroutine pdf_draw_path(self, x, y, verbs, n_verb, paint)
Arguments:
selfclass(pdf_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)

pdf_draw_rect (subroutine)#

subroutine pdf_draw_rect(self, x, y, w, h, paint, radius)
Arguments:
selfclass(pdf_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

pdf_draw_circle (subroutine)#

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

pdf_draw_markers (subroutine)#

subroutine pdf_draw_markers(self, x, y, mx, my, mverbs, n_mverb, paint)
Arguments:
selfclass(pdf_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)

pdf_draw_glyphs (subroutine)#

subroutine pdf_draw_glyphs(self, x, y, run, paint, angle)
Arguments:
selfclass(pdf_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)

pdf_draw_image (subroutine)#

subroutine pdf_draw_image(self, x, y, w, h, rgba, nx, ny, paint)
Arguments:
selfclass(pdf_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)

pdf_close_canvas (subroutine)#

subroutine pdf_close_canvas(self)
Arguments:
selfclass(pdf_renderer_t), intent(inout)