Lines Matching refs:fcPattern
2 ctypedef struct FcPattern :
11 FcPattern *FcNameParse(FcChar8 *name)
12 FcPattern *FcFontMatch(FcConfig *config, FcPattern *match, FcResult *res)
13 FcResult FcPatternGetInteger(FcPattern *pattern, char *typeid, int index, int *res)
14 FcResult FcPatternGetString(FcPattern *pattern, char *typeid, int index, FcChar8 **res)
15 void FcPatternPrint(FcPattern *pattern)
16 void FcPatternDestroy(FcPattern *pattern)
20 cdef class fcPattern :
21 cdef FcPattern *_pattern
24 cdef FcPattern *temp
31 self._pattern = <FcPattern *>0
38 if self._pattern == <FcPattern *>0 or FcPatternGetInteger(self._pattern, typeid, index, &res) != FcResultMatch : return None
43 if self._pattern == <FcPattern *>0 or FcPatternGetString(self._pattern, typeid, index, &res) != FcResultMatch : return None