Skip to content

armgit / herdr

Public Imported from GitHub
0

the runtime your coding agents live on

350 B
Raw Blame
const std = @import("std");
const assert = std.debug.assert;
const c = @import("c.zig").c;

pub const AffineTransform = extern struct {
    a: c.CGFloat,
    b: c.CGFloat,
    c: c.CGFloat,
    d: c.CGFloat,
    tx: c.CGFloat,
    ty: c.CGFloat,

    pub fn identity() AffineTransform {
        return @bitCast(c.CGAffineTransformIdentity);
    }
};