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) |
| 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 this 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 this 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 this 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 this 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 this 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 this methods:
1.5.4