# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.10
#
# 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('_mypaintlib', [dirname(__file__)])
        except ImportError:
            import _mypaintlib
            return _mypaintlib
        if fp is not None:
            try:
                _mod = imp.load_module('_mypaintlib', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _mypaintlib = swig_import_helper()
    del swig_import_helper
else:
    import _mypaintlib
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__ = _mypaintlib.delete_SwigPyIterator
    def value(self): return _mypaintlib.SwigPyIterator_value(self)
    def incr(self, n=1): return _mypaintlib.SwigPyIterator_incr(self, n)
    def decr(self, n=1): return _mypaintlib.SwigPyIterator_decr(self, n)
    def distance(self, *args): return _mypaintlib.SwigPyIterator_distance(self, *args)
    def equal(self, *args): return _mypaintlib.SwigPyIterator_equal(self, *args)
    def copy(self): return _mypaintlib.SwigPyIterator_copy(self)
    def next(self): return _mypaintlib.SwigPyIterator_next(self)
    def __next__(self): return _mypaintlib.SwigPyIterator___next__(self)
    def previous(self): return _mypaintlib.SwigPyIterator_previous(self)
    def advance(self, *args): return _mypaintlib.SwigPyIterator_advance(self, *args)
    def __eq__(self, *args): return _mypaintlib.SwigPyIterator___eq__(self, *args)
    def __ne__(self, *args): return _mypaintlib.SwigPyIterator___ne__(self, *args)
    def __iadd__(self, *args): return _mypaintlib.SwigPyIterator___iadd__(self, *args)
    def __isub__(self, *args): return _mypaintlib.SwigPyIterator___isub__(self, *args)
    def __add__(self, *args): return _mypaintlib.SwigPyIterator___add__(self, *args)
    def __sub__(self, *args): return _mypaintlib.SwigPyIterator___sub__(self, *args)
    def __iter__(self): return self
SwigPyIterator_swigregister = _mypaintlib.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)

class IntVector(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, IntVector, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, IntVector, name)
    __repr__ = _swig_repr
    def iterator(self): return _mypaintlib.IntVector_iterator(self)
    def __iter__(self): return self.iterator()
    def __nonzero__(self): return _mypaintlib.IntVector___nonzero__(self)
    def __bool__(self): return _mypaintlib.IntVector___bool__(self)
    def __len__(self): return _mypaintlib.IntVector___len__(self)
    def pop(self): return _mypaintlib.IntVector_pop(self)
    def __getslice__(self, *args): return _mypaintlib.IntVector___getslice__(self, *args)
    def __setslice__(self, *args): return _mypaintlib.IntVector___setslice__(self, *args)
    def __delslice__(self, *args): return _mypaintlib.IntVector___delslice__(self, *args)
    def __delitem__(self, *args): return _mypaintlib.IntVector___delitem__(self, *args)
    def __getitem__(self, *args): return _mypaintlib.IntVector___getitem__(self, *args)
    def __setitem__(self, *args): return _mypaintlib.IntVector___setitem__(self, *args)
    def append(self, *args): return _mypaintlib.IntVector_append(self, *args)
    def empty(self): return _mypaintlib.IntVector_empty(self)
    def size(self): return _mypaintlib.IntVector_size(self)
    def clear(self): return _mypaintlib.IntVector_clear(self)
    def swap(self, *args): return _mypaintlib.IntVector_swap(self, *args)
    def get_allocator(self): return _mypaintlib.IntVector_get_allocator(self)
    def begin(self): return _mypaintlib.IntVector_begin(self)
    def end(self): return _mypaintlib.IntVector_end(self)
    def rbegin(self): return _mypaintlib.IntVector_rbegin(self)
    def rend(self): return _mypaintlib.IntVector_rend(self)
    def pop_back(self): return _mypaintlib.IntVector_pop_back(self)
    def erase(self, *args): return _mypaintlib.IntVector_erase(self, *args)
    def __init__(self, *args): 
        this = _mypaintlib.new_IntVector(*args)
        try: self.this.append(this)
        except: self.this = this
    def push_back(self, *args): return _mypaintlib.IntVector_push_back(self, *args)
    def front(self): return _mypaintlib.IntVector_front(self)
    def back(self): return _mypaintlib.IntVector_back(self)
    def assign(self, *args): return _mypaintlib.IntVector_assign(self, *args)
    def resize(self, *args): return _mypaintlib.IntVector_resize(self, *args)
    def insert(self, *args): return _mypaintlib.IntVector_insert(self, *args)
    def reserve(self, *args): return _mypaintlib.IntVector_reserve(self, *args)
    def capacity(self): return _mypaintlib.IntVector_capacity(self)
    __swig_destroy__ = _mypaintlib.delete_IntVector
