fplotlib_glyphs module#
fplotlib_glyphs (module)#
Variables
- FACE_REGULARinteger, parameter, Default = 1
- FACE_BOLDinteger, parameter, Default = 2
- FACE_ITALICinteger, parameter, Default = 3
- FACE_MATHinteger, parameter, Default = 4
- FACE_OBLIQUEinteger, parameter, Default = FACE_ITALIC
- EMreal(kind=dp), parameter, Default = real(FACE_EM(1), dp)
- ASCENTreal(kind=dp), parameter, Default = real(FACE_ASC(1), dp)
- DESCENTreal(kind=dp), parameter, Default = real(FACE_DESC(1), dp)
- XHEIGHTreal(kind=dp), parameter, Default = real(FACE_XH(1), dp)
Procedures
glyph_cmap (function)#
-
function glyph_cmap(face, cp) -> gid - Arguments:
- faceinteger, intent(in)
- cpinteger, intent(in)
- Returns:
- gidinteger
glyph_face (function)#
-
function glyph_face(gid) -> glyph_face - Arguments:
- gidinteger, intent(in)
- Returns:
- glyph_faceinteger
glyph_adv (function)#
-
function glyph_adv(gid) -> a - Arguments:
- gidinteger, intent(in)
- Returns:
- areal(kind=dp)
glyph_inked (function)#
-
function glyph_inked(gid) -> glyph_inked - Arguments:
- gidinteger, intent(in)
- Returns:
- glyph_inkedlogical
glyph_kern (function)#
-
function glyph_kern(face, g1, g2) -> k - Arguments:
- faceinteger, intent(in)
- g1integer, intent(in)
- g2integer, intent(in)
- Returns:
- kreal(kind=dp)
glyph_char (function)#
-
function glyph_char(gid) -> glyph_char - Arguments:
- gidinteger, intent(in)
- Returns:
- glyph_charinteger
glyph_recompose (function)#
-
pure elemental function glyph_recompose(base, mark) -> c - Arguments:
- baseinteger, intent(in)
- markinteger, intent(in)
- Returns:
- cinteger
face_ascent (function)#
-
pure elemental function face_ascent(face) -> face_ascent - Arguments:
- faceinteger, intent(in)
- Returns:
- face_ascentreal(kind=dp)
face_descent (function)#
-
pure elemental function face_descent(face) -> face_descent - Arguments:
- faceinteger, intent(in)
- Returns:
- face_descentreal(kind=dp)
face_xheight (function)#
-
pure elemental function face_xheight(face) -> face_xheight - Arguments:
- faceinteger, intent(in)
- Returns:
- face_xheightreal(kind=dp)
face_capheight (function)#
-
pure elemental function face_capheight(face) -> face_capheight - Arguments:
- faceinteger, intent(in)
- Returns:
- face_capheightreal(kind=dp)
math_const (function)#
-
pure elemental function math_const(i) -> math_const - Arguments:
- iinteger, intent(in)
- Returns:
- math_constreal(kind=dp)
math_percent (function)#
-
pure elemental function math_percent(i) -> math_percent - Arguments:
- iinteger, intent(in)
- Returns:
- math_percentreal(kind=dp)
glyph_italic (function)#
-
function glyph_italic(gid) -> v - Arguments:
- gidinteger, intent(in)
- Returns:
- vreal(kind=dp)
glyph_top_accent (function)#
-
function glyph_top_accent(gid) -> v - Arguments:
- gidinteger, intent(in)
- Returns:
- vreal(kind=dp)
glyph_math_kern (function)#
-
function glyph_math_kern(gid, corner, height) -> v - Arguments:
- gidinteger, intent(in)
- cornerinteger, intent(in)
- heightreal(kind=dp), intent(in)
- Returns:
- vreal(kind=dp)
glyph_extended (function)#
-
function glyph_extended(gid) -> glyph_extended - Arguments:
- gidinteger, intent(in)
- Returns:
- glyph_extendedlogical
glyph_ssty (function)#
-
function glyph_ssty(gid, level) -> glyph_ssty - Arguments:
- gidinteger, intent(in)
- levelinteger, intent(in)
- Returns:
- glyph_sstyinteger
glyph_dotless (function)#
-
function glyph_dotless(gid) -> glyph_dotless - Arguments:
- gidinteger, intent(in)
- Returns:
- glyph_dotlessinteger
glyph_advance (function)#
-
function glyph_advance(c, face) -> a - Arguments:
- cinteger, intent(in)
- faceinteger, intent(in), optional
- Returns:
- areal(kind=dp)
glyph_bbox (subroutine)#
-
subroutine glyph_bbox(gid, x0, y0, x1, y1) - Arguments:
- gidinteger, intent(in)
- x0real(kind=dp), intent(out)
- y0real(kind=dp), intent(out)
- x1real(kind=dp), intent(out)
- y1real(kind=dp), intent(out)
glyph_outline (subroutine)#
-
subroutine glyph_outline(gid, v, nv, x, y, np) - Arguments:
- gidinteger, intent(in)
- vinteger, allocatable, intent(out), dimension(:)
- nvinteger, intent(out)
- xreal(kind=dp), allocatable, intent(out), dimension(:)
- yreal(kind=dp), allocatable, intent(out), dimension(:)
- npinteger, intent(out)
glyph_variants (subroutine)#
-
subroutine glyph_variants(gid, vertical, n, gids, adv) - Arguments:
- gidinteger, intent(in)
- verticallogical, intent(in)
- ninteger, intent(out)
- gidsinteger, allocatable, intent(out), dimension(:)
- advreal(kind=dp), allocatable, intent(out), dimension(:)
glyph_assembly (subroutine)#
-
subroutine glyph_assembly(gid, vertical, n, parts, starts, ends, fulls, exts, italic) - Arguments:
- gidinteger, intent(in)
- verticallogical, intent(in)
- ninteger, intent(out)
- partsinteger, allocatable, intent(out), dimension(:)
- startsreal(kind=dp), allocatable, intent(out), dimension(:)
- endsreal(kind=dp), allocatable, intent(out), dimension(:)
- fullsreal(kind=dp), allocatable, intent(out), dimension(:)
- extslogical, allocatable, intent(out), dimension(:)
- italicreal(kind=dp), intent(out)
glyph_verbs (subroutine)#
-
subroutine glyph_verbs(c, v, n, face) - Arguments:
- cinteger, intent(in)
- vinteger, allocatable, intent(out), dimension(:)
- ninteger, intent(out)
- faceinteger, intent(in), optional
glyph_points (subroutine)#
-
subroutine glyph_points(c, x, y, n, face) - Arguments:
- cinteger, intent(in)
- xreal(kind=dp), allocatable, intent(out), dimension(:)
- yreal(kind=dp), allocatable, intent(out), dimension(:)
- ninteger, intent(out)
- faceinteger, intent(in), optional