module Magick::RVG::TextLink

Tspan and Tref shared methods - read/update @cx, @cy in parent Text object. @private

Public Instance Methods

add_primitives(gc) click to toggle source
Calls superclass method
# File lib/rvg/text.rb, line 79
def add_primitives(gc)
  @parent.cx = @x if @x
  @parent.cy = @y if @y
  super
end
cx() click to toggle source
# File lib/rvg/text.rb, line 85
def cx
  @parent.cx
end
cx=(x) click to toggle source
# File lib/rvg/text.rb, line 93
def cx=(x)
  @parent.cx = x
end
cy() click to toggle source
# File lib/rvg/text.rb, line 89
def cy
  @parent.cy
end
cy=(y) click to toggle source
# File lib/rvg/text.rb, line 97
def cy=(y)
  @parent.cy = y
end