Package fife :: Module fife :: Class AbstractImage
[hide private]
[frames] | no frames]

Class AbstractImage

source code

_object --+
          |
         AbstractImage

Proxy of C++ FIFE::AbstractImage class

Instance Methods [hide private]
 
__init__(self, *args, **kwargs) source code
 
__repr__(self) source code
SDL_Surface
getSurface(self) source code
unsigned int
getWidth(self) source code
unsigned int
getHeight(self) source code
Rect
getArea(self) source code
 
getPixelRGBA(self, *args)
getPixelRGBA(self, int x, int y)
source code
 
putPixel(self, *args)
putPixel(self, int x, int y, int r, int g, int b, int a = 255) -> bool putPixel(self, int x, int y, int r, int g, int b) -> bool
source code
 
drawLine(self, *args)
drawLine(self, Point p1, Point p2, int r, int g, int b, int a = 255) drawLine(self, Point p1, Point p2, int r, int g, int b)
source code
 
drawTriangle(self, *args)
drawTriangle(self, Point p1, Point p2, Point p3, int r, int g, int b, ...
source code
 
drawRectangle(self, *args)
drawRectangle(self, Point p, uint16_t w, uint16_t h, uint8_t r, uint8_t g, ...
source code
 
fillRectangle(self, *args)
fillRectangle(self, Point p, uint16_t w, uint16_t h, uint8_t r, uint8_t g, ...
source code
 
drawQuad(self, *args)
drawQuad(self, Point p1, Point p2, Point p3, Point p4, int r, int g, ...
source code
 
drawLightPrimitive(self, *args)
drawLightPrimitive(self, Point p, uint8_t intensity, float radius, int subdivisions, ...
source code
 
pushClipArea(self, *args)
pushClipArea(self, Rect cliparea, bool clear = True) pushClipArea(self, Rect cliparea)
source code
 
popClipArea(self) source code
Rect
getClipArea(self) source code
 
saveImage(self, *args)
saveImage(self, string filename)
source code
 
setAlphaOptimizerEnabled(self, *args)
setAlphaOptimizerEnabled(self, bool enabled)
source code
bool
isAlphaOptimizerEnabled(self) source code
Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _fife.delete_AbstractImage
  __del__ = lambda self:
Method Details [hide private]

drawTriangle(self, *args)

source code 

drawTriangle(self, Point p1, Point p2, Point p3, int r, int g, int b, 
    int a = 255)
drawTriangle(self, Point p1, Point p2, Point p3, int r, int g, int b)

drawRectangle(self, *args)

source code 

drawRectangle(self, Point p, uint16_t w, uint16_t h, uint8_t r, uint8_t g, 
    uint8_t b, uint8_t a = 255)
drawRectangle(self, Point p, uint16_t w, uint16_t h, uint8_t r, uint8_t g, 
    uint8_t b)

fillRectangle(self, *args)

source code 

fillRectangle(self, Point p, uint16_t w, uint16_t h, uint8_t r, uint8_t g, 
    uint8_t b, uint8_t a = 255)
fillRectangle(self, Point p, uint16_t w, uint16_t h, uint8_t r, uint8_t g, 
    uint8_t b)

drawQuad(self, *args)

source code 

drawQuad(self, Point p1, Point p2, Point p3, Point p4, int r, int g, 
    int b, int a = 255)
drawQuad(self, Point p1, Point p2, Point p3, Point p4, int r, int g, 
    int b)

drawLightPrimitive(self, *args)

source code 

drawLightPrimitive(self, Point p, uint8_t intensity, float radius, int subdivisions, 
    float xstretch, float ystretch, uint8_t red, 
    uint8_t green, uint8_t blue)