fplotlib_backend_png module#
fplotlib_backend_png (module)#
Types
png_renderer_t (type)#
-
png_renderer_t (type) - Attributes:
- cvtype(canvas_t)
- pbtype(pathbuf_t)
- dpireal(kind=dp), Default = DEFAULT_DPI
- oxreal(kind=dp), Default = 0.0_dp
- oyreal(kind=dp), Default = 0.0_dp
- outcharacter(len=:), allocatable
- keep_pixelslogical, Default = .false.
- pwinteger, Default = 0
- phinteger, Default = 0
- rgbcharacter(len=:), allocatable
- Procedures:
Procedures
png_bytes (function)#
-
function png_bytes(self) -> b - Arguments:
- selfclass(png_renderer_t), intent(in)
- Returns:
- bcharacter(len=:), allocatable
png_set_dpi (subroutine)#
-
subroutine png_set_dpi(self, dpi) - Arguments:
- selfclass(png_renderer_t), intent(inout)
- dpireal(kind=dp), intent(in)
png_open_canvas (subroutine)#
-
subroutine png_open_canvas(self, width, height, bg_rgb, bg_alpha, x0, y0) - Arguments:
- selfclass(png_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
png_close_canvas (subroutine)#
-
subroutine png_close_canvas(self) - Arguments:
- selfclass(png_renderer_t), intent(inout)
png_draw_path (subroutine)#
-
subroutine png_draw_path(self, x, y, verbs, n_verb, paint) - Arguments:
- selfclass(png_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)
png_draw_rect (subroutine)#
-
subroutine png_draw_rect(self, x, y, w, h, paint, radius) - Arguments:
- selfclass(png_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
png_draw_circle (subroutine)#
-
subroutine png_draw_circle(self, cx, cy, r, paint) - Arguments:
- selfclass(png_renderer_t), intent(inout)
- cxreal(kind=dp), intent(in)
- cyreal(kind=dp), intent(in)
- rreal(kind=dp), intent(in)
- painttype(paint_t), intent(in)
png_draw_markers (subroutine)#
-
subroutine png_draw_markers(self, x, y, mx, my, mverbs, n_mverb, paint) - Arguments:
- selfclass(png_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)
png_draw_glyphs (subroutine)#
-
subroutine png_draw_glyphs(self, x, y, run, paint, angle) - Arguments:
- selfclass(png_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)
png_draw_image (subroutine)#
-
subroutine png_draw_image(self, x, y, w, h, rgba, nx, ny, paint) - Arguments:
- selfclass(png_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)