Searched refs:res_name_or_index (Results 1 – 2 of 2) sorted by relevance
61 def __init__(self, path, res_name_or_index): argument64 if isinstance(res_name_or_index, basestring):65 res = Res.Get1NamedResource('sfnt', res_name_or_index)67 res = Res.Get1IndResource('sfnt', res_name_or_index)
68 def __init__(self, file=None, res_name_or_index=None, argument150 if haveMacSupport and res_name_or_index is not None:153 if res_name_or_index == 0:160 file = macUtils.SFNTResourceReader(file, res_name_or_index)