@ -1,6 +1,9 @@
require 'squib/constants'
module Squib
#@api private
module Args
# Internal class for handling arguments
class Typographer
def initialize(config = Conf::DEFAULTS)
@ -4,6 +4,7 @@ require 'squib/graphics/gradient_regex'
module Graphics
# Wrapper class for the Cairo context. Private.
# @api private
class CairoContextWrapper
extend Forwardable
@ -1,4 +1,5 @@
STOPS = / # used to capture the stops
\s* # leading whitespace is ok
class Card
# :nodoc:
@ -125,6 +126,8 @@ module Squib
end
def polygon(x, y, n, angle, radius, fill_color, stroke_color, stroke_width)
use_cairo do |cc|
cc.translate(x, y)