freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] API documentation: Re-organize chapters


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] API documentation: Re-organize chapters and sections
Date: Sun, 30 Apr 2023 14:42:46 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

  • 77bbfc59
    by Werner Lemberg at 2023-04-30T14:42:11+00:00
    API documentation: Re-organize chapters and sections
    
    * Split the very long 'Base Interface' section into smaller sections.
    * Split the 'Core API' chapter into two chapters.
    * Remove single enumeration values from `@order` fields since they have no
      effect.
    

2 changed files:

Changes:

  • include/freetype/freetype.h
    ... ... @@ -102,61 +102,25 @@ FT_BEGIN_HEADER
    102 102
        */
    
    103 103
     
    
    104 104
     
    
    105
    -
    
    106
    -  /*************************************************************************/
    
    107
    -  /*************************************************************************/
    
    108
    -  /*                                                                       */
    
    109
    -  /*                        B A S I C   T Y P E S                          */
    
    110
    -  /*                                                                       */
    
    111
    -  /*************************************************************************/
    
    112
    -  /*************************************************************************/
    
    113
    -
    
    114
    -
    
    115 105
       /**************************************************************************
    
    116 106
        *
    
    117 107
        * @section:
    
    118
    -   *   base_interface
    
    108
    +   *   font_testing_macros
    
    119 109
        *
    
    120 110
        * @title:
    
    121
    -   *   Base Interface
    
    111
    +   *   Font Testing Macros
    
    122 112
        *
    
    123 113
        * @abstract:
    
    124
    -   *   The FreeType~2 base font interface.
    
    114
    +   *   Macros to test various properties of fonts.
    
    125 115
        *
    
    126 116
        * @description:
    
    127
    -   *   This section describes the most important public high-level API
    
    128
    -   *   functions of FreeType~2.
    
    117
    +   *   Macros to test the most important font properties.
    
    129 118
        *
    
    130
    -   * @order:
    
    131
    -   *   FT_Library
    
    132
    -   *   FT_Face
    
    133
    -   *   FT_Size
    
    134
    -   *   FT_GlyphSlot
    
    135
    -   *   FT_CharMap
    
    136
    -   *   FT_Encoding
    
    137
    -   *   FT_ENC_TAG
    
    138
    -   *
    
    139
    -   *   FT_FaceRec
    
    140
    -   *
    
    141
    -   *   FT_FACE_FLAG_SCALABLE
    
    142
    -   *   FT_FACE_FLAG_FIXED_SIZES
    
    143
    -   *   FT_FACE_FLAG_FIXED_WIDTH
    
    144
    -   *   FT_FACE_FLAG_HORIZONTAL
    
    145
    -   *   FT_FACE_FLAG_VERTICAL
    
    146
    -   *   FT_FACE_FLAG_COLOR
    
    147
    -   *   FT_FACE_FLAG_SFNT
    
    148
    -   *   FT_FACE_FLAG_CID_KEYED
    
    149
    -   *   FT_FACE_FLAG_TRICKY
    
    150
    -   *   FT_FACE_FLAG_KERNING
    
    151
    -   *   FT_FACE_FLAG_MULTIPLE_MASTERS
    
    152
    -   *   FT_FACE_FLAG_VARIATION
    
    153
    -   *   FT_FACE_FLAG_GLYPH_NAMES
    
    154
    -   *   FT_FACE_FLAG_EXTERNAL_STREAM
    
    155
    -   *   FT_FACE_FLAG_HINTER
    
    156
    -   *   FT_FACE_FLAG_SVG
    
    157
    -   *   FT_FACE_FLAG_SBIX
    
    158
    -   *   FT_FACE_FLAG_SBIX_OVERLAY
    
    119
    +   *   It is recommended to use these high-level macros instead of directly
    
    120
    +   *   testing the corresponding flags, which are scattered over various
    
    121
    +   *   structures.
    
    159 122
        *
    
    123
    +   * @order:
    
    160 124
        *   FT_HAS_HORIZONTAL
    
    161 125
        *   FT_HAS_VERTICAL
    
    162 126
        *   FT_HAS_KERNING
    
    ... ... @@ -176,21 +140,59 @@ FT_BEGIN_HEADER
    176 140
        *   FT_IS_NAMED_INSTANCE
    
    177 141
        *   FT_IS_VARIATION
    
    178 142
        *
    
    179
    -   *   FT_STYLE_FLAG_BOLD
    
    180
    -   *   FT_STYLE_FLAG_ITALIC
    
    143
    +   */
    
    144
    +
    
    145
    +
    
    146
    +  /**************************************************************************
    
    147
    +   *
    
    148
    +   * @section:
    
    149
    +   *   library_setup
    
    181 150
        *
    
    182
    -   *   FT_SizeRec
    
    183
    -   *   FT_Size_Metrics
    
    151
    +   * @title:
    
    152
    +   *   Library Setup
    
    184 153
        *
    
    185
    -   *   FT_GlyphSlotRec
    
    186
    -   *   FT_Glyph_Metrics
    
    187
    -   *   FT_SubGlyph
    
    154
    +   * @abstract:
    
    155
    +   *   Functions to start and end the usage of the FreeType library.
    
    188 156
        *
    
    189
    -   *   FT_Bitmap_Size
    
    157
    +   * @description:
    
    158
    +   *   Functions to start and end the usage of the FreeType library.
    
    159
    +   *
    
    160
    +   *   Note that @FT_Library_Version and @FREETYPE_XXX are of limited use
    
    161
    +   *   because even a new release of FreeType with only documentation
    
    162
    +   *   changes increases the version number.
    
    190 163
        *
    
    164
    +   * @order:
    
    165
    +   *   FT_Library
    
    191 166
        *   FT_Init_FreeType
    
    192 167
        *   FT_Done_FreeType
    
    193 168
        *
    
    169
    +   *   FT_Library_Version
    
    170
    +   *   FREETYPE_XXX
    
    171
    +   *
    
    172
    +   */
    
    173
    +
    
    174
    +
    
    175
    +  /**************************************************************************
    
    176
    +   *
    
    177
    +   * @section:
    
    178
    +   *   face_creation
    
    179
    +   *
    
    180
    +   * @title:
    
    181
    +   *   Face Creation
    
    182
    +   *
    
    183
    +   * @abstract:
    
    184
    +   *   Functions to manage fonts.
    
    185
    +   *
    
    186
    +   * @description:
    
    187
    +   *   The functions and structures collected in this section operate on
    
    188
    +   *   fonts globally.
    
    189
    +   *
    
    190
    +   * @order:
    
    191
    +   *   FT_Face
    
    192
    +   *   FT_FaceRec
    
    193
    +   *   FT_FACE_FLAG_XXX
    
    194
    +   *   FT_STYLE_FLAG_XXX
    
    195
    +   *
    
    194 196
        *   FT_New_Face
    
    195 197
        *   FT_Done_Face
    
    196 198
        *   FT_Reference_Face
    
    ... ... @@ -198,10 +200,36 @@ FT_BEGIN_HEADER
    198 200
        *   FT_Face_Properties
    
    199 201
        *   FT_Open_Face
    
    200 202
        *   FT_Open_Args
    
    203
    +   *   FT_OPEN_XXX
    
    201 204
        *   FT_Parameter
    
    202 205
        *   FT_Attach_File
    
    203 206
        *   FT_Attach_Stream
    
    204 207
        *
    
    208
    +   */
    
    209
    +
    
    210
    +
    
    211
    +  /**************************************************************************
    
    212
    +   *
    
    213
    +   * @section:
    
    214
    +   *   sizing_and_scaling
    
    215
    +   *
    
    216
    +   * @title:
    
    217
    +   *   Sizing and Scaling
    
    218
    +   *
    
    219
    +   * @abstract:
    
    220
    +   *   Functions to manage font sizes.
    
    221
    +   *
    
    222
    +   * @description:
    
    223
    +   *   The functions and structures collected in this section are related to
    
    224
    +   *   selecting and manipulating the size of a font globally.
    
    225
    +   *
    
    226
    +   * @order:
    
    227
    +   *   FT_Size
    
    228
    +   *   FT_SizeRec
    
    229
    +   *   FT_Size_Metrics
    
    230
    +   *
    
    231
    +   *   FT_Bitmap_Size
    
    232
    +   *
    
    205 233
        *   FT_Set_Char_Size
    
    206 234
        *   FT_Set_Pixel_Sizes
    
    207 235
        *   FT_Request_Size
    
    ... ... @@ -209,44 +237,37 @@ FT_BEGIN_HEADER
    209 237
        *   FT_Size_Request_Type
    
    210 238
        *   FT_Size_RequestRec
    
    211 239
        *   FT_Size_Request
    
    240
    +   *
    
    212 241
        *   FT_Set_Transform
    
    213 242
        *   FT_Get_Transform
    
    214
    -   *   FT_Load_Glyph
    
    215
    -   *   FT_Get_Char_Index
    
    216
    -   *   FT_Get_First_Char
    
    217
    -   *   FT_Get_Next_Char
    
    218
    -   *   FT_Load_Char
    
    219 243
        *
    
    220
    -   *   FT_OPEN_MEMORY
    
    221
    -   *   FT_OPEN_STREAM
    
    222
    -   *   FT_OPEN_PATHNAME
    
    223
    -   *   FT_OPEN_DRIVER
    
    224
    -   *   FT_OPEN_PARAMS
    
    225
    -   *
    
    226
    -   *   FT_LOAD_DEFAULT
    
    227
    -   *   FT_LOAD_RENDER
    
    228
    -   *   FT_LOAD_MONOCHROME
    
    229
    -   *   FT_LOAD_LINEAR_DESIGN
    
    230
    -   *   FT_LOAD_NO_SCALE
    
    231
    -   *   FT_LOAD_NO_HINTING
    
    232
    -   *   FT_LOAD_NO_BITMAP
    
    233
    -   *   FT_LOAD_SBITS_ONLY
    
    234
    -   *   FT_LOAD_NO_AUTOHINT
    
    235
    -   *   FT_LOAD_COLOR
    
    236
    -   *
    
    237
    -   *   FT_LOAD_VERTICAL_LAYOUT
    
    238
    -   *   FT_LOAD_IGNORE_TRANSFORM
    
    239
    -   *   FT_LOAD_FORCE_AUTOHINT
    
    240
    -   *   FT_LOAD_NO_RECURSE
    
    241
    -   *   FT_LOAD_PEDANTIC
    
    242
    -   *
    
    243
    -   *   FT_LOAD_TARGET_NORMAL
    
    244
    -   *   FT_LOAD_TARGET_LIGHT
    
    245
    -   *   FT_LOAD_TARGET_MONO
    
    246
    -   *   FT_LOAD_TARGET_LCD
    
    247
    -   *   FT_LOAD_TARGET_LCD_V
    
    244
    +   */
    
    245
    +
    
    246
    +
    
    247
    +  /**************************************************************************
    
    248
    +   *
    
    249
    +   * @section:
    
    250
    +   *   glyph_retrieval
    
    251
    +   *
    
    252
    +   * @title:
    
    253
    +   *   Glyph Retrieval
    
    254
    +   *
    
    255
    +   * @abstract:
    
    256
    +   *   Functions to manage glyphs.
    
    257
    +   *
    
    258
    +   * @description:
    
    259
    +   *   The functions and structures collected in this section operate on
    
    260
    +   *   single glyphs, of which @FT_Load_Glyph is most important.
    
    248 261
        *
    
    262
    +   * @order:
    
    263
    +   *   FT_GlyphSlot
    
    264
    +   *   FT_GlyphSlotRec
    
    265
    +   *   FT_Glyph_Metrics
    
    266
    +   *
    
    267
    +   *   FT_Load_Glyph
    
    268
    +   *   FT_LOAD_XXX
    
    249 269
        *   FT_LOAD_TARGET_MODE
    
    270
    +   *   FT_LOAD_TARGET_XXX
    
    250 271
        *
    
    251 272
        *   FT_Render_Glyph
    
    252 273
        *   FT_Render_Mode
    
    ... ... @@ -254,34 +275,121 @@ FT_BEGIN_HEADER
    254 275
        *   FT_Kerning_Mode
    
    255 276
        *   FT_Get_Track_Kerning
    
    256 277
        *
    
    278
    +   */
    
    279
    +
    
    280
    +
    
    281
    +  /**************************************************************************
    
    282
    +   *
    
    283
    +   * @section:
    
    284
    +   *   character_mapping
    
    285
    +   *
    
    286
    +   * @title:
    
    287
    +   *   Character Mapping
    
    288
    +   *
    
    289
    +   * @abstract:
    
    290
    +   *   Functions to manage character-to-glyph maps.
    
    291
    +   *
    
    292
    +   * @description:
    
    293
    +   *   This section holds functions and structures that are related to
    
    294
    +   *   mapping character input codes to glyph indices.
    
    295
    +   *
    
    296
    +   *   Note that for many scripts the simplistic approach used by FreeType
    
    297
    +   *   of mapping a single character to a single glyph is not valid or
    
    298
    +   *   possible!  In general, a higher-level library like HarfBuzz or ICU
    
    299
    +   *   should be used for handling text strings.
    
    300
    +   *
    
    301
    +   * @order:
    
    302
    +   *   FT_CharMap
    
    257 303
        *   FT_CharMapRec
    
    304
    +   *   FT_Encoding
    
    305
    +   *   FT_ENC_TAG
    
    306
    +   *
    
    258 307
        *   FT_Select_Charmap
    
    259 308
        *   FT_Set_Charmap
    
    260 309
        *   FT_Get_Charmap_Index
    
    261 310
        *
    
    311
    +   *   FT_Get_Char_Index
    
    312
    +   *   FT_Get_First_Char
    
    313
    +   *   FT_Get_Next_Char
    
    314
    +   *   FT_Load_Char
    
    315
    +   *
    
    316
    +   */
    
    317
    +
    
    318
    +
    
    319
    +  /**************************************************************************
    
    320
    +   *
    
    321
    +   * @section:
    
    322
    +   *   information_retrieval
    
    323
    +   *
    
    324
    +   * @title:
    
    325
    +   *   Information Retrieval
    
    326
    +   *
    
    327
    +   * @abstract:
    
    328
    +   *   Functions to retrieve font and glyph information.
    
    329
    +   *
    
    330
    +   * @description:
    
    331
    +   *   Functions to retrieve font and glyph information.  Only some very
    
    332
    +   *   basic data is covered; see also the chapter on the format-specific
    
    333
    +   *   API for more.
    
    334
    +   *
    
    335
    +   *
    
    336
    +   * @order:
    
    262 337
        *   FT_Get_Name_Index
    
    263 338
        *   FT_Get_Glyph_Name
    
    264 339
        *   FT_Get_Postscript_Name
    
    265 340
        *   FT_Get_FSType_Flags
    
    341
    +   *   FT_FSTYPE_XXX
    
    266 342
        *   FT_Get_SubGlyph_Info
    
    343
    +   *   FT_SUBGLYPH_FLAG_XXX
    
    344
    +   *
    
    345
    +   */
    
    346
    +
    
    347
    +
    
    348
    +  /**************************************************************************
    
    349
    +   *
    
    350
    +   * @section:
    
    351
    +   *   other_api_data
    
    352
    +   *
    
    353
    +   * @title:
    
    354
    +   *   Other API Data
    
    355
    +   *
    
    356
    +   * @abstract:
    
    357
    +   *   Other structures, enumerations, and macros.
    
    267 358
        *
    
    359
    +   * @description:
    
    360
    +   *   Other structures, enumerations, and macros.  Deprecated functions are
    
    361
    +   *   also listed here.
    
    362
    +   *
    
    363
    +   * @order:
    
    268 364
        *   FT_Face_Internal
    
    269 365
        *   FT_Size_Internal
    
    270 366
        *   FT_Slot_Internal
    
    271 367
        *
    
    272
    -   *   FT_FACE_FLAG_XXX
    
    273
    -   *   FT_STYLE_FLAG_XXX
    
    274
    -   *   FT_OPEN_XXX
    
    275
    -   *   FT_LOAD_XXX
    
    276
    -   *   FT_LOAD_TARGET_XXX
    
    277
    -   *   FT_SUBGLYPH_FLAG_XXX
    
    278
    -   *   FT_FSTYPE_XXX
    
    368
    +   *   FT_SubGlyph
    
    279 369
        *
    
    280 370
        *   FT_HAS_FAST_GLYPHS
    
    371
    +   *   FT_Face_CheckTrueTypePatents
    
    372
    +   *   FT_Face_SetUnpatentedHinting
    
    281 373
        *
    
    282 374
        */
    
    283 375
     
    
    284 376
     
    
    377
    +  /*************************************************************************/
    
    378
    +  /*************************************************************************/
    
    379
    +  /*                                                                       */
    
    380
    +  /*                        B A S I C   T Y P E S                          */
    
    381
    +  /*                                                                       */
    
    382
    +  /*************************************************************************/
    
    383
    +  /*************************************************************************/
    
    384
    +
    
    385
    +
    
    386
    +  /**************************************************************************
    
    387
    +   *
    
    388
    +   * @section:
    
    389
    +   *   glyph_retrieval
    
    390
    +   *
    
    391
    +   */
    
    392
    +
    
    285 393
       /**************************************************************************
    
    286 394
        *
    
    287 395
        * @struct:
    
    ... ... @@ -349,6 +457,13 @@ FT_BEGIN_HEADER
    349 457
       } FT_Glyph_Metrics;
    
    350 458
     
    
    351 459
     
    
    460
    +  /**************************************************************************
    
    461
    +   *
    
    462
    +   * @section:
    
    463
    +   *   sizing_and_scaling
    
    464
    +   *
    
    465
    +   */
    
    466
    +
    
    352 467
       /**************************************************************************
    
    353 468
        *
    
    354 469
        * @struct:
    
    ... ... @@ -409,6 +524,13 @@ FT_BEGIN_HEADER
    409 524
       /*************************************************************************/
    
    410 525
       /*************************************************************************/
    
    411 526
     
    
    527
    +  /**************************************************************************
    
    528
    +   *
    
    529
    +   * @section:
    
    530
    +   *   library_setup
    
    531
    +   *
    
    532
    +   */
    
    533
    +
    
    412 534
       /**************************************************************************
    
    413 535
        *
    
    414 536
        * @type:
    
    ... ... @@ -483,7 +605,7 @@ FT_BEGIN_HEADER
    483 605
       /**************************************************************************
    
    484 606
        *
    
    485 607
        * @section:
    
    486
    -   *   base_interface
    
    608
    +   *   face_creation
    
    487 609
        *
    
    488 610
        */
    
    489 611
     
    
    ... ... @@ -519,6 +641,13 @@ FT_BEGIN_HEADER
    519 641
       typedef struct FT_FaceRec_*  FT_Face;
    
    520 642
     
    
    521 643
     
    
    644
    +  /**************************************************************************
    
    645
    +   *
    
    646
    +   * @section:
    
    647
    +   *   sizing_and_scaling
    
    648
    +   *
    
    649
    +   */
    
    650
    +
    
    522 651
       /**************************************************************************
    
    523 652
        *
    
    524 653
        * @type:
    
    ... ... @@ -551,6 +680,13 @@ FT_BEGIN_HEADER
    551 680
       typedef struct FT_SizeRec_*  FT_Size;
    
    552 681
     
    
    553 682
     
    
    683
    +  /**************************************************************************
    
    684
    +   *
    
    685
    +   * @section:
    
    686
    +   *   glyph_retrieval
    
    687
    +   *
    
    688
    +   */
    
    689
    +
    
    554 690
       /**************************************************************************
    
    555 691
        *
    
    556 692
        * @type:
    
    ... ... @@ -570,6 +706,13 @@ FT_BEGIN_HEADER
    570 706
       typedef struct FT_GlyphSlotRec_*  FT_GlyphSlot;
    
    571 707
     
    
    572 708
     
    
    709
    +  /**************************************************************************
    
    710
    +   *
    
    711
    +   * @section:
    
    712
    +   *   character_mapping
    
    713
    +   *
    
    714
    +   */
    
    715
    +
    
    573 716
       /**************************************************************************
    
    574 717
        *
    
    575 718
        * @type:
    
    ... ... @@ -877,6 +1020,13 @@ FT_BEGIN_HEADER
    877 1020
       /*************************************************************************/
    
    878 1021
     
    
    879 1022
     
    
    1023
    +  /**************************************************************************
    
    1024
    +   *
    
    1025
    +   * @section:
    
    1026
    +   *   other_api_data
    
    1027
    +   *
    
    1028
    +   */
    
    1029
    +
    
    880 1030
       /**************************************************************************
    
    881 1031
        *
    
    882 1032
        * @type:
    
    ... ... @@ -892,6 +1042,13 @@ FT_BEGIN_HEADER
    892 1042
       typedef struct FT_Face_InternalRec_*  FT_Face_Internal;
    
    893 1043
     
    
    894 1044
     
    
    1045
    +  /**************************************************************************
    
    1046
    +   *
    
    1047
    +   * @section:
    
    1048
    +   *   face_creation
    
    1049
    +   *
    
    1050
    +   */
    
    1051
    +
    
    895 1052
       /**************************************************************************
    
    896 1053
        *
    
    897 1054
        * @struct:
    
    ... ... @@ -1270,6 +1427,13 @@ FT_BEGIN_HEADER
    1270 1427
     #define FT_FACE_FLAG_SBIX_OVERLAY      ( 1L << 18 )
    
    1271 1428
     
    
    1272 1429
     
    
    1430
    +  /**************************************************************************
    
    1431
    +   *
    
    1432
    +   * @section:
    
    1433
    +   *   font_testing_macros
    
    1434
    +   *
    
    1435
    +   */
    
    1436
    +
    
    1273 1437
       /**************************************************************************
    
    1274 1438
        *
    
    1275 1439
        * @macro:
    
    ... ... @@ -1379,6 +1543,13 @@ FT_BEGIN_HEADER
    1379 1543
               ( !!( (face)->face_flags & FT_FACE_FLAG_FIXED_SIZES ) )
    
    1380 1544
     
    
    1381 1545
     
    
    1546
    +  /**************************************************************************
    
    1547
    +   *
    
    1548
    +   * @section:
    
    1549
    +   *   other_api_data
    
    1550
    +   *
    
    1551
    +   */
    
    1552
    +
    
    1382 1553
       /**************************************************************************
    
    1383 1554
        *
    
    1384 1555
        * @macro:
    
    ... ... @@ -1391,6 +1562,13 @@ FT_BEGIN_HEADER
    1391 1562
     #define FT_HAS_FAST_GLYPHS( face )  0
    
    1392 1563
     
    
    1393 1564
     
    
    1565
    +  /**************************************************************************
    
    1566
    +   *
    
    1567
    +   * @section:
    
    1568
    +   *   font_testing_macros
    
    1569
    +   *
    
    1570
    +   */
    
    1571
    +
    
    1394 1572
       /**************************************************************************
    
    1395 1573
        *
    
    1396 1574
        * @macro:
    
    ... ... @@ -1626,6 +1804,13 @@ FT_BEGIN_HEADER
    1626 1804
               ( !!( (face)->face_flags & FT_FACE_FLAG_SBIX_OVERLAY ) )
    
    1627 1805
     
    
    1628 1806
     
    
    1807
    +  /**************************************************************************
    
    1808
    +   *
    
    1809
    +   * @section:
    
    1810
    +   *   face_creation
    
    1811
    +   *
    
    1812
    +   */
    
    1813
    +
    
    1629 1814
       /**************************************************************************
    
    1630 1815
        *
    
    1631 1816
        * @enum:
    
    ... ... @@ -1652,6 +1837,13 @@ FT_BEGIN_HEADER
    1652 1837
     #define FT_STYLE_FLAG_BOLD    ( 1 << 1 )
    
    1653 1838
     
    
    1654 1839
     
    
    1840
    +  /**************************************************************************
    
    1841
    +   *
    
    1842
    +   * @section:
    
    1843
    +   *   other_api_data
    
    1844
    +   *
    
    1845
    +   */
    
    1846
    +
    
    1655 1847
       /**************************************************************************
    
    1656 1848
        *
    
    1657 1849
        * @type:
    
    ... ... @@ -1664,6 +1856,13 @@ FT_BEGIN_HEADER
    1664 1856
       typedef struct FT_Size_InternalRec_*  FT_Size_Internal;
    
    1665 1857
     
    
    1666 1858
     
    
    1859
    +  /**************************************************************************
    
    1860
    +   *
    
    1861
    +   * @section:
    
    1862
    +   *   sizing_and_scaling
    
    1863
    +   *
    
    1864
    +   */
    
    1865
    +
    
    1667 1866
       /**************************************************************************
    
    1668 1867
        *
    
    1669 1868
        * @struct:
    
    ... ... @@ -1815,6 +2014,13 @@ FT_BEGIN_HEADER
    1815 2014
       } FT_SizeRec;
    
    1816 2015
     
    
    1817 2016
     
    
    2017
    +  /**************************************************************************
    
    2018
    +   *
    
    2019
    +   * @section:
    
    2020
    +   *   other_api_data
    
    2021
    +   *
    
    2022
    +   */
    
    2023
    +
    
    1818 2024
       /**************************************************************************
    
    1819 2025
        *
    
    1820 2026
        * @struct:
    
    ... ... @@ -1846,6 +2052,13 @@ FT_BEGIN_HEADER
    1846 2052
       typedef struct FT_Slot_InternalRec_*  FT_Slot_Internal;
    
    1847 2053
     
    
    1848 2054
     
    
    2055
    +  /**************************************************************************
    
    2056
    +   *
    
    2057
    +   * @section:
    
    2058
    +   *   glyph_retrieval
    
    2059
    +   *
    
    2060
    +   */
    
    2061
    +
    
    1849 2062
       /**************************************************************************
    
    1850 2063
        *
    
    1851 2064
        * @struct:
    
    ... ... @@ -2090,6 +2303,13 @@ FT_BEGIN_HEADER
    2090 2303
       /*************************************************************************/
    
    2091 2304
     
    
    2092 2305
     
    
    2306
    +  /**************************************************************************
    
    2307
    +   *
    
    2308
    +   * @section:
    
    2309
    +   *   library_setup
    
    2310
    +   *
    
    2311
    +   */
    
    2312
    +
    
    2093 2313
       /**************************************************************************
    
    2094 2314
        *
    
    2095 2315
        * @function:
    
    ... ... @@ -2147,6 +2367,13 @@ FT_BEGIN_HEADER
    2147 2367
       FT_Done_FreeType( FT_Library  library );
    
    2148 2368
     
    
    2149 2369
     
    
    2370
    +  /**************************************************************************
    
    2371
    +   *
    
    2372
    +   * @section:
    
    2373
    +   *   face_creation
    
    2374
    +   *
    
    2375
    +   */
    
    2376
    +
    
    2150 2377
       /**************************************************************************
    
    2151 2378
        *
    
    2152 2379
        * @enum:
    
    ... ... @@ -2648,6 +2875,13 @@ FT_BEGIN_HEADER
    2648 2875
       FT_Done_Face( FT_Face  face );
    
    2649 2876
     
    
    2650 2877
     
    
    2878
    +  /**************************************************************************
    
    2879
    +   *
    
    2880
    +   * @section:
    
    2881
    +   *   sizing_and_scaling
    
    2882
    +   *
    
    2883
    +   */
    
    2884
    +
    
    2651 2885
       /**************************************************************************
    
    2652 2886
        *
    
    2653 2887
        * @function:
    
    ... ... @@ -2940,6 +3174,13 @@ FT_BEGIN_HEADER
    2940 3174
                           FT_UInt  pixel_height );
    
    2941 3175
     
    
    2942 3176
     
    
    3177
    +  /**************************************************************************
    
    3178
    +   *
    
    3179
    +   * @section:
    
    3180
    +   *   glyph_retrieval
    
    3181
    +   *
    
    3182
    +   */
    
    3183
    +
    
    2943 3184
       /**************************************************************************
    
    2944 3185
        *
    
    2945 3186
        * @function:
    
    ... ... @@ -2988,6 +3229,13 @@ FT_BEGIN_HEADER
    2988 3229
                      FT_Int32  load_flags );
    
    2989 3230
     
    
    2990 3231
     
    
    3232
    +  /**************************************************************************
    
    3233
    +   *
    
    3234
    +   * @section:
    
    3235
    +   *   character_mapping
    
    3236
    +   *
    
    3237
    +   */
    
    3238
    +
    
    2991 3239
       /**************************************************************************
    
    2992 3240
        *
    
    2993 3241
        * @function:
    
    ... ... @@ -3031,6 +3279,13 @@ FT_BEGIN_HEADER
    3031 3279
                     FT_Int32  load_flags );
    
    3032 3280
     
    
    3033 3281
     
    
    3282
    +  /**************************************************************************
    
    3283
    +   *
    
    3284
    +   * @section:
    
    3285
    +   *   glyph_retrieval
    
    3286
    +   *
    
    3287
    +   */
    
    3288
    +
    
    3034 3289
       /**************************************************************************
    
    3035 3290
        *
    
    3036 3291
        * @enum:
    
    ... ... @@ -3370,6 +3625,13 @@ FT_BEGIN_HEADER
    3370 3625
               FT_STATIC_CAST( FT_Render_Mode, ( (x) >> 16 ) & 15 )
    
    3371 3626
     
    
    3372 3627
     
    
    3628
    +  /**************************************************************************
    
    3629
    +   *
    
    3630
    +   * @section:
    
    3631
    +   *   sizing_and_scaling
    
    3632
    +   *
    
    3633
    +   */
    
    3634
    +
    
    3373 3635
       /**************************************************************************
    
    3374 3636
        *
    
    3375 3637
        * @function:
    
    ... ... @@ -3445,6 +3707,13 @@ FT_BEGIN_HEADER
    3445 3707
                         FT_Vector*  delta );
    
    3446 3708
     
    
    3447 3709
     
    
    3710
    +  /**************************************************************************
    
    3711
    +   *
    
    3712
    +   * @section:
    
    3713
    +   *   glyph_retrieval
    
    3714
    +   *
    
    3715
    +   */
    
    3716
    +
    
    3448 3717
       /**************************************************************************
    
    3449 3718
        *
    
    3450 3719
        * @enum:
    
    ... ... @@ -3839,6 +4108,13 @@ FT_BEGIN_HEADER
    3839 4108
                             FT_Fixed*  akerning );
    
    3840 4109
     
    
    3841 4110
     
    
    4111
    +  /**************************************************************************
    
    4112
    +   *
    
    4113
    +   * @section:
    
    4114
    +   *   character_mapping
    
    4115
    +   *
    
    4116
    +   */
    
    4117
    +
    
    3842 4118
       /**************************************************************************
    
    3843 4119
        *
    
    3844 4120
        * @function:
    
    ... ... @@ -4055,6 +4331,13 @@ FT_BEGIN_HEADER
    4055 4331
                         FT_UInt   *agindex );
    
    4056 4332
     
    
    4057 4333
     
    
    4334
    +  /**************************************************************************
    
    4335
    +   *
    
    4336
    +   * @section:
    
    4337
    +   *   face_creation
    
    4338
    +   *
    
    4339
    +   */
    
    4340
    +
    
    4058 4341
       /**************************************************************************
    
    4059 4342
        *
    
    4060 4343
        * @function:
    
    ... ... @@ -4153,6 +4436,13 @@ FT_BEGIN_HEADER
    4153 4436
                           FT_Parameter*  properties );
    
    4154 4437
     
    
    4155 4438
     
    
    4439
    +  /**************************************************************************
    
    4440
    +   *
    
    4441
    +   * @section:
    
    4442
    +   *   information_retrieval
    
    4443
    +   *
    
    4444
    +   */
    
    4445
    +
    
    4156 4446
       /**************************************************************************
    
    4157 4447
        *
    
    4158 4448
        * @function:
    
    ... ... @@ -4899,32 +5189,10 @@ FT_BEGIN_HEADER
    4899 5189
       /**************************************************************************
    
    4900 5190
        *
    
    4901 5191
        * @section:
    
    4902
    -   *   version
    
    4903
    -   *
    
    4904
    -   * @title:
    
    4905
    -   *   FreeType Version
    
    4906
    -   *
    
    4907
    -   * @abstract:
    
    4908
    -   *   Functions and macros related to FreeType versions.
    
    4909
    -   *
    
    4910
    -   * @description:
    
    4911
    -   *   Note that those functions and macros are of limited use because even a
    
    4912
    -   *   new release of FreeType with only documentation changes increases the
    
    4913
    -   *   version number.
    
    4914
    -   *
    
    4915
    -   * @order:
    
    4916
    -   *   FT_Library_Version
    
    4917
    -   *
    
    4918
    -   *   FREETYPE_MAJOR
    
    4919
    -   *   FREETYPE_MINOR
    
    4920
    -   *   FREETYPE_PATCH
    
    4921
    -   *
    
    4922
    -   *   FT_Face_CheckTrueTypePatents
    
    4923
    -   *   FT_Face_SetUnpatentedHinting
    
    5192
    +   *   library_setup
    
    4924 5193
        *
    
    4925 5194
        */
    
    4926 5195
     
    
    4927
    -
    
    4928 5196
       /**************************************************************************
    
    4929 5197
        *
    
    4930 5198
        * @enum:
    
    ... ... @@ -4991,6 +5259,13 @@ FT_BEGIN_HEADER
    4991 5259
                           FT_Int      *apatch );
    
    4992 5260
     
    
    4993 5261
     
    
    5262
    +  /**************************************************************************
    
    5263
    +   *
    
    5264
    +   * @section:
    
    5265
    +   *   other_api_data
    
    5266
    +   *
    
    5267
    +   */
    
    5268
    +
    
    4994 5269
       /**************************************************************************
    
    4995 5270
        *
    
    4996 5271
        * @function:
    

  • include/freetype/ftchapters.h
    ... ... @@ -31,9 +31,28 @@
    31 31
        *   Core API
    
    32 32
        *
    
    33 33
        * @sections:
    
    34
    -   *   version
    
    35 34
        *   basic_types
    
    36
    -   *   base_interface
    
    35
    +   *   library_setup
    
    36
    +   *   face_creation
    
    37
    +   *   font_testing_macros
    
    38
    +   *   sizing_and_scaling
    
    39
    +   *   glyph_retrieval
    
    40
    +   *   character_mapping
    
    41
    +   *   information_retrieval
    
    42
    +   *   other_api_data
    
    43
    +   *
    
    44
    +   */
    
    45
    +
    
    46
    +
    
    47
    +  /**************************************************************************
    
    48
    +   *
    
    49
    +   * @chapter:
    
    50
    +   *   extended_api
    
    51
    +   *
    
    52
    +   * @title:
    
    53
    +   *   Extended API
    
    54
    +   *
    
    55
    +   * @sections:
    
    37 56
        *   glyph_variants
    
    38 57
        *   color_management
    
    39 58
        *   layer_management
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]