| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright © 2012 Google, Inc. | 2 * Copyright © 2012 Google, Inc. |
| 3 * | 3 * |
| 4 * This is part of HarfBuzz, a text shaping library. | 4 * This is part of HarfBuzz, a text shaping library. |
| 5 * | 5 * |
| 6 * Permission is hereby granted, without written agreement and without | 6 * Permission is hereby granted, without written agreement and without |
| 7 * license or royalty fees, to use, copy, modify, and distribute this | 7 * license or royalty fees, to use, copy, modify, and distribute this |
| 8 * software and its documentation for any purpose, provided that the | 8 * software and its documentation for any purpose, provided that the |
| 9 * above copyright notice and the following two paragraphs appear in | 9 * above copyright notice and the following two paragraphs appear in |
| 10 * all copies of this software. | 10 * all copies of this software. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 hb_bool_t default_shaper_list; | 40 hb_bool_t default_shaper_list; |
| 41 hb_face_t *face_unsafe; /* We don't carry a reference to face. */ | 41 hb_face_t *face_unsafe; /* We don't carry a reference to face. */ |
| 42 hb_segment_properties_t props; | 42 hb_segment_properties_t props; |
| 43 | 43 |
| 44 hb_shape_func_t *shaper_func; | 44 hb_shape_func_t *shaper_func; |
| 45 const char *shaper_name; | 45 const char *shaper_name; |
| 46 | 46 |
| 47 hb_feature_t *user_features; | 47 hb_feature_t *user_features; |
| 48 unsigned int num_user_features; | 48 unsigned int num_user_features; |
| 49 | 49 |
| 50 int *coords; |
| 51 unsigned int num_coords; |
| 52 |
| 50 struct hb_shaper_data_t shaper_data; | 53 struct hb_shaper_data_t shaper_data; |
| 51 }; | 54 }; |
| 52 | 55 |
| 53 #define HB_SHAPER_DATA_CREATE_FUNC_EXTRA_ARGS \ | 56 #define HB_SHAPER_DATA_CREATE_FUNC_EXTRA_ARGS \ |
| 54 » , const hb_feature_t *user_features \ | 57 » , const hb_feature_t *user_features \ |
| 55 » , unsigned int num_user_features | 58 » , unsigned int num_user_features \ |
| 59 » , const int *coords \ |
| 60 » , unsigned int num_coords |
| 56 #define HB_SHAPER_IMPLEMENT(shaper) HB_SHAPER_DATA_PROTOTYPE(shaper, shape_plan)
; | 61 #define HB_SHAPER_IMPLEMENT(shaper) HB_SHAPER_DATA_PROTOTYPE(shaper, shape_plan)
; |
| 57 #include "hb-shaper-list.hh" | 62 #include "hb-shaper-list.hh" |
| 58 #undef HB_SHAPER_IMPLEMENT | 63 #undef HB_SHAPER_IMPLEMENT |
| 59 #undef HB_SHAPER_DATA_CREATE_FUNC_EXTRA_ARGS | 64 #undef HB_SHAPER_DATA_CREATE_FUNC_EXTRA_ARGS |
| 60 | 65 |
| 61 | 66 |
| 62 #endif /* HB_SHAPE_PLAN_PRIVATE_HH */ | 67 #endif /* HB_SHAPE_PLAN_PRIVATE_HH */ |
| OLD | NEW |