Classes | |
class | BmfFnt_t |
BMF font loader / renderer. More... | |
class | Cl565_t |
RGB-565 color representation (incomplete). More... | |
class | Cl888_t |
RGB-888 color representation (incomplete). More... | |
class | Cl8888_t |
RGBA-8888 color representation (incomplete). More... | |
class | Rle8Enc_t |
RLE8 encoder. More... | |
class | TgaLdr_t |
TGA image loader / data holder. More... | |
Namespaces | |
namespace | nsBitBlt |
BitBlt function related stuff. | |
namespace | nsDraw |
Draw function related stuff. | |
namespace | nsRle8Blt |
Rle8Blt function related stuff. | |
Functions | |
template<typename TCpPcy> | |
void | BitBlt (typename const TCpPcy::SrcPxFmt_t *pSrc, int nSrcW, int, int nSrcPosX, int nSrcPosY, int nRegW, int nRegH, typename TCpPcy::DstPxFmt_t *pDst, int nDstW, int nDstH, int nDstPosX, int nDstPosY, int nDstClipX1=0, int nDstClipY1=0, int nDstClipX2=-1, int nDstClipY2=-1) |
Transfers a block of image data. | |
template<typename TDwPcy> | |
void | DrawLine (int nX1, int nY1, int nX2, int nY2, const nsDraw::PxFmt8888_t &Clr, typename TDwPcy::PxFmt_t *pDst, int nDstW, int nDstH) |
Draws a line using Bresenham's algorithm. | |
template<typename TDwPcy> | |
void | DrawCirc (int nX, int nY, int nR, const nsDraw::PxFmt8888_t &Clr, typename TDwPcy::PxFmt_t *pDst, int nDstW, int nDstH) |
Draws a circle using Bresenham's algorithm. | |
template<typename TCpPcy> | |
void | Rle8Blt (const unsigned char *pRle, const nsRle8Blt::PxFmt8888_t *pPal, const nsRle8Blt::uint32 *pOff, int nSrcW, int, int nRegW, int nRegH, typename TCpPcy::DstPxFmt_t *pDst, int nDstW, int nDstH, int nDstPosX, int nDstPosY, int nDstClipX1=0, int nDstClipY1=0, int nDstClipX2=-1, int nDstClipY2=-1) |
Decodes & transfers RLE8 data stream (encoded with Rle8Enc_t). |
void fs::ras::BitBlt | ( | typename const TCpPcy::SrcPxFmt_t * | pSrc, | |
int | nSrcW, | |||
int | , | |||
int | nSrcPosX, | |||
int | nSrcPosY, | |||
int | nRegW, | |||
int | nRegH, | |||
typename TCpPcy::DstPxFmt_t * | pDst, | |||
int | nDstW, | |||
int | nDstH, | |||
int | nDstPosX, | |||
int | nDstPosY, | |||
int | nDstClipX1 = 0 , |
|||
int | nDstClipY1 = 0 , |
|||
int | nDstClipX2 = -1 , |
|||
int | nDstClipY2 = -1 | |||
) |
Transfers a block of image data.
The function transfers a block of image data from one source buffer to another using given copy policy.
Definition at line 127 of file fsBitBlt.h.
References FS_ASSERT.
void fs::ras::DrawLine | ( | int | nX1, | |
int | nY1, | |||
int | nX2, | |||
int | nY2, | |||
const nsDraw::PxFmt8888_t & | Clr, | |||
typename TDwPcy::PxFmt_t * | pDst, | |||
int | nDstW, | |||
int | nDstH | |||
) |
Draws a line using Bresenham's algorithm.
Definition at line 74 of file fsDraw.h.
References fs::mth::Abs(), and FS_ASSERT.
Here is the call graph for this function:
void fs::ras::DrawCirc | ( | int | nX, | |
int | nY, | |||
int | nR, | |||
const nsDraw::PxFmt8888_t & | Clr, | |||
typename TDwPcy::PxFmt_t * | pDst, | |||
int | nDstW, | |||
int | nDstH | |||
) |
void fs::ras::Rle8Blt | ( | const unsigned char * | pRle, | |
const nsRle8Blt::PxFmt8888_t * | pPal, | |||
const nsRle8Blt::uint32 * | pOff, | |||
int | nSrcW, | |||
int | , | |||
int | nRegW, | |||
int | nRegH, | |||
typename TCpPcy::DstPxFmt_t * | pDst, | |||
int | nDstW, | |||
int | nDstH, | |||
int | nDstPosX, | |||
int | nDstPosY, | |||
int | nDstClipX1 = 0 , |
|||
int | nDstClipY1 = 0 , |
|||
int | nDstClipX2 = -1 , |
|||
int | nDstClipY2 = -1 | |||
) |
Decodes & transfers RLE8 data stream (encoded with Rle8Enc_t).
Definition at line 83 of file fsRle8Blt.h.
References FS_ASSERT.