IntVector_swigregister = _mypaintlib.IntVector_swigregister
IntVector_swigregister(IntVector)

class DoubleVector(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, DoubleVector, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, DoubleVector, name)
    __repr__ = _swig_repr
    def iterator(self): return _mypaintlib.DoubleVector_iterator(self)
    def __iter__(self): return self.iterator()
    def __nonzero__(self): return _mypaintlib.DoubleVector___nonzero__(self)
    def __bool__(self): return _mypaintlib.DoubleVector___bool__(self)
    def __len__(self): return _mypaintlib.DoubleVector___len__(self)
    def pop(self): return _mypaintlib.DoubleVector_pop(self)
    def __getslice__(self, *args): return _mypaintlib.DoubleVector___getslice__(self, *args)
    def __setslice__(self, *args): return _mypaintlib.DoubleVector___setslice__(self, *args)
    def __delslice__(self, *args): return _mypaintlib.DoubleVector___delslice__(self, *args)
    def __delitem__(self, *args): return _mypaintlib.DoubleVector___delitem__(self, *args)
    def __getitem__(self, *args): return _mypaintlib.DoubleVector___getitem__(self, *args)
    def __setitem__(self, *args): return _mypaintlib.DoubleVector___setitem__(self, *args)
    def append(self, *args): return _mypaintlib.DoubleVector_append(self, *args)
    def empty(self): return _mypaintlib.DoubleVector_empty(self)
    def size(self): return _mypaintlib.DoubleVector_size(self)
    def clear(self): return _mypaintlib.DoubleVector_clear(self)
    def swap(self, *args): return _mypaintlib.DoubleVector_swap(self, *args)
    def get_allocator(self): return _mypaintlib.DoubleVector_get_allocator(self)
    def begin(self): return _mypaintlib.DoubleVector_begin(self)
    def end(self): return _mypaintlib.DoubleVector_end(self)
    def rbegin(self): return _mypaintlib.DoubleVector_rbegin(self)
    def rend(self): return _mypaintlib.DoubleVector_rend(self)
    def pop_back(self): return _mypaintlib.DoubleVector_pop_back(self)
    def erase(self, *args): return _mypaintlib.DoubleVector_erase(self, *args)
    def __init__(self, *args): 
        this = _mypaintlib.new_DoubleVector(*args)
        try: self.this.append(this)
        except: self.this = this
    def push_back(self, *args): return _mypaintlib.DoubleVector_push_back(self, *args)
    def front(self): return _mypaintlib.DoubleVector_front(self)
    def back(self): return _mypaintlib.DoubleVector_back(self)
    def assign(self, *args): return _mypaintlib.DoubleVector_assign(self, *args)
    def resize(self, *args): return _mypaintlib.DoubleVector_resize(self, *args)
    def insert(self, *args): return _mypaintlib.DoubleVector_insert(self, *args)
    def reserve(self, *args): return _mypaintlib.DoubleVector_reserve(self, *args)
    def capacity(self): return _mypaintlib.DoubleVector_capacity(self)
    __swig_destroy__ = _mypaintlib.delete_DoubleVector
DoubleVector_swigregister = _mypaintlib.DoubleVector_swigregister
DoubleVector_swigregister(DoubleVector)

class Rect(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, Rect, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, Rect, name)
    __repr__ = _swig_repr
    __swig_setmethods__["x"] = _mypaintlib.Rect_x_set
    __swig_getmethods__["x"] = _mypaintlib.Rect_x_get
    if _newclass:x = _swig_property(_mypaintlib.Rect_x_get, _mypaintlib.Rect_x_set)
    __swig_setmethods__["y"] = _mypaintlib.Rect_y_set
    __swig_getmethods__["y"] = _mypaintlib.Rect_y_get
    if _newclass:y = _swig_property(_mypaintlib.Rect_y_get, _mypaintlib.Rect_y_set)
    __swig_setmethods__["w"] = _mypaintlib.Rect_w_set
    __swig_getmethods__["w"] = _mypaintlib.Rect_w_get
    if _newclass:w = _swig_property(_mypaintlib.Rect_w_get, _mypaintlib.Rect_w_set)
    __swig_setmethods__["h"] = _mypaintlib.Rect_h_set
    __swig_getmethods__["h"] = _mypaintlib.Rect_h_get
    if _newclass:h = _swig_property(_mypaintlib.Rect_h_get, _mypaintlib.Rect_h_set)
    def __init__(self): 
        this = _mypaintlib.new_Rect()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _mypaintlib.delete_Rect
