Class: Idml::Geometry::Transform
- Inherits:
-
Struct
- Object
- Struct
- Idml::Geometry::Transform
- Defined in:
- lib/idml/geometry.rb
Overview
2D affine transform: [a, b, c, d, e, f] representing x' = ax + cy + e y' = bx + dy + f
Instance Attribute Summary collapse
-
#a ⇒ Object
Returns the value of attribute a.
-
#b ⇒ Object
Returns the value of attribute b.
-
#c ⇒ Object
Returns the value of attribute c.
-
#d ⇒ Object
Returns the value of attribute d.
-
#e ⇒ Object
Returns the value of attribute e.
-
#f ⇒ Object
Returns the value of attribute f.
Instance Attribute Details
#a ⇒ Object
Returns the value of attribute a
15 16 17 |
# File 'lib/idml/geometry.rb', line 15 def a @a end |
#b ⇒ Object
Returns the value of attribute b
15 16 17 |
# File 'lib/idml/geometry.rb', line 15 def b @b end |
#c ⇒ Object
Returns the value of attribute c
15 16 17 |
# File 'lib/idml/geometry.rb', line 15 def c @c end |
#d ⇒ Object
Returns the value of attribute d
15 16 17 |
# File 'lib/idml/geometry.rb', line 15 def d @d end |
#e ⇒ Object
Returns the value of attribute e
15 16 17 |
# File 'lib/idml/geometry.rb', line 15 def e @e end |
#f ⇒ Object
Returns the value of attribute f
15 16 17 |
# File 'lib/idml/geometry.rb', line 15 def f @f end |