Module eg_richText

Function Index

classify_inline/1
clone_space/1
clone_word/2Make a new word based on the face of an old word.
color/1
font/1
fontFromFace/1
is_breakable/1
is_face_breakable/1
is_nl/1
is_space/1
is_word/1
lineWidth/1
mk_face/5
mk_fixedStr/2
mk_nl/1
mk_space/1
mk_test_word/1make a word that we can play with.
mk_word/2
numberOfSpaces/1
pointSize/1
richText2str/1 This takes a deep list of tuples and replaces tuples with equivalents, i.e.
str2richText/1
str2richText/2
str2richText/6 convert string to "word" sequence containing word font/size info.
string/1
test/1
width/1
widthExcludingSpaces/1
width_of/3

Function Details

classify_inline/1

classify_inline(X1::any_inline()) -> atom()

clone_space/1

clone_space(X1::word() | nl()) -> any()

clone_word/2

clone_word(X1::word(), Str::string()) -> word()

Make a new word based on the face of an old word

color/1

color(X1::any_inline()) -> any()

font/1

font(X1::any_inline()) -> module()

fontFromFace/1

fontFromFace(Face::#face{}) -> atom()

is_breakable/1

is_breakable(X1::word() | any()) -> boolean()

is_face_breakable/1

is_face_breakable(Face::#face{}) -> boolean()

is_nl/1

is_nl(X::tuple()) -> boolean()

is_space/1

is_space(X::tuple()) -> boolean()

is_word/1

is_word(X::tuple()) -> boolean()

lineWidth/1

lineWidth(Toks) -> any()

mk_face/5

mk_face(Font, PointSize, Breakable, Color, VoffSet) -> any()

mk_fixedStr/2

mk_fixedStr(Face::#face{}, Str::string()) -> fixed_str()

mk_nl/1

mk_nl(Face::#face{}) -> nl()

mk_space/1

mk_space(Face::#face{}) -> space()

mk_test_word/1

mk_test_word(Str::string()) -> word()

make a word that we can play with

mk_word/2

mk_word(Face::#face{}, Str::string()) -> word()

numberOfSpaces/1

numberOfSpaces(Toks) -> any()

pointSize/1

pointSize(X1::any_inline()) -> milli_points()

richText2str/1

richText2str(X1::{richText, _L}) -> string()

This takes a deep list of tuples and replaces tuples with equivalents, i.e. " " for {space,_, _}, "\n" for {nl,_}, etc.

str2richText/1

str2richText(Str) -> any()

str2richText/2

str2richText(Str, Pts) -> any()

str2richText/6

str2richText(Font::string(), _Point, _Voff, _Color, _Break, Str::string()) -> ep_rich_text()

convert string to "word" sequence containing word font/size info

string/1

string(X1::word() | fixed_str() | space()) -> string()

test/1

test(X1) -> any()

width/1

width(X1::any_inline()) -> integer()

widthExcludingSpaces/1

widthExcludingSpaces(Toks) -> any()

width_of/3

width_of(Font::any(), PointSize::number(), Str::string()) -> number()


Generated by EDoc