Sha256: 05ef6f1cc816000ca36036e74f8710ef0a7831e75d5159cad41874985d747c7e

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

mm
------

Given millimeters, returns the number of pixels according to the deck's DPI.

Parameters
^^^^^^^^^^

n
  the number of mm


Examples
^^^^^^^^

.. code-block:: ruby

  mm(1)         # 11.811px (for default Deck::dpi of 300)
  mm(2) + mm(1) # 35.433ox (for default Deck::dpi of 300)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
squib-0.12.0 docs/dsl/mm.rst
squib-0.11.0 docs/dsl/mm.rst