fplotlib_raster module#
fplotlib_raster (module)#
Variables
- full_walklogical, Default = .false.
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
- curve_scalereal(kind=dp), Default = 1.0_dp
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(:,:)
- matrixreal(kind=dp), dimension(6), Default = IDENTITY
- identity_transformlogical, Default = .true.
- curve_scalereal(kind=dp), Default = 1.0_dp
- n_frameinteger, Default = 0
- n_clipinteger, Default = 0
- framestype(raster_frame_t), 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)
canvas_begin_frame (subroutine)#
-
subroutine canvas_begin_frame(cv, matrix, clip) - Arguments:
- cvtype(canvas_t), intent(inout)
- matrixreal(kind=dp), intent(in), dimension(6)
- cliptype(clip_t), intent(in)
canvas_end_frame (subroutine)#
-
subroutine canvas_end_frame(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, evenodd) - 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)
- evenoddlogical, intent(in), optional
clip_to_box (subroutine)#
-
subroutine clip_to_box(x, y, x0, x1, y0, y1, ox, oy, m) - Arguments:
- xreal(kind=dp), intent(in), dimension(:)
- yreal(kind=dp), intent(in), dimension(:)
- x0real(kind=dp), intent(in)
- x1real(kind=dp), intent(in)
- y0real(kind=dp), intent(in)
- y1real(kind=dp), intent(in)
- oxreal(kind=dp), allocatable, intent(out), dimension(:)
- oyreal(kind=dp), allocatable, intent(out), dimension(:)
- minteger, intent(out)
clip_segment (subroutine)#
-
recursive subroutine clip_segment(x0, y0, x1, y1, bx0, bx1, by0, by1, ax, ay, ex, ey, visible, cut0, cut1, depth) - Arguments:
- x0real(kind=dp), intent(in)
- y0real(kind=dp), intent(in)
- x1real(kind=dp), intent(in)
- y1real(kind=dp), intent(in)
- bx0real(kind=dp), intent(in)
- bx1real(kind=dp), intent(in)
- by0real(kind=dp), intent(in)
- by1real(kind=dp), intent(in)
- axreal(kind=dp), intent(out)
- ayreal(kind=dp), intent(out)
- exreal(kind=dp), intent(out)
- eyreal(kind=dp), intent(out)
- visiblelogical, intent(out)
- cut0logical, intent(out)
- cut1logical, intent(out)
- depthinteger, intent(in), optional
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)