mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-06 01:46:33 +00:00
pkg/macos: implement CTRun
This commit is contained in:
@@ -49,6 +49,10 @@ pub const Line = opaque {
|
||||
leading,
|
||||
);
|
||||
}
|
||||
|
||||
pub fn getGlyphRuns(self: *Line) *foundation.Array {
|
||||
return @ptrCast(c.CTLineGetGlyphRuns(@ptrCast(self)));
|
||||
}
|
||||
};
|
||||
|
||||
pub const LineBoundsOptions = packed struct {
|
||||
|
Reference in New Issue
Block a user