static FT_Error cff_get_mm_var( CFF_Face face, FT_MM_Var* *master ) { FT_Service_MultiMasters mm = (FT_Service_MultiMasters)face->mm; return mm->get_mm_var( FT_FACE( face ), master ); }
FT_Get_MM_Var( FT_Face face, FT_MM_Var* *amaster ) { FT_Error error; FT_Service_MultiMasters service; error = ft_face_get_mm_service( face, &service ); if ( !error ) { error = FT_Err_Invalid_Argument; if ( service->get_mm_var ) error = service->get_mm_var( face, amaster ); } return error; }
FT_Get_MM_Var( FT_Face face, FT_MM_Var* *amaster ) { FT_Error error; FT_Service_MultiMasters service; /* check of `face' delayed to `ft_face_get_mm_service' */ if ( !amaster ) return FT_THROW( Invalid_Argument ); error = ft_face_get_mm_service( face, &service ); if ( !error ) { error = FT_ERR( Invalid_Argument ); if ( service->get_mm_var ) error = service->get_mm_var( face, amaster ); } return error; }