fplotlib_typeset module#

fplotlib_typeset (module)#

Variables

ALIGN_JUSTIFYinteger, parameter, Default = 0
ALIGN_LEFTinteger, parameter, Default = 1
ALIGN_CENTERinteger, parameter, Default = 2
ALIGN_RIGHTinteger, parameter, Default = 3

Types

ts_glue_t (type)#

ts_glue_t (type)
Attributes:
wreal(kind=dp), Default = 0.0_dp
streal(kind=dp), Default = 0.0_dp
shreal(kind=dp), Default = 0.0_dp
stointeger, Default = 0
shointeger, Default = 0

typeset_context_t (type)#

typeset_context_t (type)

Procedures

ts_hsize (function)#

pure function ts_hsize(ts) -> ts_hsize
Arguments:
tstype(typeset_context_t), intent(in)
Returns:
ts_hsizereal(kind=dp)

ts_font_size (function)#

pure function ts_font_size(ts) -> ts_font_size
Arguments:
tstype(typeset_context_t), intent(in)
Returns:
ts_font_sizereal(kind=dp)

ts_xheight (function)#

pure function ts_xheight(size) -> ts_xheight
Arguments:
sizereal(kind=dp), intent(in)
Returns:
ts_xheightreal(kind=dp)

ts_quad (function)#

pure function ts_quad(size) -> ts_quad
Arguments:
sizereal(kind=dp), intent(in)
Returns:
ts_quadreal(kind=dp)

ts_in_par (function)#

pure function ts_in_par(ts) -> ts_in_par
Arguments:
tstype(typeset_context_t), intent(in)
Returns:
ts_in_parlogical

ts_page_count (function)#

function ts_page_count(ts) -> ts_page_count
Arguments:
tstype(typeset_context_t), intent(in)
Returns:
ts_page_countinteger

ts_box_height (function)#

function ts_box_height(ts, p, top_gap) -> h
Arguments:
tstype(typeset_context_t), intent(in)
pinteger, intent(in), optional
top_gapreal(kind=dp), intent(out), optional
Returns:
hreal(kind=dp)

ts_line_count (function)#

function ts_line_count(ts) -> ts_line_count
Arguments:
tstype(typeset_context_t), intent(in)
Returns:
ts_line_countinteger

ts_reset (subroutine)#

subroutine ts_reset(ts)
Arguments:
tstype(typeset_context_t), intent(inout)

ts_set_colors (subroutine)#

subroutine ts_set_colors(ts, text, page)
Arguments:
tstype(typeset_context_t), intent(inout)
textinteger, intent(in)
pageinteger, intent(in)

ts_set_page (subroutine)#

subroutine ts_set_page(ts, w, h, left, right, top, bottom, numbers, headings_, flush)
Arguments:
tstype(typeset_context_t), intent(inout)
wreal(kind=dp), intent(in)
hreal(kind=dp), intent(in)
leftreal(kind=dp), intent(in)
rightreal(kind=dp), intent(in)
topreal(kind=dp), intent(in)
bottomreal(kind=dp), intent(in)
numberslogical, intent(in), optional
headings_logical, intent(in), optional
flushlogical, intent(in), optional

ts_set_font (subroutine)#

subroutine ts_set_font(ts, size, leading)
Arguments:
tstype(typeset_context_t), intent(inout)
sizereal(kind=dp), intent(in)
leadingreal(kind=dp), intent(in), optional

ts_page_size (subroutine)#

subroutine ts_page_size(ts, w, h, color)
Arguments:
tstype(typeset_context_t), intent(in)
wreal(kind=dp), intent(out)
hreal(kind=dp), intent(out)
colorinteger, intent(out), optional

ts_set_parskip (subroutine)#

subroutine ts_set_parskip(ts, g)
Arguments:
tstype(typeset_context_t), intent(inout)
gtype(ts_glue_t), intent(in)

ts_set_clubpenalty (subroutine)#

subroutine ts_set_clubpenalty(ts, p)
Arguments:
tstype(typeset_context_t), intent(inout)
pinteger, intent(in)

ts_begin_par (subroutine)#

subroutine ts_begin_par(ts, align, indent, left, right, size, hang, skip, leading, nobreak)
Arguments:
tstype(typeset_context_t), intent(inout)
aligninteger, intent(in)
indentreal(kind=dp), intent(in)
leftreal(kind=dp), intent(in), optional
rightreal(kind=dp), intent(in), optional
sizereal(kind=dp), intent(in), optional
hangreal(kind=dp), intent(in), optional
skiplogical, intent(in), optional
leadingreal(kind=dp), intent(in), optional
nobreaklogical, intent(in), optional

ts_word (subroutine)#

subroutine ts_word(ts, s, face, size, color, raise)
Arguments:
tstype(typeset_context_t), intent(inout)
scharacter(len=*), intent(in)
faceinteger, intent(in)
sizereal(kind=dp), intent(in)
colorinteger, intent(in), optional
raisereal(kind=dp), intent(in), optional

ts_space (subroutine)#

