Class: Idml::Render::Renderers::PathRenderer
- Inherits:
-
Object
- Object
- Idml::Render::Renderers::PathRenderer
- Defined in:
- lib/idml/render/renderers/path_renderer.rb
Overview
Renders an IDML Path (standalone compound path) on a Pdfrb::Content::Canvas as its actual Bézier contours — one subpath per GeometryPathType, closed or open per PathOpen. Falls back to the bounding-box rectangle when the item carries no geometry.
Class Method Summary collapse
Class Method Details
.render(canvas, context) ⇒ Object
12 13 14 |
# File 'lib/idml/render/renderers/path_renderer.rb', line 12 def self.render(canvas, context) Contour.render(canvas, context) end |