Sha256: a6d9647debfcc457631df62acf138ff29cbe5ee08ad76649187b01cdd9c1c8bd
Contents?: true
Size: 483 Bytes
Versions: 1
Compression:
Stored size: 483 Bytes
Contents
# frozen_string_literal: true # # based on the cairo curve_to example # http://www.cairographics.org/samples/curve_to/ # Shoes.app do x = 25.6 y = 128.0 x1 = 102.4 y1 = 230.4 x2 = 153.6 y2 = 25.6 x3 = 230.4 y3 = 128.0 nofill strokewidth 10.0 shape do move_to x, y curve_to x1, y1, x2, y2, x3, y3 end strokewidth 6.0 stroke rgb(1.0, 0.2, 0.2, 0.6) shape do move_to x, y line_to x1, y1 move_to x2, y2 line_to x3, y3 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-4.0.0.pre12 | samples/simple_curve.rb |