Index: include/freetype/freetype.h =================================================================== RCS file: /cvsroot/freetype/freetype2/include/freetype/freetype.h,v retrieving revision 1.152 diff -u -r1.152 freetype.h --- include/freetype/freetype.h 3 Apr 2005 20:11:42 -0000 1.152 +++ include/freetype/freetype.h 14 Apr 2005 10:09:59 -0000 @@ -3075,7 +3075,7 @@ /* */ FT_EXPORT( void ) FT_Vector_Transform( FT_Vector* vec, - FT_Matrix* matrix ); + const FT_Matrix* matrix ); /* */ Index: include/freetype/ftimage.h =================================================================== RCS file: /cvsroot/freetype/freetype2/include/freetype/ftimage.h,v retrieving revision 1.41 diff -u -r1.41 ftimage.h --- include/freetype/ftimage.h 13 Dec 2004 23:16:59 -0000 1.41 +++ include/freetype/ftimage.h 14 Apr 2005 10:10:00 -0000 @@ -1030,7 +1030,7 @@ /* */ typedef struct FT_Raster_Params_ { - FT_Bitmap* target; + const FT_Bitmap* target; void* source; int flags; FT_SpanFunc gray_spans; Index: include/freetype/ftoutln.h =================================================================== RCS file: /cvsroot/freetype/freetype2/include/freetype/ftoutln.h,v retrieving revision 1.27 diff -u -r1.27 ftoutln.h --- include/freetype/ftoutln.h 4 Nov 2003 07:44:19 -0000 1.27 +++ include/freetype/ftoutln.h 14 Apr 2005 10:10:00 -0000 @@ -229,7 +229,7 @@ /* acbox :: The outline's control box. */ /* */ FT_EXPORT( void ) - FT_Outline_Get_CBox( FT_Outline* outline, + FT_Outline_Get_CBox( const FT_Outline* outline, FT_BBox *acbox ); @@ -275,7 +275,7 @@ /* FreeType error code. 0 means success. */ /* */ FT_EXPORT( FT_Error ) - FT_Outline_Copy( FT_Outline* source, + FT_Outline_Copy( const FT_Outline* source, FT_Outline *target ); @@ -300,7 +300,7 @@ /* */ FT_EXPORT( void ) FT_Outline_Transform( FT_Outline* outline, - FT_Matrix* matrix ); + const FT_Matrix* matrix ); /*************************************************************************/ @@ -355,7 +355,7 @@ FT_EXPORT( FT_Error ) FT_Outline_Get_Bitmap( FT_Library library, FT_Outline* outline, - FT_Bitmap *abitmap ); + const FT_Bitmap *abitmap ); /*************************************************************************/ Index: src/base/ftoutln.c =================================================================== RCS file: /cvsroot/freetype/freetype2/src/base/ftoutln.c,v retrieving revision 1.58 diff -u -r1.58 ftoutln.c --- src/base/ftoutln.c 24 Nov 2004 07:08:21 -0000 1.58 +++ src/base/ftoutln.c 14 Apr 2005 10:10:00 -0000 @@ -347,7 +347,7 @@ /* documentation is in ftoutln.h */ FT_EXPORT_DEF( FT_Error ) - FT_Outline_Copy( FT_Outline* source, + FT_Outline_Copy( const FT_Outline* source, FT_Outline *target ) { FT_Int is_owner; @@ -414,7 +414,7 @@ /* documentation is in ftoutln.h */ FT_EXPORT_DEF( void ) - FT_Outline_Get_CBox( FT_Outline* outline, + FT_Outline_Get_CBox( const FT_Outline* outline, FT_BBox *acbox ) { FT_Pos xMin, yMin, xMax, yMax; @@ -593,7 +593,7 @@ FT_EXPORT_DEF( FT_Error ) FT_Outline_Get_Bitmap( FT_Library library, FT_Outline* outline, - FT_Bitmap *abitmap ) + const FT_Bitmap *abitmap ) { FT_Raster_Params params; @@ -619,7 +619,7 @@ FT_EXPORT_DEF( void ) FT_Vector_Transform( FT_Vector* vector, - FT_Matrix* matrix ) + const FT_Matrix* matrix ) { FT_Pos xz, yz; @@ -642,7 +642,7 @@ FT_EXPORT_DEF( void ) FT_Outline_Transform( FT_Outline* outline, - FT_Matrix* matrix ) + const FT_Matrix* matrix ) { FT_Vector* vec = outline->points; FT_Vector* limit = vec + outline->n_points; Index: src/raster/ftraster.c =================================================================== RCS file: /cvsroot/freetype/freetype2/src/raster/ftraster.c,v retrieving revision 1.32 diff -u -r1.32 ftraster.c --- src/raster/ftraster.c 1 Apr 2005 23:57:31 -0000 1.32 +++ src/raster/ftraster.c 14 Apr 2005 10:10:01 -0000 @@ -3258,7 +3258,7 @@ FT_Raster_Params* params ) { FT_Outline* outline = (FT_Outline*)params->source; - FT_Bitmap* target_map = params->target; + const FT_Bitmap* target_map = params->target; if ( !raster || !raster->buff || !raster->sizeBuff ) Index: src/smooth/ftgrays.c =================================================================== RCS file: /cvsroot/freetype/freetype2/src/smooth/ftgrays.c,v retrieving revision 1.61 diff -u -r1.61 ftgrays.c --- src/smooth/ftgrays.c 5 Jun 2003 04:31:05 -0000 1.61 +++ src/smooth/ftgrays.c 14 Apr 2005 10:10:01 -0000 @@ -1964,7 +1964,7 @@ FT_Raster_Params* params ) { FT_Outline* outline = (FT_Outline*)params->source; - FT_Bitmap* target_map = params->target; + const FT_Bitmap* target_map = params->target; if ( !raster || !raster->cells || !raster->max_cells )