Arie/serveme

View on GitHub
sorbet/rbi/gems/oily_png@1.2.1.rbi

Summary

Maintainability
Test Coverage
# typed: true

# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `oily_png` gem.
# Please instead update this file by running `bin/tapioca gem oily_png`.


module ChunkyPNG
  include ::OilyPNG
end

class ChunkyPNG::Canvas
  include ::OilyPNG::PNGEncoding
  include ::OilyPNG::Resampling
  include ::OilyPNG::Operations
  extend ::OilyPNG::PNGDecoding
end

module ChunkyPNG::Color
  include ::OilyPNG::Color
  extend ::OilyPNG::Color
end

# source://oily_png//lib/oily_png.rb#3
module OilyPNG
  class << self
    # @private
    #
    # source://oily_png//lib/oily_png.rb#4
    def included(base); end
  end
end

# source://oily_png//lib/oily_png/canvas.rb#5
class OilyPNG::Canvas < ::ChunkyPNG::Canvas; end

# source://oily_png//lib/oily_png/canvas.rb#12
module OilyPNG::Color
  extend ::OilyPNG::Color

  def a(_arg0); end
  def b(_arg0); end
  def compose_quick(_arg0, _arg1); end
  def euclidean_distance_rgba(_arg0, _arg1); end
  def g(_arg0); end
  def r(_arg0); end
end

module OilyPNG::Operations
  def compose!(*_arg0); end
  def replace!(*_arg0); end
  def rotate_left!; end
  def rotate_right!; end
end

module OilyPNG::PNGDecoding
  def decode_png_image_pass(_arg0, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6); end
end

module OilyPNG::PNGEncoding
  def encode_png_image_pass_to_stream(_arg0, _arg1, _arg2, _arg3); end
end

module OilyPNG::Resampling
  def resample_bilinear!(_arg0, _arg1); end
  def resample_nearest_neighbor!(_arg0, _arg1); end

  private

  def steps(_arg0, _arg1); end
  def steps_residues(_arg0, _arg1); end
end

# source://oily_png//lib/oily_png/version.rb#2
OilyPNG::VERSION = T.let(T.unsafe(nil), String)