mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
pkg/freetype: remove unused API
This commit is contained in:
@ -1,23 +0,0 @@
|
||||
const std = @import("std");
|
||||
const c = @import("c.zig");
|
||||
const freetype = @import("main.zig");
|
||||
const errors = @import("errors.zig");
|
||||
const Error = errors.Error;
|
||||
const intToError = errors.intToError;
|
||||
|
||||
/// Convert a bitmap object with depth 1bpp, 2bpp, 4bpp, 8bpp or 32bpp to a
|
||||
/// bitmap object with depth 8bpp, making the number of used bytes per line
|
||||
/// (a.k.a. the ‘pitch’) a multiple of alignment.
|
||||
pub fn bitmapConvert(
|
||||
lib: freetype.Library,
|
||||
source: *const c.FT_Bitmap,
|
||||
target: *c.FT_Bitmap,
|
||||
alignment: u32,
|
||||
) Error!void {
|
||||
try intToError(c.FT_Bitmap_Convert(
|
||||
lib.handle,
|
||||
source,
|
||||
target,
|
||||
alignment,
|
||||
));
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
pub const c = @import("c.zig");
|
||||
pub const testing = @import("test.zig");
|
||||
pub const Library = @import("Library.zig");
|
||||
pub usingnamespace @import("bitmap.zig");
|
||||
pub usingnamespace @import("computations.zig");
|
||||
pub usingnamespace @import("errors.zig");
|
||||
pub usingnamespace @import("face.zig");
|
||||
|
Reference in New Issue
Block a user