Declaration

func save(
    to file: UnsafeMutablePointer<FILE>,
    format formatVersion: GSFormatVersion,
    context: GSSaveContext
) throws

Declaration

- (BOOL) saveToFile:(FILE *) file
             format:(GSFormatVersion) formatVersion
            context:(GSSaveContext *) context
              error:(NSError **) error;

Declaration

saveToFile_format_context_error_(
    file: FILE,
    formatVersion: GSFormatVersion,
    context: GSSaveContext
) -> tuple[bool, NSError]

Parameters

file

The open file to which to write.

formatVersion

The Glyphs file format version to use.

context

The context shared by the enclosing save operation.

Parameters

file

The open file to which to write.

formatVersion

The Glyphs file format version to use.

context

The context shared by the enclosing save operation.

error

On failure, information about the error.

Return Value

Whether the layer was written.

See Also

Encoding