subroutine ts_space(ts, face, size)
Arguments:
tstype(typeset_context_t), intent(inout)
faceinteger, intent(in)
sizereal(kind=dp), intent(in)

ts_nbsp (subroutine)#

subroutine ts_nbsp(ts, face, size)
Arguments:
tstype(typeset_context_t), intent(inout)
faceinteger, intent(in)
sizereal(kind=dp), intent(in)

ts_hfil (subroutine)#

subroutine ts_hfil(ts)
Arguments:
tstype(typeset_context_t), intent(inout)

ts_kern (subroutine)#

subroutine ts_kern(ts, w)
Arguments:
tstype(typeset_context_t), intent(inout)
wreal(kind=dp), intent(in)

ts_math (subroutine)#

subroutine ts_math(ts, src, size, color, display, tag, ok)
Arguments:
tstype(typeset_context_t), intent(inout)
srccharacter(len=*), intent(in)
sizereal(kind=dp), intent(in)
colorinteger, intent(in), optional
displaylogical, intent(in), optional
tagcharacter(len=*), intent(in), optional
oklogical, intent(out), optional

ts_label (subroutine)#

subroutine ts_label(ts, s, face, size, sep, color)
Arguments:
tstype(typeset_context_t), intent(inout)
scharacter(len=*), intent(in)
faceinteger, intent(in)
sizereal(kind=dp), intent(in)
sepreal(kind=dp), intent(in)
colorinteger, intent(in), optional

ts_hard_break (subroutine)#

subroutine ts_hard_break(ts)
Arguments:
tstype(typeset_context_t), intent(inout)

ts_end_par (subroutine)#

subroutine ts_end_par(ts)
Arguments:
tstype(typeset_context_t), intent(inout)

ts_vskip (subroutine)#

subroutine ts_vskip(ts, g)
Arguments:
tstype(typeset_context_t), intent(inout)
gtype(ts_glue_t), intent(in)

ts_addvspace (subroutine)#

subroutine ts_addvspace(ts, g)
Arguments:
tstype(typeset_context_t), intent(inout)
gtype(ts_glue_t), intent(in)

ts_vfil (subroutine)#

subroutine ts_vfil(ts)
Arguments:
tstype(typeset_context_t), intent(inout)

ts_vkeep (subroutine)#

subroutine ts_vkeep(ts, g)
Arguments:
tstype(typeset_context_t), intent(inout)
gtype(ts_glue_t), intent(in)

ts_strut (subroutine)#

subroutine ts_strut(ts, h, d)
Arguments:
tstype(typeset_context_t), intent(inout)
hreal(kind=dp), intent(in)
dreal(kind=dp), intent(in)

ts_penalty (subroutine)#

subroutine ts_penalty(ts, p)
Arguments:
tstype(typeset_context_t), intent(inout)
pinteger, intent(in)

ts_addpenalty (subroutine)#

subroutine ts_addpenalty(ts, p)
Arguments:
tstype(typeset_context_t), intent(inout)
pinteger, intent(in)

ts_page_break (subroutine)#

subroutine ts_page_break(ts)
Arguments:
tstype(typeset_context_t), intent(inout)

ts_nobreak_next (subroutine)#

subroutine ts_nobreak_next(ts)
Arguments:
tstype(typeset_context_t), intent(inout)

ts_rule (subroutine)#

subroutine ts_rule(ts, width, thick, color)
Arguments:
tstype(typeset_context_t), intent(inout)
widthreal(kind=dp), intent(in)
thickreal(kind=dp), intent(in)
colorinteger, intent(in), optional

ts_frame (subroutine)#

subroutine ts_frame(ts, frame, width, align, left, right)
Arguments:
tstype(typeset_context_t), intent(inout)
frametype(frame_t), intent(in)
widthreal(kind=dp), intent(in), optional
aligninteger, intent(in), optional
leftreal(kind=dp), intent(in), optional
rightreal(kind=dp), intent(in), optional

ts_mark (subroutine)#

subroutine ts_mark(ts, s, plain, section)
Arguments:
tstype(typeset_context_t), intent(inout)
scharacter(len=*), intent(in)
plainlogical, intent(in)
sectionlogical, intent(in), optional

ts_paginate (subroutine)#

subroutine ts_paginate(ts)
Arguments:
tstype(typeset_context_t), intent(inout)

ts_page_draw (subroutine)#

subroutine ts_page_draw(ts, r, p)
Arguments:
tstype(typeset_context_t), intent(in)
rclass(renderer_t), intent(inout)
pinteger, intent(in)

ts_par_lines (subroutine)#

subroutine ts_par_lines(ts, i0, i1)
Arguments:
tstype(typeset_context_t), intent(in)
i0integer, intent(out)
i1integer, intent(out)

ts_line_info (subroutine)#

subroutine ts_line_info(ts, l, gids, xs, n)
Arguments:
tstype(typeset_context_t), intent(in)
linteger, intent(in)
gidsinteger, allocatable, intent(out), dimension(:)
xsreal(kind=dp), allocatable, intent(out), dimension(:)
ninteger, intent(out)