Class: CTioga::LineSemiPrimitive

Inherits:
TiogaPrimitiveMaker show all
Includes:
Tioga::FigureConstants
Defined in:
lib/CTioga/elements/tioga_primitives.rb

Overview

A line

Constant Summary

Constants inherited from TiogaPrimitiveMaker

TiogaPrimitiveMaker::Alignment, TiogaPrimitiveMaker::Boolean, TiogaPrimitiveMaker::Color, TiogaPrimitiveMaker::FloatArray, TiogaPrimitiveMaker::Justification, TiogaPrimitiveMaker::LineStyle, TiogaPrimitiveMaker::Marker, TiogaPrimitiveMaker::Number, TiogaPrimitiveMaker::PRIMITIVES, TiogaPrimitiveMaker::Point

Instance Attribute Summary

Attributes inherited from TiogaPrimitiveMaker

#compulsory, #optional, #symbol

Instance Method Summary collapse

Methods inherited from TiogaPrimitiveMaker

#initialize, introspect, #parse_args, parse_spec

Methods included from Debug

#debug_figmaker, #debug_patterns, #debug_puts, #figmaker_options, #test_pattern, #test_pattern_right

Methods included from Log

#identify, #init_logger, #logger, #logger_options, #spawn

Constructor Details

This class inherits a constructor from CTioga::TiogaPrimitiveMaker

Instance Method Details

#make_funcall(args, plotmaker) ⇒ Object



423
424
425
426
427
428
429
430
431
432
433
434
435
436
# File 'lib/CTioga/elements/tioga_primitives.rb', line 423

def make_funcall(args, plotmaker)
  dict = parse_args(args)

  ret = []

  line_dict = dict.dup
  line_dict['head_marker'] ||= "None"
  line_dict['tail_marker'] ||= "None"

  ret << TiogaFuncall.new(:show_arrow, line_dict)
                         
  # And we return the Funcall(s)...
  return ret
end