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.17.13 lib/cairo/context.rb
cairo-1.17.12 lib/cairo/context.rb
cairo-1.17.11 lib/cairo/context.rb
cairo-1.17.10 lib/cairo/context.rb
cairo-1.17.9 lib/cairo/context.rb
cairo-1.17.8 lib/cairo/context.rb
cairo-1.17.7 lib/cairo/context.rb
cairo-1.17.6 lib/cairo/context.rb
cairo-1.17.5 lib/cairo/context.rb
cairo-1.17.4 lib/cairo/context.rb
cairo-1.16.6 lib/cairo/context.rb
cairo-1.16.5 lib/cairo/context.rb
cairo-1.16.4 lib/cairo/context.rb
cairo-1.16.3 lib/cairo/context.rb
cairo-1.16.2 lib/cairo/context.rb
cairo-1.16.1-x86-mingw32 lib/cairo/context.rb
cairo-1.16.1-x64-mingw32 lib/cairo/context.rb
cairo-1.16.1 lib/cairo/context.rb
cairo-1.16.0-x86-mingw32 lib/cairo/context.rb
cairo-1.16.0-x64-mingw32 lib/cairo/context.rb