Index: include/freetype/ftimage.h =================================================================== RCS file: /cvsroot/freetype/freetype2/include/freetype/ftimage.h,v retrieving revision 1.43 diff -u -r1.43 ftimage.h --- include/freetype/ftimage.h 11 May 2005 20:04:34 -0000 1.43 +++ include/freetype/ftimage.h 13 May 2005 14:39:52 -0000 @@ -486,8 +486,8 @@ /* Error code. 0 means success. */ /* */ typedef int - (*FT_Outline_MoveToFunc)( FT_Vector* to, - void* user ); + (*FT_Outline_MoveToFunc)( const FT_Vector* to, + void* user ); #define FT_Outline_MoveTo_Func FT_Outline_MoveToFunc @@ -512,8 +512,8 @@ /* Error code. 0 means success. */ /* */ typedef int - (*FT_Outline_LineToFunc)( FT_Vector* to, - void* user ); + (*FT_Outline_LineToFunc)( const FT_Vector* to, + void* user ); #define FT_Outline_LineTo_Func FT_Outline_LineToFunc @@ -542,9 +542,9 @@ /* Error code. 0 means success. */ /* */ typedef int - (*FT_Outline_ConicToFunc)( FT_Vector* control, - FT_Vector* to, - void* user ); + (*FT_Outline_ConicToFunc)( const FT_Vector* control, + const FT_Vector* to, + void* user ); #define FT_Outline_ConicTo_Func FT_Outline_ConicToFunc @@ -573,10 +573,10 @@ /* Error code. 0 means success. */ /* */ typedef int - (*FT_Outline_CubicToFunc)( FT_Vector* control1, - FT_Vector* control2, - FT_Vector* to, - void* user ); + (*FT_Outline_CubicToFunc)( const FT_Vector* control1, + const FT_Vector* control2, + const FT_Vector* to, + void* user ); #define FT_Outline_CubicTo_Func FT_Outline_CubicToFunc Index: src/smooth/ftgrays.c =================================================================== RCS file: /cvsroot/freetype/freetype2/src/smooth/ftgrays.c,v retrieving revision 1.63 --- src/smooth/ftgrays.c 11 May 2005 20:04:35 -0000 1.63 +++ src/smooth/ftgrays.c 13 May 2005 14:39:53 -0000 @@ -782,8 +782,8 @@ static void - gray_render_conic( RAS_ARG_ FT_Vector* control, - FT_Vector* to ) + gray_render_conic( RAS_ARG_ const FT_Vector* control, + const FT_Vector* to ) { TPos dx, dy; int top, level; @@ -917,9 +917,9 @@ static void - gray_render_cubic( RAS_ARG_ FT_Vector* control1, - FT_Vector* control2, - FT_Vector* to ) + gray_render_cubic( RAS_ARG_ const FT_Vector* control1, + const FT_Vector* control2, + const FT_Vector* to ) { TPos dx, dy, da, db; int top, level; @@ -1229,8 +1229,8 @@ static int - gray_move_to( FT_Vector* to, - FT_Raster raster ) + gray_move_to( const FT_Vector* to, + FT_Raster raster ) { TPos x, y; @@ -1251,8 +1251,8 @@ static int - gray_line_to( FT_Vector* to, - FT_Raster raster ) + gray_line_to( const FT_Vector* to, + FT_Raster raster ) { gray_render_line( (PRaster)raster, UPSCALE( to->x ), UPSCALE( to->y ) ); @@ -1261,9 +1261,9 @@ static int - gray_conic_to( FT_Vector* control, - FT_Vector* to, - FT_Raster raster ) + gray_conic_to( const FT_Vector* control, + const FT_Vector* to, + FT_Raster raster ) { gray_render_conic( (PRaster)raster, control, to ); return 0; @@ -1271,10 +1271,10 @@ static int - gray_cubic_to( FT_Vector* control1, - FT_Vector* control2, - FT_Vector* to, - FT_Raster raster ) + gray_cubic_to( const FT_Vector* control1, + const FT_Vector* control2, + const FT_Vector* to, + FT_Raster raster ) { gray_render_cubic( (PRaster)raster, control1, control2, to ); return 0; @@ -1282,10 +1282,10 @@ static void - gray_render_span( int y, - int count, - FT_Span* spans, - PRaster raster ) + gray_render_span( int y, + int count, + const FT_Span* spans, + PRaster raster ) { unsigned char* p; FT_Bitmap* map = &raster->target; @@ -1447,7 +1447,7 @@ static void - gray_sweep( RAS_ARG_ FT_Bitmap* target ) + gray_sweep( RAS_ARG_ const FT_Bitmap* target ) { TCoord x, y, cover; TArea area;