reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-03-25 20:37:29 +00:00
parent 1fed7edaa7
commit f1cbd8fac7
6 changed files with 540 additions and 63 deletions

View File

@@ -2113,6 +2113,31 @@ class ImageHistogram(object):
"""
return _core_.ImageHistogram_FindFirstUnusedColour(*args, **kwargs)
def GetCount(*args, **kwargs):
"""
GetCount(self, unsigned long key) -> unsigned long
Returns the pixel count for the given key. Use `MakeKey` to create a
key value from a RGB tripple.
"""
return _core_.ImageHistogram_GetCount(*args, **kwargs)
def GetCountRGB(*args, **kwargs):
"""
GetCountRGB(self, unsigned char r, unsigned char g, unsigned char b) -> unsigned long
Returns the pixel count for the given RGB values.
"""
return _core_.ImageHistogram_GetCountRGB(*args, **kwargs)
def GetCountColour(*args, **kwargs):
"""
GetCountColour(self, Colour colour) -> unsigned long
Returns the pixel count for the given `wx.Colour` value.
"""
return _core_.ImageHistogram_GetCountColour(*args, **kwargs)
class ImageHistogramPtr(ImageHistogram):
def __init__(self, this):