Module: Sevgi::Graphics

Extended by:
Graphics
Included in:
Graphics
Defined in:
lib/sevgi/graphics.rb,
lib/sevgi/graphics/element.rb,
lib/sevgi/graphics/version.rb,
lib/sevgi/graphics/attribute.rb,
lib/sevgi/graphics/mixtures/rdf.rb,
lib/sevgi/graphics/document/base.rb,
lib/sevgi/graphics/document/html.rb,
lib/sevgi/graphics/mixtures/call.rb,
lib/sevgi/graphics/mixtures/core.rb,
lib/sevgi/graphics/mixtures/lint.rb,
lib/sevgi/graphics/mixtures/save.rb,
lib/sevgi/graphics/auxilary/canvas.rb,
lib/sevgi/graphics/mixtures/render.rb,
lib/sevgi/graphics/auxilary/content.rb,
lib/sevgi/graphics/auxilary/profile.rb,
lib/sevgi/graphics/document/default.rb,
lib/sevgi/graphics/document/minimal.rb,
lib/sevgi/graphics/document/inkscape.rb,
lib/sevgi/graphics/mixtures/identify.rb,
lib/sevgi/graphics/mixtures/inkscape.rb,
lib/sevgi/graphics/mixtures/validate.rb,
lib/sevgi/graphics/mixtures/wrappers.rb,
lib/sevgi/graphics/mixtures/duplicate.rb,
lib/sevgi/graphics/mixtures/polyfills.rb,
lib/sevgi/graphics/mixtures/replicate.rb,
lib/sevgi/graphics/mixtures/transform.rb,
lib/sevgi/graphics/mixtures/underscore.rb

Defined Under Namespace

Modules: Attribute, Document, Mixtures Classes: Canvas, Content, Element, Profile

Constant Summary collapse

VERSION =
"0.1.0"
Attributes =
Attribute::Store
LintError =
Class.new(Error)

Instance Method Summary collapse

Instance Method Details

#CanvasObject



15
16
17
# File 'lib/sevgi/graphics.rb', line 15

def Canvas(...)
  Graphics::Canvas.(...)
end

#SVG(document = :default, canvas = nil, &block) ⇒ Object



19
20
21
# File 'lib/sevgi/graphics.rb', line 19

def SVG(document = :default, canvas = nil, **, &block)
  Graphics::Profile.(document, canvas, **, &block)
end