zephir.utils.trml2pdf.utils

Package zephir :: Package utils :: Package trml2pdf :: Module utils |
[frames] | no frames]

# Module utils

source code

Functions
text_get(node) | source code
unit_get(size) | source code
tuple_int_get(node, attr_name, default=None) | source code
bool_get(value) | source code
attr_get(node, attrs, dict=`{``}`) | source code

Variables
| units = ``[``(`re.compile(r'^`(`-`?``[`0`-`9\.`]``+``)`\s`*`in$')`,` 72.0`)``,` `(`re.compi`...``
| __package__ = ``'``zephir.utils.trml2pdf``'``

Variables Details

  ### units Value:
      [(re.compile(r'^(-?[0-9\.]+)\s*in$'), 72.0),
       (re.compile(r'^(-?[0-9\.]+)\s*cm$'), 28.3464566929),
       (re.compile(r'^(-?[0-9\.]+)\s*mm$'), 2.83464566929),
       (re.compile(r'^(-?[0-9\.]+)\s*$'), 1)]