From 2b325e9c4bf666c02cfb84562761f41dd47c92c4 Mon Sep 17 00:00:00 2001 From: Ali Chraghi <63465728+alichraghi@users.noreply.github.com> Date: Tue, 14 Jun 2022 02:06:31 +0430 Subject: [PATCH] freetype: rename `OutlineFuncs*` to `Funcs*` --- examples/gkurve/resizable_label.zig | 2 +- freetype/examples/glyph-to-svg.zig | 2 +- freetype/src/freetype/Outline.zig | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/gkurve/resizable_label.zig b/examples/gkurve/resizable_label.zig index 2ed9789e..1b69f864 100644 --- a/examples/gkurve/resizable_label.zig +++ b/examples/gkurve/resizable_label.zig @@ -159,7 +159,7 @@ fn write(ctx: WriterContext, bytes: []const u8) WriterError!usize { defer outline_ctx.concave_vertices.deinit(); defer outline_ctx.convex_vertices.deinit(); - const callbacks = ft.Outline.OutlineFuncs(*OutlineContext){ + const callbacks = ft.Outline.Funcs(*OutlineContext){ .move_to = moveToFunction, .line_to = lineToFunction, .conic_to = conicToFunction, diff --git a/freetype/examples/glyph-to-svg.zig b/freetype/examples/glyph-to-svg.zig index 637114a4..6bb9e002 100644 --- a/freetype/examples/glyph-to-svg.zig +++ b/freetype/examples/glyph-to-svg.zig @@ -53,7 +53,7 @@ const OutlinePrinter = struct { pub fn extractOutline(self: *Self) !void { try self.path_stream.writer().writeAll("