technical_graph 0.0.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.1.0
@@ -226,7 +226,7 @@ class GraphAxis
226
226
  plot_axis_x_text = Magick::Draw.new
227
227
 
228
228
  plot_axis_x_line.stroke_antialias(axis_antialias)
229
- plot_axis_x_text.text_antialias(axis_antialias)
229
+ plot_axis_x_text.text_antialias(image_drawer.font_antialias)
230
230
 
231
231
  plot_axis_x_line.fill_opacity(0)
232
232
  plot_axis_x_line.stroke(options[:axis_color])
@@ -262,7 +262,7 @@ class GraphAxis
262
262
  def render_axis_labels
263
263
  if options[:x_axis_label].to_s.size > 0
264
264
  plot_axis_text = Magick::Draw.new
265
- plot_axis_text.text_antialias(axis_antialias)
265
+ plot_axis_text.text_antialias(image_drawer.font_antialias)
266
266
 
267
267
  plot_axis_text.pointsize(options[:axis_label_font_size])
268
268
  plot_axis_text.font_family('helvetica')
@@ -280,7 +280,7 @@ class GraphAxis
280
280
 
281
281
  if options[:y_axis_label].to_s.size > 0
282
282
  plot_axis_text = Magick::Draw.new
283
- plot_axis_text.text_antialias(axis_antialias)
283
+ plot_axis_text.text_antialias(image_drawer.font_antialias)
284
284
 
285
285
  plot_axis_text.pointsize(options[:axis_label_font_size])
286
286
  plot_axis_text.font_family('helvetica')
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{technical_graph}
8
- s.version = "0.0.3"
8
+ s.version = "0.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Aleksander Kwiatkowski"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: technical_graph
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 3
10
- version: 0.0.3
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aleksander Kwiatkowski