Module: Magick::RVG::TextLink
Overview
Tspan and Tref shared methods - read/update @cx, @cy in parent Text object.
Instance Method Summary collapse
Instance Method Details
#add_primitives(gc) ⇒ Object
:nodoc:
78 79 80 81 82 |
# File 'lib/rvg/text.rb', line 78 def add_primitives(gc) @parent.cx = @x if @x @parent.cy = @y if @y super end |
#cx ⇒ Object
84 85 86 |
# File 'lib/rvg/text.rb', line 84 def cx @parent.cx end |
#cx=(x) ⇒ Object
92 93 94 |
# File 'lib/rvg/text.rb', line 92 def cx=(x) @parent.cx = x end |
#cy ⇒ Object
88 89 90 |
# File 'lib/rvg/text.rb', line 88 def cy @parent.cy end |
#cy=(y) ⇒ Object
96 97 98 |
# File 'lib/rvg/text.rb', line 96 def cy=(y) @parent.cy = y end |