MaxPlus Python API Reference
GammaMgr Class Reference
+ Inheritance diagram for GammaMgr:

Public Member Functions

def DeGammaCorrect (*args)
 
def DisplayGammaCorrect (*args)
 
def Enable (b=True)
 
def GammaCorrect (*args)
 
def GetDisplayGamma ()
 
def GetDitherPaletted ()
 
def GetDitherTrue ()
 
def GetFileInGamma ()
 
def GetFileOutGamma ()
 
def IsEnabled ()
 
def SetDisplayGamma (*args)
 
def SetDitherPaletted (*args)
 
def SetDitherTrue (*args)
 
def SetFileInGamma (*args)
 
def SetFileOutGamma (*args)
 

Static Public Attributes

 DeGammaCorrect = staticmethod(DeGammaCorrect)
 
 DisplayGammaCorrect = staticmethod(DisplayGammaCorrect)
 
 Enable = staticmethod(Enable)
 
 GammaCorrect = staticmethod(GammaCorrect)
 
 GetDisplayGamma = staticmethod(GetDisplayGamma)
 
 GetDitherPaletted = staticmethod(GetDitherPaletted)
 
 GetDitherTrue = staticmethod(GetDitherTrue)
 
 GetFileInGamma = staticmethod(GetFileInGamma)
 
 GetFileOutGamma = staticmethod(GetFileOutGamma)
 
 IsEnabled = staticmethod(IsEnabled)
 
 SetDisplayGamma = staticmethod(SetDisplayGamma)
 
 SetDitherPaletted = staticmethod(SetDitherPaletted)
 
 SetDitherTrue = staticmethod(SetDitherTrue)
 
 SetFileInGamma = staticmethod(SetFileInGamma)
 
 SetFileOutGamma = staticmethod(SetFileOutGamma)
 
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Detailed Description

Used to gamma correct and de-gamma colors in various formats.

Member Function Documentation

◆ DeGammaCorrect()

def DeGammaCorrect ( args)
DeGammaCorrect(float v, float gamma) -> float
DeGammaCorrect(UBYTE v, float gamma) -> UBYTE
DeGammaCorrect(UWORD c, float gamma) -> UWORD

◆ DisplayGammaCorrect()

def DisplayGammaCorrect ( args)
DisplayGammaCorrect(COLORREF col) -> COLORREF
DisplayGammaCorrect(Color c) -> Color

◆ Enable()

def Enable (   b = True)
Enable(bool b=True)
Enable()

◆ GammaCorrect()

def GammaCorrect ( args)
GammaCorrect(DWORD c) -> COLORREF
GammaCorrect(UBYTE b) -> UBYTE
GammaCorrect(float v, float gamma) -> float
GammaCorrect(UBYTE v, float gamma) -> UBYTE
GammaCorrect(UWORD c, float gamma) -> UWORD

◆ GetDisplayGamma()

def GetDisplayGamma ( )
GetDisplayGamma() -> float

◆ GetDitherPaletted()

def GetDitherPaletted ( )
GetDitherPaletted() -> bool

◆ GetDitherTrue()

def GetDitherTrue ( )
GetDitherTrue() -> bool

◆ GetFileInGamma()

def GetFileInGamma ( )
GetFileInGamma() -> float

◆ GetFileOutGamma()

def GetFileOutGamma ( )
GetFileOutGamma() -> float

◆ IsEnabled()

def IsEnabled ( )
IsEnabled() -> bool

◆ SetDisplayGamma()

def SetDisplayGamma ( args)
SetDisplayGamma(float x)

◆ SetDitherPaletted()

def SetDitherPaletted ( args)
SetDitherPaletted(bool x)

◆ SetDitherTrue()

def SetDitherTrue ( args)
SetDitherTrue(bool x)

◆ SetFileInGamma()

def SetFileInGamma ( args)
SetFileInGamma(float x)

◆ SetFileOutGamma()

def SetFileOutGamma ( args)
SetFileOutGamma(float x)