Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(484)

Side by Side Diff: third_party/harfbuzz-ng/src/hb-shape-plan.h

Issue 1580513002: Roll HarfBuzz to 1.1.3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-shape.cc ('k') | third_party/harfbuzz-ng/src/hb-shaper-list.hh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 20 matching lines...) Expand all
31 #ifndef HB_SHAPE_PLAN_H 31 #ifndef HB_SHAPE_PLAN_H
32 #define HB_SHAPE_PLAN_H 32 #define HB_SHAPE_PLAN_H
33 33
34 #include "hb-common.h" 34 #include "hb-common.h"
35 #include "hb-font.h" 35 #include "hb-font.h"
36 36
37 HB_BEGIN_DECLS 37 HB_BEGIN_DECLS
38 38
39 typedef struct hb_shape_plan_t hb_shape_plan_t; 39 typedef struct hb_shape_plan_t hb_shape_plan_t;
40 40
41 hb_shape_plan_t * 41 HB_EXTERN hb_shape_plan_t *
42 hb_shape_plan_create (hb_face_t *face, 42 hb_shape_plan_create (hb_face_t *face,
43 const hb_segment_properties_t *props, 43 const hb_segment_properties_t *props,
44 const hb_feature_t *user_features, 44 const hb_feature_t *user_features,
45 unsigned int num_user_features, 45 unsigned int num_user_features,
46 const char * const *shaper_list); 46 const char * const *shaper_list);
47 47
48 hb_shape_plan_t * 48 HB_EXTERN hb_shape_plan_t *
49 hb_shape_plan_create_cached (hb_face_t *face, 49 hb_shape_plan_create_cached (hb_face_t *face,
50 const hb_segment_properties_t *props, 50 const hb_segment_properties_t *props,
51 const hb_feature_t *user_features, 51 const hb_feature_t *user_features,
52 unsigned int num_user_features, 52 unsigned int num_user_features,
53 const char * const *shaper_list); 53 const char * const *shaper_list);
54 54
55 hb_shape_plan_t * 55 HB_EXTERN hb_shape_plan_t *
56 hb_shape_plan_get_empty (void); 56 hb_shape_plan_get_empty (void);
57 57
58 hb_shape_plan_t * 58 HB_EXTERN hb_shape_plan_t *
59 hb_shape_plan_reference (hb_shape_plan_t *shape_plan); 59 hb_shape_plan_reference (hb_shape_plan_t *shape_plan);
60 60
61 void 61 HB_EXTERN void
62 hb_shape_plan_destroy (hb_shape_plan_t *shape_plan); 62 hb_shape_plan_destroy (hb_shape_plan_t *shape_plan);
63 63
64 hb_bool_t 64 HB_EXTERN hb_bool_t
65 hb_shape_plan_set_user_data (hb_shape_plan_t *shape_plan, 65 hb_shape_plan_set_user_data (hb_shape_plan_t *shape_plan,
66 hb_user_data_key_t *key, 66 hb_user_data_key_t *key,
67 void * data, 67 void * data,
68 hb_destroy_func_t destroy, 68 hb_destroy_func_t destroy,
69 hb_bool_t replace); 69 hb_bool_t replace);
70 70
71 void * 71 HB_EXTERN void *
72 hb_shape_plan_get_user_data (hb_shape_plan_t *shape_plan, 72 hb_shape_plan_get_user_data (hb_shape_plan_t *shape_plan,
73 hb_user_data_key_t *key); 73 hb_user_data_key_t *key);
74 74
75 75
76 hb_bool_t 76 HB_EXTERN hb_bool_t
77 hb_shape_plan_execute (hb_shape_plan_t *shape_plan, 77 hb_shape_plan_execute (hb_shape_plan_t *shape_plan,
78 hb_font_t *font, 78 hb_font_t *font,
79 hb_buffer_t *buffer, 79 hb_buffer_t *buffer,
80 const hb_feature_t *features, 80 const hb_feature_t *features,
81 unsigned int num_features); 81 unsigned int num_features);
82 82
83 const char * 83 HB_EXTERN const char *
84 hb_shape_plan_get_shaper (hb_shape_plan_t *shape_plan); 84 hb_shape_plan_get_shaper (hb_shape_plan_t *shape_plan);
85 85
86 86
87 HB_END_DECLS 87 HB_END_DECLS
88 88
89 #endif /* HB_SHAPE_PLAN_H */ 89 #endif /* HB_SHAPE_PLAN_H */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-shape.cc ('k') | third_party/harfbuzz-ng/src/hb-shaper-list.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698