Class: Wx::ImageResizeQuality

Inherits:
Enum
  • Object
show all
Defined in:
lib/wx/doc/gen/image.rb

Overview

Image resize algorithm.

This is used with Wx::Image#scale and Wx::Image#rescale.

Requires:

  • USE_IMAGE

Constant Summary collapse

IMAGE_QUALITY_NEAREST =

Simplest and fastest algorithm.

Wx::ImageResizeQuality.new(0)
IMAGE_QUALITY_BILINEAR =
Wx::ImageResizeQuality.new(1)
IMAGE_QUALITY_BICUBIC =

Highest quality but slowest execution time.

Wx::ImageResizeQuality.new(2)
IMAGE_QUALITY_BOX_AVERAGE =

Use surrounding pixels to calculate an average that will be used for new pixels.

Wx::ImageResizeQuality.new(3)
IMAGE_QUALITY_NORMAL =

Default image resizing algorithm used by Wx::Image#scale.

Wx::ImageResizeQuality.new(0)
IMAGE_QUALITY_HIGH =

Best image resizing algorithm.

Wx::ImageResizeQuality.new(4)

Method Summary

Methods inherited from Enum

#!, #&, #<=>, [], #allbits?, #anybits?, #coerce, enumerators, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, non_distinct, #real?, set_non_distinct, #succ, #to_int, #to_s, #|, #~

Constructor Details

This class inherits a constructor from Wx::Enum

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Wx::Enum