ReactOS 0.4.15-dev-8145-ga541a46
ftapi.c
Go to the documentation of this file.
1/***************************************************************************/
2/* */
3/* ftapi.c */
4/* */
5/* The FreeType compatibility functions (body). */
6/* */
7/* Copyright 2002-2018 by */
8/* David Turner, Robert Wilhelm, and Werner Lemberg. */
9/* */
10/* This file is part of the FreeType project, and may only be used, */
11/* modified, and distributed under the terms of the FreeType project */
12/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13/* this file you indicate that you have read the license and */
14/* understand and accept it fully. */
15/* */
16/***************************************************************************/
17
18
19#include <ft2build.h>
20#include FT_LIST_H
21#include FT_OUTLINE_H
22#include FT_INTERNAL_OBJECTS_H
23#include FT_INTERNAL_DEBUG_H
24#include FT_INTERNAL_STREAM_H
25#include FT_TRUETYPE_TABLES_H
26#include FT_OUTLINE_H
27
28
29 /*************************************************************************/
30 /*************************************************************************/
31 /*************************************************************************/
32 /**** ****/
33 /**** ****/
34 /**** C O M P A T I B I L I T Y ****/
35 /**** ****/
36 /**** ****/
37 /*************************************************************************/
38 /*************************************************************************/
39 /*************************************************************************/
40
41 /* backward compatibility API */
42
43 FT_BASE_DEF( void )
48 {
50
52 }
53
54
58 {
59 return FT_Stream_Seek( stream, pos );
60 }
61
62
66 {
68 }
69
70
75 {
77 }
78
79
85 {
87 }
88
89
93 FT_Byte** pbytes )
94 {
95 return FT_Stream_ExtractFrame( stream, count, pbytes );
96 }
97
98
99 FT_BASE_DEF( void )
101 FT_Byte** pbytes )
102 {
104 }
105
109 {
111 }
112
113
114 FT_BASE_DEF( void )
116 {
118 }
119
120
121/* END */
FT_Library library
Definition: cffdrivr.c:654
FT_Skip_Stream(FT_Stream stream, FT_Long distance)
Definition: ftapi.c:64
FT_Seek_Stream(FT_Stream stream, FT_ULong pos)
Definition: ftapi.c:56
FT_Forget_Frame(FT_Stream stream)
Definition: ftapi.c:115
FT_Release_Frame(FT_Stream stream, FT_Byte **pbytes)
Definition: ftapi.c:100
FT_Access_Frame(FT_Stream stream, FT_ULong count)
Definition: ftapi.c:107
FT_New_Memory_Stream(FT_Library library, FT_Byte *base, FT_ULong size, FT_Stream stream)
Definition: ftapi.c:44
FT_Extract_Frame(FT_Stream stream, FT_ULong count, FT_Byte **pbytes)
Definition: ftapi.c:91
FT_Read_Stream(FT_Stream stream, FT_Byte *buffer, FT_ULong count)
Definition: ftapi.c:72
FT_Read_Stream_At(FT_Stream stream, FT_ULong pos, FT_Byte *buffer, FT_ULong count)
Definition: ftapi.c:81
#define FT_UNUSED(arg)
Definition: ftconfig.h:101
#define FT_BASE_DEF(x)
Definition: ftconfig.h:419
FT_Stream_ReadAt(FT_Stream stream, FT_ULong pos, FT_Byte *buffer, FT_ULong count)
Definition: ftstream.c:119
FT_Stream_EnterFrame(FT_Stream stream, FT_ULong count)
Definition: ftstream.c:234
FT_Stream_ExtractFrame(FT_Stream stream, FT_ULong count, FT_Byte **pbytes)
Definition: ftstream.c:193
FT_Stream_ExitFrame(FT_Stream stream)
Definition: ftstream.c:314
FT_Stream_Read(FT_Stream stream, FT_Byte *buffer, FT_ULong count)
Definition: ftstream.c:110
FT_Stream_ReleaseFrame(FT_Stream stream, FT_Byte **pbytes)
Definition: ftstream.c:215
FT_Stream_Seek(FT_Stream stream, FT_ULong pos)
Definition: ftstream.c:57
FT_Stream_OpenMemory(FT_Stream stream, const FT_Byte *base, FT_ULong size)
Definition: ftstream.c:35
FT_Stream_Skip(FT_Stream stream, FT_Long distance)
Definition: ftstream.c:92
unsigned long FT_ULong
Definition: fttypes.h:253
unsigned char FT_Byte
Definition: fttypes.h:154
int FT_Error
Definition: fttypes.h:300
signed long FT_Long
Definition: fttypes.h:242
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLsizeiptr size
Definition: glext.h:5919
GLuint buffer
Definition: glext.h:5915
GLsizei GLsizei GLfloat distance
Definition: glext.h:11755
Definition: parse.h:23