Decorate const arguments.
* src/base/ftglyph.c (FT_Glyph_Transform, FT_Glyph_To_Bitmap): Do it. * include/freetype/ftglyph.h (FT_Glyph_Transform, FT_Glyph_To_Bitmap): Do it.
This commit is contained in:
parent
d62d583d92
commit
d92aa23fd7
|
@ -337,9 +337,9 @@ FT_BEGIN_HEADER
|
||||||
* vector.
|
* vector.
|
||||||
*/
|
*/
|
||||||
FT_EXPORT( FT_Error )
|
FT_EXPORT( FT_Error )
|
||||||
FT_Glyph_Transform( FT_Glyph glyph,
|
FT_Glyph_Transform( FT_Glyph glyph,
|
||||||
FT_Matrix* matrix,
|
const FT_Matrix* matrix,
|
||||||
FT_Vector* delta );
|
const FT_Vector* delta );
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
@ -569,10 +569,10 @@ FT_BEGIN_HEADER
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
FT_EXPORT( FT_Error )
|
FT_EXPORT( FT_Error )
|
||||||
FT_Glyph_To_Bitmap( FT_Glyph* the_glyph,
|
FT_Glyph_To_Bitmap( FT_Glyph* the_glyph,
|
||||||
FT_Render_Mode render_mode,
|
FT_Render_Mode render_mode,
|
||||||
FT_Vector* origin,
|
const FT_Vector* origin,
|
||||||
FT_Bool destroy );
|
FT_Bool destroy );
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
|
|
@ -453,9 +453,9 @@
|
||||||
/* documentation is in ftglyph.h */
|
/* documentation is in ftglyph.h */
|
||||||
|
|
||||||
FT_EXPORT_DEF( FT_Error )
|
FT_EXPORT_DEF( FT_Error )
|
||||||
FT_Glyph_Transform( FT_Glyph glyph,
|
FT_Glyph_Transform( FT_Glyph glyph,
|
||||||
FT_Matrix* matrix,
|
const FT_Matrix* matrix,
|
||||||
FT_Vector* delta )
|
const FT_Vector* delta )
|
||||||
{
|
{
|
||||||
FT_Error error = FT_Err_Ok;
|
FT_Error error = FT_Err_Ok;
|
||||||
|
|
||||||
|
@ -533,10 +533,10 @@
|
||||||
/* documentation is in ftglyph.h */
|
/* documentation is in ftglyph.h */
|
||||||
|
|
||||||
FT_EXPORT_DEF( FT_Error )
|
FT_EXPORT_DEF( FT_Error )
|
||||||
FT_Glyph_To_Bitmap( FT_Glyph* the_glyph,
|
FT_Glyph_To_Bitmap( FT_Glyph* the_glyph,
|
||||||
FT_Render_Mode render_mode,
|
FT_Render_Mode render_mode,
|
||||||
FT_Vector* origin,
|
const FT_Vector* origin,
|
||||||
FT_Bool destroy )
|
FT_Bool destroy )
|
||||||
{
|
{
|
||||||
FT_GlyphSlotRec dummy;
|
FT_GlyphSlotRec dummy;
|
||||||
FT_GlyphSlot_InternalRec dummy_internal;
|
FT_GlyphSlot_InternalRec dummy_internal;
|
||||||
|
|
Loading…
Reference in New Issue