### Home Classes Methods

### In Files

- lib/prawn/measurement_extensions.rb

### Parent

Object

### Methods

- #cm
- #dm
- #ft
- #in
- #m
- #mm
- #pt
- #yd

### Included Modules

- Prawn::Measurements

### Files

- COPYING
- HACKING
- LICENSE
- README

### Class/Module Index

Quicksearch

- Prawn
- Prawn::Core
- Prawn::Document
- Prawn::Document::Annotations
- Prawn::Document::BoundingBox
- Prawn::Document::ColumnBox
- Prawn::Document::Destinations
- Prawn::Document::GraphicsState
- Prawn::Document::Internals
- Prawn::Document::PageGeometry
- Prawn::Document::Snapshot
- Prawn::Encoding
- Prawn::Errors
- Prawn::Font
- Prawn::Font::AFM
- Prawn::Font::DFont
- Prawn::Font::TTF
- Prawn::Graphics
- Prawn::Graphics::CapStyle
- Prawn::Graphics::Color
- Prawn::Graphics::Dash
- Prawn::Graphics::JoinStyle
- Prawn::Graphics::Transformation
- Prawn::Graphics::Transparency
- Prawn::Images
- Prawn::Images::JPG
- Prawn::Images::PNG
- Prawn::Measurements
- Prawn::Outline
- Prawn::Stamp
- Prawn::Text
- Prawn::Text::Box
- Prawn::Text::LineWrap
- File
- Numeric

No matching classes.

# Numeric

### Public Instance Methods

cm() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 18
    def cm
      return cm2pt(self)
    end

dm() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 22
    def dm
      return dm2pt(self)
    end

ft() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 38
    def ft
      return ft2pt(self)
    end

in() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 30
    def in
      return in2pt(self)
    end

m() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 26
    def m
      return m2pt(self)
    end

mm() click to toggle source

prawns' basic unit is PostScript-Point 72 points per inch

    # File lib/prawn/measurement_extensions.rb, line 14
    def mm
      return mm2pt(self)
    end

pt() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 42
    def pt
      return self
    end

yd() click to toggle source

    # File lib/prawn/measurement_extensions.rb, line 34
    def yd
      return yd2pt(self)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.