hb-buffer-private.hh revision 6b347138b597c41af24453f630336ba2fc033dc5
16b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod/* harfbuzz-buffer-private.h: Buffer of glyphs for substitution/positioning 26b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * 36b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * Copyright 2004,7 Red Hat Software 46b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * 56b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * Portions Copyright 1996-2000 by 66b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * David Turner, Robert Wilhelm, and Werner Lemberg. 76b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * 86b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * This file is part of the FreeType project, and may only be used 96b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * modified and distributed under the terms of the FreeType project 106b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * license, LICENSE.TXT. By continuing to use, modify, or distribute 116b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * this file you indicate that you have read the license and 126b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * understand and accept it fully. 136b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod */ 146b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod#ifndef HARFBUZZ_BUFFER_PRIVATE_H 156b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod#define HARFBUZZ_BUFFER_PRIVATE_H 166b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 176b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod#include "harfbuzz-impl.h" 186b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod#include "harfbuzz-buffer.h" 196b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 206b347138b597c41af24453f630336ba2fc033dc5Behdad EsfahbodFT_BEGIN_HEADER 216b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 226b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod#define HB_GLYPH_PROPERTIES_UNKNOWN 0xFFFF 236b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 246b347138b597c41af24453f630336ba2fc033dc5Behdad EsfahbodHB_INTERNAL void 256b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod_hb_buffer_swap( HB_Buffer buffer ); 266b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 276b347138b597c41af24453f630336ba2fc033dc5Behdad EsfahbodHB_INTERNAL void 286b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod_hb_buffer_clear_output( HB_Buffer buffer ); 296b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 306b347138b597c41af24453f630336ba2fc033dc5Behdad EsfahbodHB_INTERNAL HB_Error 316b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod_hb_buffer_clear_positions( HB_Buffer buffer ); 326b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 336b347138b597c41af24453f630336ba2fc033dc5Behdad EsfahbodHB_INTERNAL HB_Error 346b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod_hb_buffer_add_output_glyphs( HB_Buffer buffer, 356b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod FT_UShort num_in, 366b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod FT_UShort num_out, 376b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod FT_UShort *glyph_data, 386b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod FT_UShort component, 396b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod FT_UShort ligID ); 406b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 416b347138b597c41af24453f630336ba2fc033dc5Behdad EsfahbodHB_INTERNAL HB_Error 426b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod_hb_buffer_add_output_glyph ( HB_Buffer buffer, 436b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod FT_UInt glyph_index, 446b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod FT_UShort component, 456b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod FT_UShort ligID ); 466b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 476b347138b597c41af24453f630336ba2fc033dc5Behdad EsfahbodHB_INTERNAL HB_Error 486b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod_hb_buffer_copy_output_glyph ( HB_Buffer buffer ); 496b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 506b347138b597c41af24453f630336ba2fc033dc5Behdad EsfahbodHB_INTERNAL HB_Error 516b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod_hb_buffer_replace_output_glyph ( HB_Buffer buffer, 526b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod FT_UInt glyph_index, 536b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod FT_Bool inplace ); 546b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 556b347138b597c41af24453f630336ba2fc033dc5Behdad EsfahbodHB_INTERNAL FT_UShort 566b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod_hb_buffer_allocate_ligid( HB_Buffer buffer ); 576b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 586b347138b597c41af24453f630336ba2fc033dc5Behdad EsfahbodFT_END_HEADER 596b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 606b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod#endif /* HARFBUZZ_BUFFER_PRIVATE_H */ 61