コード例 #1
0
    public void SetCurrentTransform(Matrix4x4 matrix)
    {
        EnsureHandleIsValid();
        var pfMatrix = new PFMatrix2x2F(
            matrix.m00,
            matrix.m01,
            matrix.m10,
            matrix.m11
            );
        var pfVector    = new PFVector2F(matrix.m03, matrix.m13);
        var pfTransform = new PFTransform2F(pfMatrix, pfVector);

        PF.PFCanvasSetCurrentTransform(handle, ref pfTransform);
    }