freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] include/freetype/ftmm.h: Improve docume


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] include/freetype/ftmm.h: Improve documentation.
Date: Sat, 02 Jul 2022 07:34:54 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

  • 31005d98
    by Werner Lemberg at 2022-07-02T09:34:13+02:00
    include/freetype/ftmm.h: Improve documentation.
    

1 changed file:

Changes:

  • include/freetype/ftmm.h
    ... ... @@ -398,6 +398,10 @@ FT_BEGIN_HEADER
    398 398
        *   FreeType error code.  0~means success.
    
    399 399
        *
    
    400 400
        * @note:
    
    401
    +   *   The design coordinates are 16.16 fractional values for TrueType GX and
    
    402
    +   *   OpenType variation fonts.  For Adobe MM fonts, the values are
    
    403
    +   *   integers.
    
    404
    +   *
    
    401 405
        *   [Since 2.8.1] To reset all axes to the default values, call the
    
    402 406
        *   function with `num_coords` set to zero and `coords` set to `NULL`.
    
    403 407
        *   [Since 2.9] 'Default values' means the currently selected named
    
    ... ... @@ -440,6 +444,11 @@ FT_BEGIN_HEADER
    440 444
        * @return:
    
    441 445
        *   FreeType error code.  0~means success.
    
    442 446
        *
    
    447
    +   * @note:
    
    448
    +   *   The design coordinates are 16.16 fractional values for TrueType GX and
    
    449
    +   *   OpenType variation fonts.  For Adobe MM fonts, the values are
    
    450
    +   *   integers.
    
    451
    +   *
    
    443 452
        * @since:
    
    444 453
        *   2.7.1
    
    445 454
        */
    
    ... ... @@ -471,9 +480,9 @@ FT_BEGIN_HEADER
    471 480
        *     the number of axes, use default values for the remaining axes.
    
    472 481
        *
    
    473 482
        *   coords ::
    
    474
    -   *     The design coordinates array (each element must be between 0 and 1.0
    
    475
    -   *     for Adobe MM fonts, and between -1.0 and 1.0 for TrueType GX and
    
    476
    -   *     OpenType variation fonts).
    
    483
    +   *     The design coordinates array.  Each element is a 16.16 fractional
    
    484
    +   *     value and must be between 0 and 1.0 for Adobe MM fonts, and between
    
    485
    +   *     -1.0 and 1.0 for TrueType GX and OpenType variation fonts.
    
    477 486
        *
    
    478 487
        * @return:
    
    479 488
        *   FreeType error code.  0~means success.
    
    ... ... @@ -518,7 +527,7 @@ FT_BEGIN_HEADER
    518 527
        *
    
    519 528
        * @output:
    
    520 529
        *   coords ::
    
    521
    -   *     The normalized blend coordinates array.
    
    530
    +   *     The normalized blend coordinates array (as 16.16 fractional values).
    
    522 531
        *
    
    523 532
        * @return:
    
    524 533
        *   FreeType error code.  0~means success.
    


  • reply via email to

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