freetype2/src/psaux/psconv.h

71 lines
1.7 KiB
C
Raw Permalink Normal View History

/****************************************************************************
*
* psconv.h
*
* Some convenience conversions (specification).
*
2024-01-27 17:11:22 +01:00
* Copyright (C) 2006-2024 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
*/
#ifndef PSCONV_H_
#define PSCONV_H_
#include <freetype/internal/psaux.h>
FT_BEGIN_HEADER
FT_LOCAL( FT_Long )
PS_Conv_Strtol( FT_Byte** cursor,
FT_Byte* limit,
FT_Long base );
FT_LOCAL( FT_Long )
PS_Conv_ToInt( FT_Byte** cursor,
FT_Byte* limit );
FT_LOCAL( FT_Fixed )
PS_Conv_ToFixed( FT_Byte** cursor,
FT_Byte* limit,
FT_Long power_ten );
#if 0
FT_LOCAL( FT_UInt )
PS_Conv_StringDecode( FT_Byte** cursor,
FT_Byte* limit,
FT_Byte* buffer,
FT_Offset n );
#endif
FT_LOCAL( FT_UInt )
PS_Conv_ASCIIHexDecode( FT_Byte** cursor,
FT_Byte* limit,
FT_Byte* buffer,
FT_Offset n );
FT_LOCAL( FT_UInt )
2006-01-16 23:35:33 +01:00
PS_Conv_EexecDecode( FT_Byte** cursor,
FT_Byte* limit,
FT_Byte* buffer,
FT_Offset n,
2006-01-16 23:35:33 +01:00
FT_UShort* seed );
FT_END_HEADER
#endif /* PSCONV_H_ */
/* END */