|
||||
File indexing completed on 2025-01-18 09:57:27
0001 /* FriBidi 0002 * fribidi-flags.h - option flags 0003 * 0004 * Author: 0005 * Behdad Esfahbod, 2005 0006 * 0007 * Copyright (C) 2005 Behdad Esfahbod 0008 * 0009 * This library is free software; you can redistribute it and/or 0010 * modify it under the terms of the GNU Lesser General Public 0011 * License as published by the Free Software Foundation; either 0012 * version 2.1 of the License, or (at your option) any later version. 0013 * 0014 * This library is distributed in the hope that it will be useful, 0015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0017 * Lesser General Public License for more details. 0018 * 0019 * You should have received a copy of the GNU Lesser General Public License 0020 * along with this library, in a file named COPYING; if not, write to the 0021 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0022 * Boston, MA 02110-1301, USA 0023 * 0024 * For licensing issues, contact <fribidi.license@gmail.com>. 0025 */ 0026 #ifndef _FRIBIDI_FLAGS_H 0027 #define _FRIBIDI_FLAGS_H 0028 0029 #include "fribidi-common.h" 0030 0031 #include "fribidi-types.h" 0032 0033 #include "fribidi-begindecls.h" 0034 0035 typedef uint32_t FriBidiFlags; 0036 0037 /* 0038 * Define option flags that various functions use. Each mask has 0039 * only one bit set. 0040 */ 0041 0042 #define FRIBIDI_FLAG_SHAPE_MIRRORING 0x00000001 0043 #define FRIBIDI_FLAG_REORDER_NSM 0x00000002 0044 0045 #define FRIBIDI_FLAG_SHAPE_ARAB_PRES 0x00000100 0046 #define FRIBIDI_FLAG_SHAPE_ARAB_LIGA 0x00000200 0047 #define FRIBIDI_FLAG_SHAPE_ARAB_CONSOLE 0x00000400 0048 0049 #define FRIBIDI_FLAG_REMOVE_BIDI 0x00010000 0050 #define FRIBIDI_FLAG_REMOVE_JOINING 0x00020000 0051 #define FRIBIDI_FLAG_REMOVE_SPECIALS 0x00040000 0052 0053 0054 /* 0055 * And their combinations. 0056 */ 0057 0058 #define FRIBIDI_FLAGS_DEFAULT ( \ 0059 FRIBIDI_FLAG_SHAPE_MIRRORING | \ 0060 FRIBIDI_FLAG_REORDER_NSM | \ 0061 FRIBIDI_FLAG_REMOVE_SPECIALS ) 0062 0063 #define FRIBIDI_FLAGS_ARABIC ( \ 0064 FRIBIDI_FLAG_SHAPE_ARAB_PRES | \ 0065 FRIBIDI_FLAG_SHAPE_ARAB_LIGA ) 0066 0067 #include "fribidi-enddecls.h" 0068 0069 #endif /* !_FRIBIDI_FLAGS_H */ 0070 /* Editor directions: 0071 * vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent 0072 */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |