public function apply(float $x, float $y) : array
    {
        return [
            $x * $this->values[0] + $y * $this->values[2] + $this->values[4],
            $x * $this->values[2] + $x * $this->values[3] + $this->values[5],
        ];
    }
public function apply(float $x, float $y) : array
    {
        return [
            $x * $this->values[0] + $y * $this->values[2] + $this->values[4],
            $x * $this->values[2] + $x * $this->values[3] + $this->values[5],
        ];
    }
public function apply ( float $ x , float $ y ) : array { return [ $ x * $ this -> values [ 0 ] + $ y * $ this -> values [ 2 ] + $ this -> values [ 4 ] , $ x * $ this -> values [ 2 ] + $ x * $ this -> values [ 3 ] + $ this -> values [ 5 ] , ] ; }
Applies this matrix onto a point and returns the resulting viewport point.

@return float[]
Applies this matrix onto a point and returns the resulting viewport point .