Sha256: 66845dcb535dad140f376bfec9e9d83b338c0f97c4c64693d4d643451e59e16a

Contents?: true

Size: 536 Bytes

Versions: 135

Compression:

Stored size: 536 Bytes

Contents

require 'cairo/context/rectangle'
require 'cairo/context/triangle'
require 'cairo/context/circle'
require 'cairo/context/path'
require 'cairo/context/blur'
require 'cairo/context/color'

module Cairo
  class Context
    include Rectangle
    include Triangle
    include Circle
    include Path
    include Blur
    include Color

    def stroke_preserve(&block)
      stroke(true, &block)
    end

    def fill_preserve(&block)
      fill(true, &block)
    end

    def clip_preserve(&block)
      clip(true, &block)
    end
  end
end

Version data entries

135 entries across 127 versions & 2 rubygems

Version Path
cairo-1.15.8-x64-mingw32 lib/cairo/context.rb
cairo-1.15.8 lib/cairo/context.rb
cairo-1.15.7-x64-mingw32 lib/cairo/context.rb
cairo-1.15.7-x86-mingw32 lib/cairo/context.rb
cairo-1.15.7 lib/cairo/context.rb
cairo-1.15.6-x86-mingw32 lib/cairo/context.rb
cairo-1.15.6-x64-mingw32 lib/cairo/context.rb
cairo-1.15.6 lib/cairo/context.rb
savant-echo-1.0.4 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/context.rb
savant-echo-1.0.4 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/context.rb
cairo-1.15.5-x64-mingw32 lib/cairo/context.rb
cairo-1.15.5-x86-mingw32 lib/cairo/context.rb
cairo-1.15.5 lib/cairo/context.rb
savant-echo-1.0.1 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/context.rb
savant-echo-1.0.1 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/context.rb
cairo-1.15.4-x86-mingw32 lib/cairo/context.rb
cairo-1.15.4-x64-mingw32 lib/cairo/context.rb
savant-echo-0.1.91 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/context.rb
savant-echo-0.1.91 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/context.rb
cairo-1.15.4 lib/cairo/context.rb