*/*: s/Invalid_Argument/Invalid_Outline/ where appropriate.

This commit is contained in:
Werner Lemberg 2014-11-25 10:22:12 +01:00
parent 04edbbda3c
commit 04c2aa18bf
4 changed files with 21 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2014-11-25 Werner Lemberg <wl@gnu.org>
*/*: s/Invalid_Argument/Invalid_Outline/ where appropriate.
2014-11-25 Werner Lemberg <wl@gnu.org>
*/*: s/Invalid_Argument/Invalid_Face_Handle/ where appropriate.

View File

@ -73,7 +73,10 @@
FT_Pos delta;
if ( !outline || !func_interface )
if ( !outline )
return FT_THROW( Invalid_Outline );
if ( !func_interface )
return FT_THROW( Invalid_Argument );
shift = func_interface->shift;
@ -614,7 +617,10 @@
if ( !library )
return FT_THROW( Invalid_Library_Handle );
if ( !outline || !params )
if ( !outline )
return FT_THROW( Invalid_Outline );
if ( !params )
return FT_THROW( Invalid_Argument );
renderer = library->cur_renderer;
@ -911,7 +917,7 @@
if ( !outline )
return FT_THROW( Invalid_Argument );
return FT_THROW( Invalid_Outline );
xstrength /= 2;
ystrength /= 2;

View File

@ -2060,7 +2060,10 @@
FT_Int tag; /* current point's state */
if ( !outline || !stroker )
if ( !outline )
return FT_THROW( Invalid_Outline );
if ( !stroker )
return FT_THROW( Invalid_Argument );
FT_Stroker_Rewind( stroker );

View File

@ -1515,7 +1515,10 @@ typedef ptrdiff_t FT_PtrDist;
TPos delta;
if ( !outline || !func_interface )
if ( !outline )
return FT_THROW( Invalid_Outline );
if ( !func_interface )
return FT_THROW( Invalid_Argument );
shift = func_interface->shift;