Rect_swigregister = _mypaintlib.Rect_swigregister
Rect_swigregister(Rect)

class Surface(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, Surface, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, Surface, name)
    def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _mypaintlib.delete_Surface
    def draw_dab(self, *args): return _mypaintlib.Surface_draw_dab(self, *args)
    def get_color(self, *args): return _mypaintlib.Surface_get_color(self, *args)
    def get_surface_interface(self): return _mypaintlib.Surface_get_surface_interface(self)
Surface_swigregister = _mypaintlib.Surface_swigregister
Surface_swigregister(Surface)

class Brush(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, Brush, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, Brush, name)
    __repr__ = _swig_repr
    def __init__(self): 
        this = _mypaintlib.new_Brush()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _mypaintlib.delete_Brush
    def reset(self): return _mypaintlib.Brush_reset(self)
    def new_stroke(self): return _mypaintlib.Brush_new_stroke(self)
    def set_base_value(self, *args): return _mypaintlib.Brush_set_base_value(self, *args)
    def set_mapping_n(self, *args): return _mypaintlib.Brush_set_mapping_n(self, *args)
    def set_mapping_point(self, *args): return _mypaintlib.Brush_set_mapping_point(self, *args)
    def get_state(self, *args): return _mypaintlib.Brush_get_state(self, *args)
    def set_state(self, *args): return _mypaintlib.Brush_set_state(self, *args)
    def stroke_to(self, *args): return _mypaintlib.Brush_stroke_to(self, *args)
    def get_total_stroke_painting_time(self): return _mypaintlib.Brush_get_total_stroke_painting_time(self)
    def set_print_inputs(self, *args): return _mypaintlib.Brush_set_print_inputs(self, *args)
Brush_swigregister = _mypaintlib.Brush_swigregister
Brush_swigregister(Brush)

class MappingWrapper(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MappingWrapper, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MappingWrapper, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _mypaintlib.new_MappingWrapper(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _mypaintlib.delete_MappingWrapper
    def set_n(self, *args): return _mypaintlib.MappingWrapper_set_n(self, *args)
    def set_point(self, *args): return _mypaintlib.MappingWrapper_set_point(self, *args)
    def is_constant(self): return _mypaintlib.MappingWrapper_is_constant(self)
    def calculate(self, *args): return _mypaintlib.MappingWrapper_calculate(self, *args)
    def calculate_single_input(self, *args): return _mypaintlib.MappingWrapper_calculate_single_input(self, *args)
MappingWrapper_swigregister = _mypaintlib.MappingWrapper_swigregister
MappingWrapper_swigregister(MappingWrapper)

class PythonBrush(Brush):
    __swig_setmethods__ = {}
    for _s in [Brush]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, PythonBrush, name, value)
    __swig_getmethods__ = {}
    for _s in [Brush]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, PythonBrush, name)
    __repr__ = _swig_repr
    def python_get_state(self): return _mypaintlib.PythonBrush_python_get_state(self)
    def python_set_state(self, *args): return _mypaintlib.PythonBrush_python_set_state(self, *args)
    def python_stroke_to(self, *args): return _mypaintlib.PythonBrush_python_stroke_to(self, *args)
    def __init__(self): 
        this = _mypaintlib.new_PythonBrush()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _mypaintlib.delete_PythonBrush
PythonBrush_swigregister = _mypaintlib.PythonBrush_swigregister
PythonBrush_swigregister(PythonBrush)

