Bliting primitives (you can also use IND_Entity2d instead this methods) | |
| void | IND_Render::BlitPixel (int pX, int pY, byte pR, byte pG, byte pB, byte pA) |
| void | IND_Render::BlitLine (int pX1, int pY1, int pX2, int pY2, byte pR, byte pG, byte pB, byte pA) |
| void | IND_Render::BlitRectangle (int pX1, int pY1, int pX2, int pY2, byte pR, byte pG, byte pB, byte pA) |
| void | IND_Render::BlitFillRectangle (int pX1, int pY1, int pX2, int pY2, byte pR, byte pG, byte pB, byte pA) |
| void | IND_Render::BlitColoredTriangle (int pX1, int pY1, int pX2, int pY2, int pX3, int pY3, byte pR1, byte pG1, byte pB1, byte pR2, byte pG2, byte pB2, byte pR3, byte pG3, byte pB3, byte pA) |
| bool | IND_Render::BlitPoly2d (IND_Point *pPixel, int pNumLines, byte pR, byte pG, byte pB, byte pA) |
| bool | IND_Render::BlitRegularPoly (int pX, int pY, int pRadius, int pN, float pAngle, byte pR, byte pG, byte pB, byte pA) |
| void IND_Render::BlitPixel | ( | int | pX, | |
| int | pY, | |||
| byte | pR, | |||
| byte | pG, | |||
| byte | pB, | |||
| byte | pA | |||
| ) | [inline, inherited] |
Parameters:
This function draws a pixel into the screen. This is a really slow method when the number of pixels is big.
This method is equivalent to use a combination of these methods:
| void IND_Render::BlitLine | ( | int | pX1, | |
| int | pY1, | |||
| int | pX2, | |||
| int | pY2, | |||
| byte | pR, | |||
| byte | pG, | |||
| byte | pB, | |||
| byte | pA | |||
| ) | [inline, inherited] |
Parameters:
This function draws a line into the screen
This method is equivalent to use a combination of these methods:
| void IND_Render::BlitRectangle | ( | int | pX1, | |
| int | pY1, | |||
| int | pX2, | |||
| int | pY2, | |||
| byte | pR, | |||
| byte | pG, | |||
| byte | pB, | |||
| byte | pA | |||
| ) | [inline, inherited] |
Parameters:
This function draws a rectangle into the screen
This method is equivalent to use a combination of these methods:
| void IND_Render::BlitFillRectangle | ( | int | pX1, | |
| int | pY1, | |||
| int | pX2, | |||
| int | pY2, | |||
| byte | pR, | |||
| byte | pG, | |||
| byte | pB, | |||
| byte | pA | |||
| ) | [inline, inherited] |
Parameters:
This function draws a rectangle filled with a color into the screen. The A component is the transparency level (255 = complety opaque).
This method is equivalent to use a combination of these methods:
| void IND_Render::BlitColoredTriangle | ( | int | pX1, | |
| int | pY1, | |||
| int | pX2, | |||
| int | pY2, | |||
| int | pX3, | |||
| int | pY3, | |||
| byte | pR1, | |||
| byte | pG1, | |||
| byte | pB1, | |||
| byte | pR2, | |||
| byte | pG2, | |||
| byte | pB2, | |||
| byte | pR3, | |||
| byte | pG3, | |||
| byte | pB3, | |||
| byte | pA | |||
| ) | [inline, inherited] |
Parameters:
This function draws a triangle filled with a color given in three corners. The A component is the transparency level (255 = complety opaque).
This method is equivalent to use a combination of these methods:
| bool IND_Render::BlitPoly2d | ( | IND_Point * | pPolyPoints, | |
| int | pNumLines, | |||
| byte | pR, | |||
| byte | pG, | |||
| byte | pB, | |||
| byte | pA | |||
| ) | [inline, inherited] |
Parameters:
This function draws 2d poly
This method is equivalent to use a combination of these methods:
| bool IND_Render::BlitRegularPoly | ( | int | pX, | |
| int | pY, | |||
| int | pRadius, | |||
| int | pN, | |||
| float | pAngle, | |||
| byte | pR, | |||
| byte | pG, | |||
| byte | pB, | |||
| byte | pA | |||
| ) | [inline, inherited] |
Parameters:
This function draws 2d regunr poly of n sides. If you need to draw circles you can use this method using 30 or more sides.
This method is equivalent to use a combination of these methods:
1.5.4