36 37 HB_BEGIN_DECLS 38 39 typedef struct hb_shape_plan_t hb_shape_plan_t; 40 41 HB_EXTERN hb_shape_plan_t * 42 hb_shape_plan_create (hb_face_t *face, 43 const hb_segment_properties_t *props, 44 const hb_feature_t *user_features, 45 unsigned int num_user_features, 46 const char * const *shaper_list); 47 48 HB_EXTERN hb_shape_plan_t * 49 hb_shape_plan_create_cached (hb_face_t *face, 50 const hb_segment_properties_t *props, 51 const hb_feature_t *user_features, 52 unsigned int num_user_features, 53 const char * const *shaper_list); 54 55 HB_EXTERN hb_shape_plan_t * 56 hb_shape_plan_get_empty (void); 57 58 HB_EXTERN hb_shape_plan_t * 59 hb_shape_plan_reference (hb_shape_plan_t *shape_plan); 60 61 HB_EXTERN void 62 hb_shape_plan_destroy (hb_shape_plan_t *shape_plan); 63 64 HB_EXTERN hb_bool_t 65 hb_shape_plan_set_user_data (hb_shape_plan_t *shape_plan, 66 hb_user_data_key_t *key, 67 void * data, 68 hb_destroy_func_t destroy, 69 hb_bool_t replace); 70 71 HB_EXTERN void * 72 hb_shape_plan_get_user_data (hb_shape_plan_t *shape_plan, 73 hb_user_data_key_t *key); 74 75 | 36 37 HB_BEGIN_DECLS 38 39 typedef struct hb_shape_plan_t hb_shape_plan_t; 40 41 HB_EXTERN hb_shape_plan_t * 42 hb_shape_plan_create (hb_face_t *face, 43 const hb_segment_properties_t *props, 44 const hb_feature_t *user_features, 45 unsigned int num_user_features, 46 const char * const *shaper_list); 47 48 HB_EXTERN hb_shape_plan_t * 49 hb_shape_plan_create_cached (hb_face_t *face, 50 const hb_segment_properties_t *props, 51 const hb_feature_t *user_features, 52 unsigned int num_user_features, 53 const char * const *shaper_list); 54 55 HB_EXTERN hb_shape_plan_t * 56 hb_shape_plan_create2 (hb_face_t *face, 57 const hb_segment_properties_t *props, 58 const hb_feature_t *user_features, 59 unsigned int num_user_features, 60 const int *coords, 61 unsigned int num_coords, 62 const char * const *shaper_list); 63 64 HB_EXTERN hb_shape_plan_t * 65 hb_shape_plan_create_cached2 (hb_face_t *face, 66 const hb_segment_properties_t *props, 67 const hb_feature_t *user_features, 68 unsigned int num_user_features, 69 const int *coords, 70 unsigned int num_coords, 71 const char * const *shaper_list); 72 73 74 HB_EXTERN hb_shape_plan_t * 75 hb_shape_plan_get_empty (void); 76 77 HB_EXTERN hb_shape_plan_t * 78 hb_shape_plan_reference (hb_shape_plan_t *shape_plan); 79 80 HB_EXTERN void 81 hb_shape_plan_destroy (hb_shape_plan_t *shape_plan); 82 83 HB_EXTERN hb_bool_t 84 hb_shape_plan_set_user_data (hb_shape_plan_t *shape_plan, 85 hb_user_data_key_t *key, 86 void * data, 87 hb_destroy_func_t destroy, 88 hb_bool_t replace); 89 90 HB_EXTERN void * 91 hb_shape_plan_get_user_data (hb_shape_plan_t *shape_plan, 92 hb_user_data_key_t *key); 93 94 |