freetype: ziggify C structs #296

Closed
opened 2022-05-24 15:23:08 +00:00 by alichraghi · 0 comments
alichraghi commented 2022-05-24 15:23:08 +00:00 (Migrated from github.com)

some structs bindings is just a reference to the C implementation and you need to refer to the FreeType doc. so must be converted into Zig structs to be more readable
e.g:

pub const Vector = c.FT_Vector;
pub const Matrix = c.FT_Matrix;
pub const Pos = c.FT_Pos;
pub const BBox = c.FT_BBox;
some structs bindings is just a reference to the C implementation and you need to refer to the FreeType doc. so must be converted into Zig structs to be more readable e.g: ```zig pub const Vector = c.FT_Vector; pub const Matrix = c.FT_Matrix; pub const Pos = c.FT_Pos; pub const BBox = c.FT_BBox; ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#296
No description provided.