mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
chore: fix typos in libs (#7516)
Signed-off-by: bjsylvia <bjsylvia@163.com>
This commit is contained in:
parent
39d0d1037a
commit
137a2a647c
@ -345,7 +345,7 @@ static lv_freetype_outline_t outline_create(
|
|||||||
lv_freetype_outline_event_param_t param;
|
lv_freetype_outline_event_param_t param;
|
||||||
lv_memzero(¶m, sizeof(param));
|
lv_memzero(¶m, sizeof(param));
|
||||||
|
|
||||||
/*Calculate Total Segmenets Before decompose */
|
/*Calculate Total Segments Before decompose */
|
||||||
int32_t tag_size = face->glyph->outline.n_points;
|
int32_t tag_size = face->glyph->outline.n_points;
|
||||||
int32_t segments = 0;
|
int32_t segments = 0;
|
||||||
int32_t vectors = 0;
|
int32_t vectors = 0;
|
||||||
|
@ -842,7 +842,7 @@ typedef struct LodePNGEncoderSettings {
|
|||||||
const unsigned char * predefined_filters;
|
const unsigned char * predefined_filters;
|
||||||
|
|
||||||
/*force creating a PLTE chunk if colortype is 2 or 6 (= a suggested palette).
|
/*force creating a PLTE chunk if colortype is 2 or 6 (= a suggested palette).
|
||||||
If colortype is 3, PLTE is always created. If color type is explicitely set
|
If colortype is 3, PLTE is always created. If color type is explicitly set
|
||||||
to a grayscale type (1 or 4), this is not done and is ignored. If enabling this,
|
to a grayscale type (1 or 4), this is not done and is ignored. If enabling this,
|
||||||
a palette must be present in the info_png.
|
a palette must be present in the info_png.
|
||||||
NOTE: enabling this may worsen compression if auto_convert is used to choose
|
NOTE: enabling this may worsen compression if auto_convert is used to choose
|
||||||
@ -1007,7 +1007,7 @@ unsigned lodepng_chunk_append(unsigned char ** out, size_t * outsize, const unsi
|
|||||||
Appends new chunk to out. The chunk to append is given by giving its length, type
|
Appends new chunk to out. The chunk to append is given by giving its length, type
|
||||||
and data separately. The type is a 4-letter string.
|
and data separately. The type is a 4-letter string.
|
||||||
The out variable and outsize are updated to reflect the new reallocated buffer.
|
The out variable and outsize are updated to reflect the new reallocated buffer.
|
||||||
Returne error code (0 if it went ok)
|
Return error code (0 if it went ok)
|
||||||
*/
|
*/
|
||||||
unsigned lodepng_chunk_create(unsigned char ** out, size_t * outsize, size_t length,
|
unsigned lodepng_chunk_create(unsigned char ** out, size_t * outsize, size_t length,
|
||||||
const char * type, const unsigned char * data);
|
const char * type, const unsigned char * data);
|
||||||
@ -1890,7 +1890,7 @@ state.decoder.remember_unknown_chunks: whether to read in unknown chunks
|
|||||||
state.info_raw.colortype: desired color type for decoded image
|
state.info_raw.colortype: desired color type for decoded image
|
||||||
state.info_raw.bitdepth: desired bit depth for decoded image
|
state.info_raw.bitdepth: desired bit depth for decoded image
|
||||||
state.info_raw....: more color settings, see struct LodePNGColorMode
|
state.info_raw....: more color settings, see struct LodePNGColorMode
|
||||||
state.info_png....: no settings for decoder but ouput, see struct LodePNGInfo
|
state.info_png....: no settings for decoder but output, see struct LodePNGInfo
|
||||||
|
|
||||||
For encoding:
|
For encoding:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user