lib/ctioga2/graphics/elements/region.rb in ctioga2-0.10 vs lib/ctioga2/graphics/elements/region.rb in ctioga2-0.10.1

- old
+ new

@@ -39,10 +39,11 @@ attr_accessor :reversed_fill_style # Creates a new empty region def initialize(parent = nil, root = nil) @parent = parent + @clipped = true # clipped by default ! # elements to be given to tioga @curves = [] @root_object = root @@ -83,10 +84,10 @@ # \todo: enable to do positive and negative. The only thing to # do is to swap above for below and call again. def real_do(t) # This function will be called with the proper figure # coordinates. - + if @fill_style.color t.context do @fill_style.setup_fill(t) prepare_path(t) @fill_style.do_fill(t)