class TiledSurface(Surface):
    __swig_setmethods__ = {}
    for _s in [Surface]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, TiledSurface, name, value)
    __swig_getmethods__ = {}
    for _s in [Surface]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, TiledSurface, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _mypaintlib.new_TiledSurface(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _mypaintlib.delete_TiledSurface
    def set_symmetry_state(self, *args): return _mypaintlib.TiledSurface_set_symmetry_state(self, *args)
    def begin_atomic(self): return _mypaintlib.TiledSurface_begin_atomic(self)
    def end_atomic(self): return _mypaintlib.TiledSurface_end_atomic(self)
    def get_tile_memory(self, *args): return _mypaintlib.TiledSurface_get_tile_memory(self, *args)
    def draw_dab(self, *args): return _mypaintlib.TiledSurface_draw_dab(self, *args)
    def get_color(self, *args): return _mypaintlib.TiledSurface_get_color(self, *args)
    def get_alpha(self, *args): return _mypaintlib.TiledSurface_get_alpha(self, *args)
    def get_surface_interface(self): return _mypaintlib.TiledSurface_get_surface_interface(self)
TiledSurface_swigregister = _mypaintlib.TiledSurface_swigregister
TiledSurface_swigregister(TiledSurface)
cvar = _mypaintlib.cvar
TILE_SIZE = cvar.TILE_SIZE


def get_module(*args):
  return _mypaintlib.get_module(*args)
get_module = _mypaintlib.get_module

def new_py_tiled_surface(*args):
  return _mypaintlib.new_py_tiled_surface(*args)
new_py_tiled_surface = _mypaintlib.new_py_tiled_surface

def mypaint_python_surface_factory(*args):
  return _mypaintlib.mypaint_python_surface_factory(*args)
mypaint_python_surface_factory = _mypaintlib.mypaint_python_surface_factory

def run_brushlib_tests():
  return _mypaintlib.run_brushlib_tests()
run_brushlib_tests = _mypaintlib.run_brushlib_tests

def tile_downscale_rgba16(*args):
  return _mypaintlib.tile_downscale_rgba16(*args)
tile_downscale_rgba16 = _mypaintlib.tile_downscale_rgba16

def tile_composite_normal(*args):
  return _mypaintlib.tile_composite_normal(*args)
tile_composite_normal = _mypaintlib.tile_composite_normal

def tile_composite_multiply(*args):
  return _mypaintlib.tile_composite_multiply(*args)
tile_composite_multiply = _mypaintlib.tile_composite_multiply

def tile_composite_screen(*args):
  return _mypaintlib.tile_composite_screen(*args)
tile_composite_screen = _mypaintlib.tile_composite_screen

def tile_composite_overlay(*args):
  return _mypaintlib.tile_composite_overlay(*args)
tile_composite_overlay = _mypaintlib.tile_composite_overlay

def tile_composite_hard_light(*args):
  return _mypaintlib.tile_composite_hard_light(*args)
tile_composite_hard_light = _mypaintlib.tile_composite_hard_light

def tile_composite_lighten(*args):
  return _mypaintlib.tile_composite_lighten(*args)
tile_composite_lighten = _mypaintlib.tile_composite_lighten

def tile_composite_darken(*args):
  return _mypaintlib.tile_composite_darken(*args)
tile_composite_darken = _mypaintlib.tile_composite_darken

def tile_composite_soft_light(*args):
  return _mypaintlib.tile_composite_soft_light(*args)
tile_composite_soft_light = _mypaintlib.tile_composite_soft_light

def tile_composite_color_dodge(*args):
  return _mypaintlib.tile_composite_color_dodge(*args)
tile_composite_color_dodge = _mypaintlib.tile_composite_color_dodge

def tile_composite_color_burn(*args):
  return _mypaintlib.tile_composite_color_burn(*args)
tile_composite_color_burn = _mypaintlib.tile_composite_color_burn

def tile_composite_difference(*args):
  return _mypaintlib.tile_composite_difference(*args)
tile_composite_difference = _mypaintlib.tile_composite_difference

def tile_composite_exclusion(*args):
  return _mypaintlib.tile_composite_exclusion(*args)
tile_composite_exclusion = _mypaintlib.tile_composite_exclusion

def tile_composite_hue(*args):
  return _mypaintlib.tile_composite_hue(*args)
tile_composite_hue = _mypaintlib.tile_composite_hue

def tile_composite_saturation(*args):
  return _mypaintlib.tile_composite_saturation(*args)
tile_composite_saturation = _mypaintlib.tile_composite_saturation

def tile_composite_color(*args):
  return _mypaintlib.tile_composite_color(*args)
tile_composite_color = _mypaintlib.tile_composite_color

def tile_composite_luminosity(*args):
  return _mypaintlib.tile_composite_luminosity(*args)
tile_composite_luminosity = _mypaintlib.tile_composite_luminosity

def tile_copy_rgba16_into_rgba16(*args):
  return _mypaintlib.tile_copy_rgba16_into_rgba16(*args)
tile_copy_rgba16_into_rgba16 = _mypaintlib.tile_copy_rgba16_into_rgba16

def tile_clear(*args):
  return _mypaintlib.tile_clear(*args)
tile_clear = _mypaintlib.tile_clear

def precalculate_dithering_noise_if_required():
  return _mypaintlib.precalculate_dithering_noise_if_required()
precalculate_dithering_noise_if_required = _mypaintlib.precalculate_dithering_noise_if_required

def tile_convert_rgba16_to_rgba8(*args):
  return _mypaintlib.tile_convert_rgba16_to_rgba8(*args)
tile_convert_rgba16_to_rgba8 = _mypaintlib.tile_convert_rgba16_to_rgba8

def tile_convert_rgbu16_to_rgbu8(*args):
  return _mypaintlib.tile_convert_rgbu16_to_rgbu8(*args)
tile_convert_rgbu16_to_rgbu8 = _mypaintlib.tile_convert_rgbu16_to_rgbu8

def tile_convert_rgba8_to_rgba16(*args):
  return _mypaintlib.tile_convert_rgba8_to_rgba16(*args)
tile_convert_rgba8_to_rgba16 = _mypaintlib.tile_convert_rgba8_to_rgba16

def tile_rgba2flat(*args):
  return _mypaintlib.tile_rgba2flat(*args)
tile_rgba2flat = _mypaintlib.tile_rgba2flat

def tile_flat2rgba(*args):
  return _mypaintlib.tile_flat2rgba(*args)
tile_flat2rgba = _mypaintlib.tile_flat2rgba

def tile_perceptual_change_strokemap(*args):
  return _mypaintlib.tile_perceptual_change_strokemap(*args)
tile_perceptual_change_strokemap = _mypaintlib.tile_perceptual_change_strokemap
class SCWSColorSelector(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, SCWSColorSelector, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, SCWSColorSelector, name)
    __repr__ = _swig_repr
    def get_size(self): return _mypaintlib.SCWSColorSelector_get_size(self)
    __swig_setmethods__["brush_h"] = _mypaintlib.SCWSColorSelector_brush_h_set
    __swig_getmethods__["brush_h"] = _mypaintlib.SCWSColorSelector_brush_h_get
    if _newclass:brush_h = _swig_property(_mypaintlib.SCWSColorSelector_brush_h_get, _mypaintlib.SCWSColorSelector_brush_h_set)
    __swig_setmethods__["brush_s"] = _mypaintlib.SCWSColorSelector_brush_s_set
    __swig_getmethods__["brush_s"] = _mypaintlib.SCWSColorSelector_brush_s_get
    if _newclass:brush_s = _swig_property(_mypaintlib.SCWSColorSelector_brush_s_get, _mypaintlib.SCWSColorSelector_brush_s_set)
    __swig_setmethods__["brush_v"] = _mypaintlib.SCWSColorSelector_brush_v_set
    __swig_getmethods__["brush_v"] = _mypaintlib.SCWSColorSelector_brush_v_get
    if _newclass:brush_v = _swig_property(_mypaintlib.SCWSColorSelector_brush_v_get, _mypaintlib.SCWSColorSelector_brush_v_set)
    def set_brush_color(self, *args): return _mypaintlib.SCWSColorSelector_set_brush_color(self, *args)
    def get_hsva_at(self, *args): return _mypaintlib.SCWSColorSelector_get_hsva_at(self, *args)
    def pick_color_at(self, *args): return _mypaintlib.SCWSColorSelector_pick_color_at(self, *args)
    def render(self, *args): return _mypaintlib.SCWSColorSelector_render(self, *args)
    def __init__(self): 
        this = _mypaintlib.new_SCWSColorSelector()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _mypaintlib.delete_SCWSColorSelector
SCWSColorSelector_swigregister = _mypaintlib.SCWSColorSelector_swigregister
SCWSColorSelector_swigregister(SCWSColorSelector)
heavy_debug = cvar.heavy_debug
dithering_noise_size = cvar.dithering_noise_size
colorring_size = cvar.colorring_size
center = cvar.center
RAD_TO_ONE = cvar.RAD_TO_ONE
TWO_PI = cvar.TWO_PI
ONE_OVER_THREE = cvar.ONE_OVER_THREE
TWO_OVER_THREE = cvar.TWO_OVER_THREE

class ColorChangerWash(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ColorChangerWash, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ColorChangerWash, name)
    __repr__ = _swig_repr
    __swig_setmethods__["brush_h"] = _mypaintlib.ColorChangerWash_brush_h_set
    __swig_getmethods__["brush_h"] = _mypaintlib.ColorChangerWash_brush_h_get
    if _newclass:brush_h = _swig_property(_mypaintlib.ColorChangerWash_brush_h_get, _mypaintlib.ColorChangerWash_brush_h_set)
    __swig_setmethods__["brush_s"] = _mypaintlib.ColorChangerWash_brush_s_set
    __swig_getmethods__["brush_s"] = _mypaintlib.ColorChangerWash_brush_s_get
    if _newclass:brush_s = _swig_property(_mypaintlib.ColorChangerWash_brush_s_get, _mypaintlib.ColorChangerWash_brush_s_set)
    __swig_setmethods__["brush_v"] = _mypaintlib.ColorChangerWash_brush_v_set
    __swig_getmethods__["brush_v"] = _mypaintlib.ColorChangerWash_brush_v_get
    if _newclass:brush_v = _swig_property(_mypaintlib.ColorChangerWash_brush_v_get, _mypaintlib.ColorChangerWash_brush_v_set)
    def set_brush_color(self, *args): return _mypaintlib.ColorChangerWash_set_brush_color(self, *args)
    def get_size(self): return _mypaintlib.ColorChangerWash_get_size(self)
    def render(self, *args): return _mypaintlib.ColorChangerWash_render(self, *args)
    def pick_color_at(self, *args): return _mypaintlib.ColorChangerWash_pick_color_at(self, *args)
    def __init__(self): 
        this = _mypaintlib.new_ColorChangerWash()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _mypaintlib.delete_ColorChangerWash
ColorChangerWash_swigregister = _mypaintlib.ColorChangerWash_swigregister
ColorChangerWash_swigregister(ColorChangerWash)
ccw_size = cvar.ccw_size
v06_colorchanger = cvar.v06_colorchanger

class ColorChangerCrossedBowl(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ColorChangerCrossedBowl, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ColorChangerCrossedBowl, name)
    __repr__ = _swig_repr
    __swig_setmethods__["brush_h"] = _mypaintlib.ColorChangerCrossedBowl_brush_h_set
    __swig_getmethods__["brush_h"] = _mypaintlib.ColorChangerCrossedBowl_brush_h_get
    if _newclass:brush_h = _swig_property(_mypaintlib.ColorChangerCrossedBowl_brush_h_get, _mypaintlib.ColorChangerCrossedBowl_brush_h_set)
    __swig_setmethods__["brush_s"] = _mypaintlib.ColorChangerCrossedBowl_brush_s_set
    __swig_getmethods__["brush_s"] = _mypaintlib.ColorChangerCrossedBowl_brush_s_get
    if _newclass:brush_s = _swig_property(_mypaintlib.ColorChangerCrossedBowl_brush_s_get, _mypaintlib.ColorChangerCrossedBowl_brush_s_set)
    __swig_setmethods__["brush_v"] = _mypaintlib.ColorChangerCrossedBowl_brush_v_set
    __swig_getmethods__["brush_v"] = _mypaintlib.ColorChangerCrossedBowl_brush_v_get
    if _newclass:brush_v = _swig_property(_mypaintlib.ColorChangerCrossedBowl_brush_v_get, _mypaintlib.ColorChangerCrossedBowl_brush_v_set)
    def set_brush_color(self, *args): return _mypaintlib.ColorChangerCrossedBowl_set_brush_color(self, *args)
    def get_size(self): return _mypaintlib.ColorChangerCrossedBowl_get_size(self)
    def render(self, *args): return _mypaintlib.ColorChangerCrossedBowl_render(self, *args)
    def pick_color_at(self, *args): return _mypaintlib.ColorChangerCrossedBowl_pick_color_at(self, *args)
    def __init__(self): 
        this = _mypaintlib.new_ColorChangerCrossedBowl()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _mypaintlib.delete_ColorChangerCrossedBowl
ColorChangerCrossedBowl_swigregister = _mypaintlib.ColorChangerCrossedBowl_swigregister
ColorChangerCrossedBowl_swigregister(ColorChangerCrossedBowl)
ccdb_size = cvar.ccdb_size


def save_png_fast_progressive(*args):
  return _mypaintlib.save_png_fast_progressive(*args)
save_png_fast_progressive = _mypaintlib.save_png_fast_progressive

def log_lcms2_error(*args):
  return _mypaintlib.log_lcms2_error(*args)
log_lcms2_error = _mypaintlib.log_lcms2_error

def load_png_fast_progressive(*args):
  return _mypaintlib.load_png_fast_progressive(*args)
load_png_fast_progressive = _mypaintlib.load_png_fast_progressive

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

PNG_gAMA_scale = cvar.PNG_gAMA_scale
PNG_cHRM_scale = cvar.PNG_cHRM_scale

