# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.9
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.



from sys import version_info
if version_info >= (2,6,0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_font_cache', [dirname(__file__)])
        except ImportError:
            import _font_cache
            return _font_cache
        if fp is not None:
            try:
                _mod = imp.load_module('_font_cache', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _font_cache = swig_import_helper()
    del swig_import_helper
else:
    import _font_cache
del version_info
try:
    _swig_property = property
except NameError:
    pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
    if (name == "thisown"): return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    if (not static):
        self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)

def _swig_setattr(self,class_type,name,value):
    return _swig_setattr_nondynamic(self,class_type,name,value,0)

def _swig_getattr(self,class_type,name):
    if (name == "thisown"): return self.this.own()
    method = class_type.__swig_getmethods__.get(name,None)
    if method: return method(self)
    raise AttributeError(name)

def _swig_repr(self):
    try: strthis = "proxy of " + self.this.__repr__()
    except: strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0


class SwigPyIterator(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
    def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _font_cache.delete_SwigPyIterator
    __del__ = lambda self : None;
    def value(self): return _font_cache.SwigPyIterator_value(self)
    def incr(self, n=1): return _font_cache.SwigPyIterator_incr(self, n)
    def decr(self, n=1): return _font_cache.SwigPyIterator_decr(self, n)
    def distance(self, *args): return _font_cache.SwigPyIterator_distance(self, *args)
    def equal(self, *args): return _font_cache.SwigPyIterator_equal(self, *args)
    def copy(self): return _font_cache.SwigPyIterator_copy(self)
    def next(self): return _font_cache.SwigPyIterator_next(self)
    def __next__(self): return _font_cache.SwigPyIterator___next__(self)
    def previous(self): return _font_cache.SwigPyIterator_previous(self)
    def advance(self, *args): return _font_cache.SwigPyIterator_advance(self, *args)
    def __eq__(self, *args): return _font_cache.SwigPyIterator___eq__(self, *args)
    def __ne__(self, *args): return _font_cache.SwigPyIterator___ne__(self, *args)
    def __iadd__(self, *args): return _font_cache.SwigPyIterator___iadd__(self, *args)
    def __isub__(self, *args): return _font_cache.SwigPyIterator___isub__(self, *args)
    def __add__(self, *args): return _font_cache.SwigPyIterator___add__(self, *args)
    def __sub__(self, *args): return _font_cache.SwigPyIterator___sub__(self, *args)
    def __iter__(self): return self
SwigPyIterator_swigregister = _font_cache.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)

class StringVector(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, StringVector, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, StringVector, name)
    __repr__ = _swig_repr
    def iterator(self): return _font_cache.StringVector_iterator(self)
    def __iter__(self): return self.iterator()
    def __nonzero__(self): return _font_cache.StringVector___nonzero__(self)
    def __bool__(self): return _font_cache.StringVector___bool__(self)
    def __len__(self): return _font_cache.StringVector___len__(self)
    def pop(self): return _font_cache.StringVector_pop(self)
    def __getslice__(self, *args): return _font_cache.StringVector___getslice__(self, *args)
    def __setslice__(self, *args): return _font_cache.StringVector___setslice__(self, *args)
    def __delslice__(self, *args): return _font_cache.StringVector___delslice__(self, *args)
    def __delitem__(self, *args): return _font_cache.StringVector___delitem__(self, *args)
    def __getitem__(self, *args): return _font_cache.StringVector___getitem__(self, *args)
    def __setitem__(self, *args): return _font_cache.StringVector___setitem__(self, *args)
    def append(self, *args): return _font_cache.StringVector_append(self, *args)
    def empty(self): return _font_cache.StringVector_empty(self)
    def size(self): return _font_cache.StringVector_size(self)
    def clear(self): return _font_cache.StringVector_clear(self)
    def swap(self, *args): return _font_cache.StringVector_swap(self, *args)
    def get_allocator(self): return _font_cache.StringVector_get_allocator(self)
    def begin(self): return _font_cache.StringVector_begin(self)
    def end(self): return _font_cache.StringVector_end(self)
    def rbegin(self): return _font_cache.StringVector_rbegin(self)
    def rend(self): return _font_cache.StringVector_rend(self)
    def pop_back(self): return _font_cache.StringVector_pop_back(self)
    def erase(self, *args): return _font_cache.StringVector_erase(self, *args)
    def __init__(self, *args): 
        this = _font_cache.new_StringVector(*args)
        try: self.this.append(this)
        except: self.this = this
    def push_back(self, *args): return _font_cache.StringVector_push_back(self, *args)
    def front(self): return _font_cache.StringVector_front(self)
    def back(self): return _font_cache.StringVector_back(self)
    def assign(self, *args): return _font_cache.StringVector_assign(self, *args)
    def resize(self, *args): return _font_cache.StringVector_resize(self, *args)
    def insert(self, *args): return _font_cache.StringVector_insert(self, *args)
    def reserve(self, *args): return _font_cache.StringVector_reserve(self, *args)
    def capacity(self): return _font_cache.StringVector_capacity(self)
    __swig_destroy__ = _font_cache.delete_StringVector
    __del__ = lambda self : None;
StringVector_swigregister = _font_cache.StringVector_swigregister
StringVector_swigregister(StringVector)

FONT_BITMAP_MONO = _font_cache.FONT_BITMAP_MONO
FONT_BITMAP_GRAYSCALE_FT = _font_cache.FONT_BITMAP_GRAYSCALE_FT
FONT_BITMAP_GRAYSCALE = _font_cache.FONT_BITMAP_GRAYSCALE
class MGFontInfo(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MGFontInfo, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MGFontInfo, name)
    __repr__ = _swig_repr
    __swig_setmethods__["bm"] = _font_cache.MGFontInfo_bm_set
    __swig_getmethods__["bm"] = _font_cache.MGFontInfo_bm_get
    if _newclass:bm = _swig_property(_font_cache.MGFontInfo_bm_get, _font_cache.MGFontInfo_bm_set)
    __swig_setmethods__["foundry"] = _font_cache.MGFontInfo_foundry_set
    __swig_getmethods__["foundry"] = _font_cache.MGFontInfo_foundry_get
    if _newclass:foundry = _swig_property(_font_cache.MGFontInfo_foundry_get, _font_cache.MGFontInfo_foundry_set)
    __swig_setmethods__["family"] = _font_cache.MGFontInfo_family_set
    __swig_getmethods__["family"] = _font_cache.MGFontInfo_family_get
    if _newclass:family = _swig_property(_font_cache.MGFontInfo_family_get, _font_cache.MGFontInfo_family_set)
    __swig_setmethods__["weight"] = _font_cache.MGFontInfo_weight_set
    __swig_getmethods__["weight"] = _font_cache.MGFontInfo_weight_get
    if _newclass:weight = _swig_property(_font_cache.MGFontInfo_weight_get, _font_cache.MGFontInfo_weight_set)
    __swig_setmethods__["slant"] = _font_cache.MGFontInfo_slant_set
    __swig_getmethods__["slant"] = _font_cache.MGFontInfo_slant_get
    if _newclass:slant = _swig_property(_font_cache.MGFontInfo_slant_get, _font_cache.MGFontInfo_slant_set)
    __swig_setmethods__["encoding"] = _font_cache.MGFontInfo_encoding_set
    __swig_getmethods__["encoding"] = _font_cache.MGFontInfo_encoding_get
    if _newclass:encoding = _swig_property(_font_cache.MGFontInfo_encoding_get, _font_cache.MGFontInfo_encoding_set)
    __swig_setmethods__["widths"] = _font_cache.MGFontInfo_widths_set
    __swig_getmethods__["widths"] = _font_cache.MGFontInfo_widths_get
    if _newclass:widths = _swig_property(_font_cache.MGFontInfo_widths_get, _font_cache.MGFontInfo_widths_set)
    __swig_setmethods__["heights"] = _font_cache.MGFontInfo_heights_set
    __swig_getmethods__["heights"] = _font_cache.MGFontInfo_heights_get
    if _newclass:heights = _swig_property(_font_cache.MGFontInfo_heights_get, _font_cache.MGFontInfo_heights_set)
    __swig_setmethods__["lbearings"] = _font_cache.MGFontInfo_lbearings_set
    __swig_getmethods__["lbearings"] = _font_cache.MGFontInfo_lbearings_get
    if _newclass:lbearings = _swig_property(_font_cache.MGFontInfo_lbearings_get, _font_cache.MGFontInfo_lbearings_set)
    __swig_setmethods__["descents"] = _font_cache.MGFontInfo_descents_set
    __swig_getmethods__["descents"] = _font_cache.MGFontInfo_descents_get
    if _newclass:descents = _swig_property(_font_cache.MGFontInfo_descents_get, _font_cache.MGFontInfo_descents_set)
    __swig_setmethods__["dxs"] = _font_cache.MGFontInfo_dxs_set
    __swig_getmethods__["dxs"] = _font_cache.MGFontInfo_dxs_get
    if _newclass:dxs = _swig_property(_font_cache.MGFontInfo_dxs_get, _font_cache.MGFontInfo_dxs_set)
    __swig_setmethods__["dys"] = _font_cache.MGFontInfo_dys_set
    __swig_getmethods__["dys"] = _font_cache.MGFontInfo_dys_get
    if _newclass:dys = _swig_property(_font_cache.MGFontInfo_dys_get, _font_cache.MGFontInfo_dys_set)
    __swig_setmethods__["fn_size"] = _font_cache.MGFontInfo_fn_size_set
    __swig_getmethods__["fn_size"] = _font_cache.MGFontInfo_fn_size_get
    if _newclass:fn_size = _swig_property(_font_cache.MGFontInfo_fn_size_get, _font_cache.MGFontInfo_fn_size_set)
    def HaveKerning(self): return _font_cache.MGFontInfo_HaveKerning(self)
    def BaseLineSkip(self): return _font_cache.MGFontInfo_BaseLineSkip(self)
    def UnderLinePosition(self): return _font_cache.MGFontInfo_UnderLinePosition(self)
    def UnderLineWidth(self): return _font_cache.MGFontInfo_UnderLineWidth(self)
    def StrikeThroughPosition(self): return _font_cache.MGFontInfo_StrikeThroughPosition(self)
    __swig_setmethods__["base"] = _font_cache.MGFontInfo_base_set
    __swig_getmethods__["base"] = _font_cache.MGFontInfo_base_get
    if _newclass:base = _swig_property(_font_cache.MGFontInfo_base_get, _font_cache.MGFontInfo_base_set)
    __swig_setmethods__["last"] = _font_cache.MGFontInfo_last_set
    __swig_getmethods__["last"] = _font_cache.MGFontInfo_last_get
    if _newclass:last = _swig_property(_font_cache.MGFontInfo_last_get, _font_cache.MGFontInfo_last_set)
    def isValid(self): return _font_cache.MGFontInfo_isValid(self)
    def Foundry(self): return _font_cache.MGFontInfo_Foundry(self)
    def Family(self): return _font_cache.MGFontInfo_Family(self)
    def Weight(self): return _font_cache.MGFontInfo_Weight(self)
    def Slant(self): return _font_cache.MGFontInfo_Slant(self)
    def Encoding(self): return _font_cache.MGFontInfo_Encoding(self)
    def Size(self): return _font_cache.MGFontInfo_Size(self)
    def Width(self, *args): return _font_cache.MGFontInfo_Width(self, *args)
    def Height(self, *args): return _font_cache.MGFontInfo_Height(self, *args)
    def LBearing(self, *args): return _font_cache.MGFontInfo_LBearing(self, *args)
    def Descent(self, *args): return _font_cache.MGFontInfo_Descent(self, *args)
    def AdvanceX(self, *args): return _font_cache.MGFontInfo_AdvanceX(self, *args)
    def AdvanceY(self, *args): return _font_cache.MGFontInfo_AdvanceY(self, *args)
    def BitMap(self, *args): return _font_cache.MGFontInfo_BitMap(self, *args)
    def FullBitMap(self, *args): return _font_cache.MGFontInfo_FullBitMap(self, *args)
    def FullBitMapWidth(self, *args): return _font_cache.MGFontInfo_FullBitMapWidth(self, *args)
    __swig_setmethods__["format"] = _font_cache.MGFontInfo_format_set
    __swig_getmethods__["format"] = _font_cache.MGFontInfo_format_get
    if _newclass:format = _swig_property(_font_cache.MGFontInfo_format_get, _font_cache.MGFontInfo_format_set)
    __swig_setmethods__["texture_id"] = _font_cache.MGFontInfo_texture_id_set
    __swig_getmethods__["texture_id"] = _font_cache.MGFontInfo_texture_id_get
    if _newclass:texture_id = _swig_property(_font_cache.MGFontInfo_texture_id_get, _font_cache.MGFontInfo_texture_id_set)
    def SetTextureID(self, *args): return _font_cache.MGFontInfo_SetTextureID(self, *args)
    def GetTextureID(self): return _font_cache.MGFontInfo_GetTextureID(self)
    def __init__(self, *args): 
        this = _font_cache.new_MGFontInfo(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _font_cache.delete_MGFontInfo
    __del__ = lambda self : None;
MGFontInfo_swigregister = _font_cache.MGFontInfo_swigregister
MGFontInfo_swigregister(MGFontInfo)

class FontCache(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, FontCache, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, FontCache, name)
    __repr__ = _swig_repr
    __swig_getmethods__["isGlutFont"] = lambda x: _font_cache.FontCache_isGlutFont
    if _newclass:isGlutFont = staticmethod(_font_cache.FontCache_isGlutFont)
    __swig_getmethods__["NumberOfFonts"] = lambda x: _font_cache.FontCache_NumberOfFonts
    if _newclass:NumberOfFonts = staticmethod(_font_cache.FontCache_NumberOfFonts)
    __swig_getmethods__["isFamilyCached"] = lambda x: _font_cache.FontCache_isFamilyCached
    if _newclass:isFamilyCached = staticmethod(_font_cache.FontCache_isFamilyCached)
    __swig_getmethods__["isFaceCached"] = lambda x: _font_cache.FontCache_isFaceCached
    if _newclass:isFaceCached = staticmethod(_font_cache.FontCache_isFaceCached)
    __swig_getmethods__["isCached"] = lambda x: _font_cache.FontCache_isCached
    if _newclass:isCached = staticmethod(_font_cache.FontCache_isCached)
    __swig_getmethods__["SetFont"] = lambda x: _font_cache.FontCache_SetFont
    if _newclass:SetFont = staticmethod(_font_cache.FontCache_SetFont)
    __swig_getmethods__["GetFont"] = lambda x: _font_cache.FontCache_GetFont
    if _newclass:GetFont = staticmethod(_font_cache.FontCache_GetFont)
    __swig_getmethods__["LoadFont"] = lambda x: _font_cache.FontCache_LoadFont
    if _newclass:LoadFont = staticmethod(_font_cache.FontCache_LoadFont)
    __swig_getmethods__["AddFont"] = lambda x: _font_cache.FontCache_AddFont
    if _newclass:AddFont = staticmethod(_font_cache.FontCache_AddFont)
    __swig_getmethods__["GetFamilyList"] = lambda x: _font_cache.FontCache_GetFamilyList
    if _newclass:GetFamilyList = staticmethod(_font_cache.FontCache_GetFamilyList)
    __swig_getmethods__["GetSortedFamilyList"] = lambda x: _font_cache.FontCache_GetSortedFamilyList
    if _newclass:GetSortedFamilyList = staticmethod(_font_cache.FontCache_GetSortedFamilyList)
    __swig_getmethods__["LoadAllFonts"] = lambda x: _font_cache.FontCache_LoadAllFonts
    if _newclass:LoadAllFonts = staticmethod(_font_cache.FontCache_LoadAllFonts)
    __swig_getmethods__["LoadAllGlutFonts"] = lambda x: _font_cache.FontCache_LoadAllGlutFonts
    if _newclass:LoadAllGlutFonts = staticmethod(_font_cache.FontCache_LoadAllGlutFonts)
    __swig_getmethods__["FindNextFontSize"] = lambda x: _font_cache.FontCache_FindNextFontSize
    if _newclass:FindNextFontSize = staticmethod(_font_cache.FontCache_FindNextFontSize)
    def __init__(self): 
        this = _font_cache.new_FontCache()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _font_cache.delete_FontCache
    __del__ = lambda self : None;
FontCache_swigregister = _font_cache.FontCache_swigregister
FontCache_swigregister(FontCache)

def FontCache_isGlutFont(*args):
  return _font_cache.FontCache_isGlutFont(*args)
FontCache_isGlutFont = _font_cache.FontCache_isGlutFont

def FontCache_NumberOfFonts():
  return _font_cache.FontCache_NumberOfFonts()
FontCache_NumberOfFonts = _font_cache.FontCache_NumberOfFonts

def FontCache_isFamilyCached(*args):
  return _font_cache.FontCache_isFamilyCached(*args)
FontCache_isFamilyCached = _font_cache.FontCache_isFamilyCached

def FontCache_isFaceCached(*args):
  return _font_cache.FontCache_isFaceCached(*args)
FontCache_isFaceCached = _font_cache.FontCache_isFaceCached

def FontCache_isCached(*args):
  return _font_cache.FontCache_isCached(*args)
FontCache_isCached = _font_cache.FontCache_isCached

def FontCache_SetFont(*args):
  return _font_cache.FontCache_SetFont(*args)
FontCache_SetFont = _font_cache.FontCache_SetFont

def FontCache_GetFont(*args):
  return _font_cache.FontCache_GetFont(*args)
FontCache_GetFont = _font_cache.FontCache_GetFont

def FontCache_LoadFont(*args):
  return _font_cache.FontCache_LoadFont(*args)
FontCache_LoadFont = _font_cache.FontCache_LoadFont

def FontCache_AddFont(*args):
  return _font_cache.FontCache_AddFont(*args)
FontCache_AddFont = _font_cache.FontCache_AddFont

def FontCache_GetFamilyList():
  return _font_cache.FontCache_GetFamilyList()
FontCache_GetFamilyList = _font_cache.FontCache_GetFamilyList

def FontCache_GetSortedFamilyList():
  return _font_cache.FontCache_GetSortedFamilyList()
FontCache_GetSortedFamilyList = _font_cache.FontCache_GetSortedFamilyList

def FontCache_LoadAllFonts():
  return _font_cache.FontCache_LoadAllFonts()
FontCache_LoadAllFonts = _font_cache.FontCache_LoadAllFonts

def FontCache_LoadAllGlutFonts():
  return _font_cache.FontCache_LoadAllGlutFonts()
FontCache_LoadAllGlutFonts = _font_cache.FontCache_LoadAllGlutFonts

def FontCache_FindNextFontSize(*args):
  return _font_cache.FontCache_FindNextFontSize(*args)
FontCache_FindNextFontSize = _font_cache.FontCache_FindNextFontSize


def ParseX11Name(*args):
  return _font_cache.ParseX11Name(*args)
ParseX11Name = _font_cache.ParseX11Name

def MakeExampleStringImage(*args):
  return _font_cache.MakeExampleStringImage(*args)
MakeExampleStringImage = _font_cache.MakeExampleStringImage

def MakeStringImage(*args):
  return _font_cache.MakeStringImage(*args)
MakeStringImage = _font_cache.MakeStringImage

def WriteStringImage(*args):
  return _font_cache.WriteStringImage(*args)
WriteStringImage = _font_cache.WriteStringImage

def OverlayTextOnImage(*args):
  return _font_cache.OverlayTextOnImage(*args)
OverlayTextOnImage = _font_cache.OverlayTextOnImage
# This file is compatible with both classic and new-style classes.


