CRM64Pro GDK  v0.94
A free cross-platform game development kit built on top of SDL 2.0
Public Member Functions | List of all members
CRM64Pro::GFX Class Reference

Inherits CRM64Pro::Base.

Public Member Functions

Sint32 info (Sint32 iMode=0)
 
Sint32 setSurfacePixel (Sint32 iX, Sint32 iY, Uint32 iColor, SDL_Surface *pSurf)
 
Uint32 getSurfacePixel (Sint32 iX, Sint32 iY, SDL_Surface *pSurf)
 
Sint32 setPixel (Sint32 iX, Sint32 iY, Uint32 iColor, Sint32 idRes=0)
 
Sint32 setPixel (Sint32 iX, Sint32 iY, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Uint32 getPixel (Sint32 iX, Sint32 iY, Sint32 idRes=0)
 
Sint32 lineH (Sint32 iX1, Sint32 iX2, Sint32 iY, Uint32 iColor, Sint32 idRes=0)
 
Sint32 lineH (Sint32 iX1, Sint32 iX2, Sint32 iY, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 lineV (Sint32 iX, Sint32 iY1, Sint32 iY2, Uint32 iColor, Sint32 idRes=0)
 
Sint32 lineV (Sint32 iX, Sint32 iY1, Sint32 iY2, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 line (Sint32 iX1, Sint32 iY1, Sint32 iX2, Sint32 iY2, Uint32 iColor, Sint32 idRes=0)
 
Sint32 line (Sint32 iX1, Sint32 iY1, Sint32 iX2, Sint32 iY2, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 rect (Sint32 iX1, Sint32 iY1, Sint32 iX2, Sint32 iY2, Uint32 iColor, Sint32 idRes=0)
 
Sint32 rect (Sint32 iX1, Sint32 iY1, Sint32 iX2, Sint32 iY2, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 rectFilled (Sint32 iX1, Sint32 iY1, Sint32 iX2, Sint32 iY2, Uint32 iColor, Sint32 idRes=0)
 
Sint32 rectFilled (Sint32 iX1, Sint32 iY1, Sint32 iX2, Sint32 iY2, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 rectRound (Sint32 iX1, Sint32 iY1, Sint32 iX2, Sint32 iY2, Sint32 iRad, Uint32 iColor, Sint32 idRes=0)
 
Sint32 rectRound (Sint32 iX1, Sint32 iY1, Sint32 iX2, Sint32 iY2, Sint32 iRad, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 rectFilledRound (Sint32 iX1, Sint32 iY1, Sint32 iX2, Sint32 iY2, Sint32 iRad, Uint32 iColor, Sint32 idRes=0)
 
Sint32 rectFilledRound (Sint32 iX1, Sint32 iY1, Sint32 iX2, Sint32 iY2, Sint32 iRad, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 arc (Sint32 iX, Sint32 iY, Sint32 iRad, Sint32 iStart, Sint32 iEnd, Uint32 iColor, Sint32 idRes=0)
 
Sint32 arc (Sint32 iX, Sint32 iY, Sint32 iRad, Sint32 iStart, Sint32 iEnd, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 circle (Sint32 iX, Sint32 iY, Sint32 iRad, Uint32 iColor, Sint32 idRes=0)
 
Sint32 circle (Sint32 iX, Sint32 iY, Sint32 iRad, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 circleFilled (Sint32 iX, Sint32 iY, Sint32 iRad, Uint32 iColor, Sint32 idRes=0)
 
Sint32 circleFilled (Sint32 iX, Sint32 iY, Sint32 iRad, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 ellipse (Sint32 iX, Sint32 iY, Sint32 iRadX, Sint32 iRadY, Uint32 iColor, Sint32 idRes=0)
 
Sint32 ellipse (Sint32 iX, Sint32 iY, Sint32 iRadX, Sint32 iRadY, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 ellipseFilled (Sint32 iX, Sint32 iY, Sint32 iRadX, Sint32 iRadY, Uint32 iColor, Sint32 idRes=0)
 
Sint32 ellipseFilled (Sint32 iX, Sint32 iY, Sint32 iRadX, Sint32 iRadY, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 polygon (Sint32 *iVX, Sint32 *iVY, Sint32 iNV, Uint32 iColor, Sint32 idRes=0)
 
Sint32 polygon (Sint32 *iVX, Sint32 *iVY, Sint32 iNV, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 polygonFilled (Sint32 *iVX, Sint32 *iVY, Sint32 iNV, Uint32 iColor, Sint32 idRes=0)
 
Sint32 polygonFilled (Sint32 *iVX, Sint32 *iVY, Sint32 iNV, Uint8 iR, Uint8 iG, Uint8 iB, Uint8 iA, Sint32 idRes=0)
 
Sint32 RGBtoHSV (Uint8 iR, Uint8 iG, Uint8 iB, float *fH, float *fS, float *fV)
 
Sint32 HSVtoRGB (float fH, float fS, float fV, Uint8 *iR, Uint8 *iG, Uint8 *iB)
 
Sint32 RGBtoYUV (Uint8 iR, Uint8 iG, Uint8 iB, Uint8 *iY, Uint8 *iU, Uint8 *iV)
 
Sint32 YUVtoRGB (Uint8 iY, Uint8 iU, Uint8 iV, Uint8 *iR, Uint8 *iG, Uint8 *iB)
 
Sint32 RGBtoCMYK (Uint8 iR, Uint8 iG, Uint8 iB, Uint8 *iC, Uint8 *iM, Uint8 *iY, Uint8 *iK)
 
Sint32 CMYKtoRGB (Uint8 iC, Uint8 iM, Uint8 iY, Uint8 iK, Uint8 *iR, Uint8 *iG, Uint8 *iB)
 
Sint32 RGBtoYCC (Uint8 iR, Uint8 iG, Uint8 iB, Uint8 *iY, Uint8 *Cb, Uint8 *Cr)
 
Sint32 YCCtoRGB (Uint8 iY, Uint8 Cb, Uint8 Cr, Uint8 *iR, Uint8 *iG, Uint8 *iB)