#include <fs/sys/fsAssert.h>
Include dependency graph for fsDraw.h:
Go to the source code of this file.
Namespaces | |
namespace | fs |
namespace | fs::ras |
namespace | fs::ras::nsDraw |
Classes | |
struct | fs::ras::nsDraw::PxFmt8888_t |
Common RGBA-8888 pixel format. More... | |
struct | fs::ras::nsDraw::Cl8888DwPcy_t |
Draw Policy : RGBA-8888. More... | |
Defines | |
#define | FS_VERIFY_RETURN(exp) if(!(exp)) { FS_ASSERT_MSG(0, #exp "<return>"); return; } |
#define | FS_VERIFY_RETURN_VAL(exp, ret) if(!(exp)) { FS_ASSERT_MSG(0, #exp "<returns:>" #ret); return (ret); } |
Functions | |
template<typename TDwPcy> | |
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. | |
template<typename TDwPcy> | |
void | fs::ras::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. |
#define FS_VERIFY_RETURN | ( | exp | ) | if(!(exp)) { FS_ASSERT_MSG(0, #exp "<return>"); return; } |
#define FS_VERIFY_RETURN_VAL | ( | exp, | |||
ret | ) | if(!(exp)) { FS_ASSERT_MSG(0, #exp "<returns:>" #ret); return (ret); } |