class UIng::Area::Draw::Matrix

Included Modules

Defined in:

uing/area/area/draw/matrix.cr

Constructors

Instance Method Summary

Macros inherited from module UIng::BlockConstructor

block_constructor block_constructor

Constructor Detail

def self.new(*args, &) #

[View source]
def self.new(*args, **kwargs, &) #

[View source]
def self.new(cstruct : LibUI::DrawMatrix = LibUI::DrawMatrix.new) #

[View source]

Instance Method Detail

def invert : Bool #

[View source]
def invertible? : Bool #

[View source]
def multiply(src : Matrix) : Nil #

[View source]
def rotate(x : Float64, y : Float64, amount : Float64) : Nil #

[View source]
def scale(x_center : Float64, y_center : Float64, x : Float64, y : Float64) : Nil #

[View source]
def set_identity : Nil #

[View source]
def skew(x : Float64, y : Float64, x_amount : Float64, y_amount : Float64) : Nil #

[View source]
def to_unsafe #

[View source]
def transform_point(x : Float64, y : Float64) : Tuple(Float64, Float64) #

[View source]
def transform_size(x : Float64, y : Float64) : Tuple(Float64, Float64) #

[View source]
def translate(x : Float64, y : Float64) : Nil #

[View source]