Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
0eca6ead
by Werner Lemberg at 2023-02-16T06:35:33+01:00
1 changed file:
Changes:
... | ... | @@ -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 | {
|