enigma2  2.6
Public Member Functions | Static Public Attributes | List of all members
enigma.gRGBA Class Reference
Inheritance diagram for enigma.gRGBA:
enigma.gRGB

Public Member Functions

def __init__ (self, *args)
 
def argb (self)
 
def fromArgb (c)
 
def __lt__ (self, c)
 
def __eq__ (self, c)
 
def __ne__ (self, c)
 
def premultiplyChannel (c, a)
 
def premultiplyAlpha (self)
 
def set (self, *args)
 
def pixel (self, fmt)
 
def fromPixel (self, fmt, pixel)
 

Static Public Attributes

 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
 r = _swig_property(_enigma.gRGBA_r_get, _enigma.gRGBA_r_set)
 
 g = _swig_property(_enigma.gRGBA_g_get, _enigma.gRGBA_g_set)
 
 b = _swig_property(_enigma.gRGBA_b_get, _enigma.gRGBA_b_set)
 
 a = _swig_property(_enigma.gRGBA_a_get, _enigma.gRGBA_a_set)
 
 fromArgb = staticmethod(fromArgb)
 
 premultiplyChannel = staticmethod(premultiplyChannel)
 
 argb
 
 premultiplyAlpha
 
 set
 
 pixel
 
 fromPixel
 

Constructor & Destructor Documentation

◆ __init__()

def enigma.gRGBA.__init__ (   self,
args 
)
__init__(gRGBA self, unsigned int r, unsigned int g, unsigned int b, unsigned int a=0xff) -> gRGBA
__init__(gRGBA self, unsigned int r, unsigned int g, unsigned int b) -> gRGBA
__init__(gRGBA self) -> gRGBA

Reimplemented in enigma.gRGB.

Member Function Documentation

◆ __eq__()

def enigma.gRGBA.__eq__ (   self,
  c 
)
__eq__(gRGBA self, gRGBA c) -> bool

◆ __lt__()

def enigma.gRGBA.__lt__ (   self,
  c 
)
__lt__(gRGBA self, gRGBA c) -> bool

◆ __ne__()

def enigma.gRGBA.__ne__ (   self,
  c 
)
__ne__(gRGBA self, gRGBA c) -> bool

◆ argb()

def enigma.gRGBA.argb (   self)
argb(gRGBA self) -> unsigned int

Reimplemented in enigma.gRGB.

◆ fromArgb()

def enigma.gRGBA.fromArgb (   c)
fromArgb(unsigned int c) -> gRGBA

◆ fromPixel()

def enigma.gRGBA.fromPixel (   self,
  fmt,
  pixel 
)
fromPixel(gRGBA self, gPixelFormat fmt, unsigned int pixel)

◆ pixel()

def enigma.gRGBA.pixel (   self,
  fmt 
)
pixel(gRGBA self, gPixelFormat fmt) -> unsigned int

◆ premultiplyAlpha()

def enigma.gRGBA.premultiplyAlpha (   self)
premultiplyAlpha(gRGBA self) -> gRGBA

◆ premultiplyChannel()

def enigma.gRGBA.premultiplyChannel (   c,
  a 
)
premultiplyChannel(unsigned long c, unsigned long a) -> unsigned long

◆ set()

def enigma.gRGBA.set (   self,
args 
)
set(gRGBA self, unsigned int _r, unsigned int _g, unsigned int _b)
set(gRGBA self, unsigned int _r, unsigned int _g, unsigned int _b, unsigned int _a)

Member Data Documentation

◆ a

enigma.gRGBA.a = _swig_property(_enigma.gRGBA_a_get, _enigma.gRGBA_a_set)
static

◆ argb

enigma.gRGBA.argb
static

◆ b

enigma.gRGBA.b = _swig_property(_enigma.gRGBA_b_get, _enigma.gRGBA_b_set)
static

◆ fromArgb

enigma.gRGBA.fromArgb = staticmethod(fromArgb)
static

◆ fromPixel

enigma.gRGBA.fromPixel
static

◆ g

enigma.gRGBA.g = _swig_property(_enigma.gRGBA_g_get, _enigma.gRGBA_g_set)
static

◆ pixel

enigma.gRGBA.pixel
static

◆ premultiplyAlpha

enigma.gRGBA.premultiplyAlpha
static

◆ premultiplyChannel

enigma.gRGBA.premultiplyChannel = staticmethod(premultiplyChannel)
static

◆ r

enigma.gRGBA.r = _swig_property(_enigma.gRGBA_r_get, _enigma.gRGBA_r_set)
static

◆ set

enigma.gRGBA.set
static

◆ thisown

enigma.gRGBA.thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
static

The documentation for this class was generated from the following file: