fplotlib_raster module#

fplotlib_raster (module)#

Types

pathbuf_t (type)#

pathbuf_t (type)
Attributes:
xreal(kind=dp), allocatable, dimension(:)
yreal(kind=dp), allocatable, dimension(:)
sub_beginteger, allocatable, dimension(:)
sub_leninteger, allocatable, dimension(:)
sub_closedlogical, allocatable, dimension(:)
ninteger, Default = 0
nsinteger, Default = 0

canvas_t (type)#

canvas_t (type)
Attributes:
winteger, Default = 0
hinteger, Default = 0
scalereal(kind=dp), Default = 1.0_dp
pxreal(kind=dp), allocatable, (:, :, :), dimension(:,:,:)
accreal(kind=dp), allocatable, (:, :), dimension(:,:)

Procedures

canvas_rgba (function)#

function canvas_rgba(cv) -> out
Arguments:
cvtype(canvas_t), intent(in)
Returns:
outinteger, allocatable, (:, :, :), dimension(:,:,:)

pb_should_snap (function)#

function pb_should_snap(pb) -> yes
Arguments:
pbtype(pathbuf_t), intent(in)
Returns:
yeslogical

canvas_init (subroutine)#

subroutine canvas_init(cv, w, h, scale, bg_rgb, bg_alpha)
Arguments:
cvtype(canvas_t), intent(out)
winteger, intent(in)
hinteger, intent(in)
scalereal(kind=dp), intent(in)
bg_rgbinteger, intent(in), dimension(3)
bg_alphareal(kind=dp), intent(in)

canvas_free (subroutine)#

subroutine canvas_free(cv)
Arguments:
cvtype(canvas_t), intent(inout)

pb_reset (subroutine)#

subroutine pb_reset(pb)
Arguments:
pbtype(pathbuf_t), intent(inout)

pb_move (subroutine)#

subroutine pb_move(pb, x, y)
Arguments:
pbtype(pathbuf_t), intent(inout)
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)

pb_line (subroutine)#

subroutine pb_line(pb, x, y)
Arguments:
pbtype(pathbuf_t), intent(inout)
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)

pb_close (subroutine)#

subroutine pb_close(pb)
Arguments:
pbtype(pathbuf_t), intent(inout)

pb_cubic (subroutine)#

subroutine pb_cubic(pb, x1, y1, x2, y2, x3, y3)
Arguments:
pbtype(pathbuf_t), intent(inout)
x1real(kind=dp), intent(in)
y1real(kind=dp), intent(in)
x2real(kind=dp), intent(in)
y2real(kind=dp), intent(in)
x3real(kind=dp), intent(in)
y3real(kind=dp), intent(in)

pb_poly (subroutine)#

subroutine pb_poly(pb, px, py, n, negative)
Arguments:
pbtype(pathbuf_t), intent(inout)
pxreal(kind=dp), intent(in), dimension(:)
pyreal(kind=dp), intent(in), dimension(:)
ninteger, intent(in)
negativelogical, intent(in)

pb_snap (subroutine)#

subroutine pb_snap(pb, line_width_px)
Arguments:
pbtype(pathbuf_t), intent(inout)
line_width_pxreal(kind=dp), intent(in)

fill_path_buf (subroutine)#

subroutine fill_path_buf(cv, pb, rgb, alpha, clip)
Arguments:
cvtype(canvas_t), intent(inout)
pbtype(pathbuf_t), intent(in)
rgbinteger, intent(in), dimension(3)
alphareal(kind=dp), intent(in)
cliptype(clip_t), intent(in)

stroke_path_buf (subroutine)#

subroutine stroke_path_buf(cv, pb, paint)
Arguments:
cvtype(canvas_t), intent(inout)
pbtype(pathbuf_t), intent(in)
painttype(paint_t), intent(in)

blit_image (subroutine)#

subroutine blit_image(cv, x, y, w, h, rgba, nx, ny, alpha, clip)
Arguments:
cvtype(canvas_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)
alphareal(kind=dp), intent(in)
cliptype(clip_t), intent(in)