File: angle45.rb

package info (click to toggle)
ruby-vips 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,164 kB
  • sloc: ruby: 3,530; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Vips
  # Various fixed 45 degree rotation angles. See {Image#rot45}.
  #
  # * `:d0` no rotate
  # * `:d45` 45 degrees clockwise
  # * `:d90` 90 degrees clockwise
  # * `:d135` 135 degrees clockwise
  # * `:d180` 180 degrees
  # * `:d225` 135 degrees anti-clockwise
  # * `:d270` 90 degrees anti-clockwise
  # * `:d315` 45 degrees anti-clockwise

  class Angle45 < Symbol
  end
end