Sha256: 90748b2dd4d363084274692b1fb465e94cefd6bf8a0dc0e0e5f907a324b2ab0e

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

inches
------

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

Parameters
^^^^^^^^^^

n
  the number of inches


Examples
^^^^^^^^

.. code-block:: ruby

  inches(2.5)                # 750 (for default Deck::dpi of 300)
  inches(2.5) + inches(0.5)  # 900 (for default Deck::dpi of 300)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
squib-0.12.0 docs/dsl/inches.rst
squib-0.11.0 docs/dsl/inches.rst
squib-0.10.0 docs/dsl/inches.rst