freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] Documentation improvement for `FT_Bitma


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] Documentation improvement for `FT_Bitmap`.
Date: Thu, 16 Feb 2023 05:36:50 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

  • 0eca6ead
    by Werner Lemberg at 2023-02-16T06:35:33+01:00
    Documentation improvement for `FT_Bitmap`.
    
    Fixes #1205.
    

1 changed file:

Changes:

  • include/freetype/ftimage.h
    ... ... @@ -19,7 +19,7 @@
    19 19
       /**************************************************************************
    
    20 20
        *
    
    21 21
        * Note: A 'raster' is simply a scan-line converter, used to render
    
    22
    -   *       FT_Outlines into FT_Bitmaps.
    
    22
    +   *       `FT_Outline`s into `FT_Bitmap`s.
    
    23 23
        *
    
    24 24
        */
    
    25 25
     
    
    ... ... @@ -256,6 +256,12 @@ FT_BEGIN_HEADER
    256 256
        *   palette ::
    
    257 257
        *     A typeless pointer to the bitmap palette; this field is intended for
    
    258 258
        *     paletted pixel modes.  Not used currently.
    
    259
    +   *
    
    260
    +   * @note:
    
    261
    +   *   `width` and `rows` refer to the *physical* size of the bitmap, not the
    
    262
    +   *   *logical* one.  For example, if @FT_Pixel_Mode is set to
    
    263
    +   *   `FT_PIXEL_MODE_LCD`, the logical width is a just a third of the
    
    264
    +   *   physical one.
    
    259 265
        */
    
    260 266
       typedef struct  FT_Bitmap_
    
    261 267
       {
    


  • reply via email to

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