class
UIng::Area::Draw::ImageBufferParams
- UIng::Area::Draw::ImageBufferParams
- Reference
- Object
Overview
Wraps uiDrawImageBufferParams. Source geometry is in integer pixels; destination geometry is in user coordinates. The native Size is managed automatically. Reuse this object when drawing the same region repeatedly.
Included Modules
- UIng::BlockConstructor
Defined in:
uing/area/draw/image_buffer_params.crConstructors
- .new(*args, &)
- .new(*args, **kwargs, &)
- .new(*, source_x : Int32, source_y : Int32, source_width : Int32, source_height : Int32, x : Number, y : Number, width : Number, height : Number, interpolation : ImageBuffer::Interpolation = ImageBuffer::Interpolation::Smooth)
Instance Method Summary
- #height : Float64
- #height=(value : Number)
- #interpolation : ImageBuffer::Interpolation
- #interpolation=(value : ImageBuffer::Interpolation)
- #source_height : Int32
- #source_height=(value : Int32)
- #source_width : Int32
- #source_width=(value : Int32)
- #source_x : Int32
- #source_x=(value : Int32)
- #source_y : Int32
- #source_y=(value : Int32)
- #to_unsafe : Pointer(LibUI::DrawImageBufferParams)
- #width : Float64
- #width=(value : Number)
- #x : Float64
- #x=(value : Number)
- #y : Float64
- #y=(value : Number)
Macros inherited from module UIng::BlockConstructor
block_constructor
block_constructor
Constructor Detail
def self.new(*, source_x : Int32, source_y : Int32, source_width : Int32, source_height : Int32, x : Number, y : Number, width : Number, height : Number, interpolation : ImageBuffer::Interpolation = ImageBuffer::Interpolation::Smooth)
#