Searched defs:font_opts (Results 1 - 8 of 8) sorted by relevance

/external/harfbuzz_ng/util/
H A Dshape-consumer.hh42 void init (const font_options_t *font_opts) argument
44 font = hb_font_reference (font_opts->get_font ());
45 output.init (font_opts);
71 void finish (const font_options_t *font_opts) argument
73 output.finish (font_opts);
H A Dview-cairo.cc33 view_cairo_t::render (const font_options_t *font_opts) argument
39 int x_sign = font_opts->font_size_x < 0 ? -1 : +1;
40 int y_sign = font_opts->font_size_y < 0 ? -1 : +1;
42 hb_font_t *font = font_opts->get_font();
65 cairo_scaled_font_t *scaled_font = helper_cairo_create_scaled_font (font_opts);
H A Dhb-ot-shape-closure.cc56 void init (const font_options_t *font_opts) argument
59 font = hb_font_reference (font_opts->get_font ());
91 void finish (const font_options_t *font_opts) argument
H A Dhb-shape.cc40 void init (const font_options_t *font_opts) argument
45 font = hb_font_reference (font_opts->get_font ());
109 void finish (const font_options_t *font_opts) argument
H A Dmain-font-text.hh71 font_opts (&options, default_font_size, subpixel_bits),
81 if (argc && !font_opts.font_file) font_opts.font_file = locale_to_utf8 (argv[0]), argc--, argv++;
85 if (!font_opts.font_file)
90 consumer.init (&font_opts);
101 consumer.finish (&font_opts);
108 font_options_t font_opts; member in struct:main_font_text_t
H A Dview-cairo.hh46 void init (const font_options_t *font_opts) argument
49 scale_bits = -font_opts->subpixel_bits;
77 void finish (const font_options_t *font_opts) argument
79 render (font_opts);
97 void render (const font_options_t *font_opts);
H A Dhelper-cairo.cc73 helper_cairo_create_scaled_font (const font_options_t *font_opts) argument
75 hb_font_t *font = hb_font_reference (font_opts->get_font ());
91 font_opts->font_file,
92 font_opts->face_index,
109 font_opts->font_size_x,
110 font_opts->font_size_y);
H A Doptions.cc359 font_options_t *font_opts = (font_options_t *) data; local
362 font_opts->font_size_y = font_opts->font_size_x = FONT_SIZE_UPEM;
365 switch (sscanf (arg, "%lf%*[ ,]%lf", &font_opts->font_size_x, &font_opts->font_size_y)) {
366 case 1: font_opts->font_size_y = font_opts->font_size_x;

Completed in 836 milliseconds