QuadBlitter Class Reference
[Graphics]
Helper class for bitmap blitting.
More...
Classes | |
| class | EdgeBuffer |
| struct | EdgeX |
| struct | EdgeXUV |
Static Public Member Functions | |
| static void | Blit (unsigned short fillColor, unsigned short *targetColor, int targetHPitch, int targetVPitch, int targetX1, int targetY1, int targetX2, int targetY2, int targetX3, int targetY3, int targetX4, int targetY4) |
| static void | Blit (unsigned short *sourceColor, int sourceHPitch, int sourceVPitch, unsigned short *targetColor, int targetHPitch, int targetVPitch, int sourceX1, int sourceY1, int sourceX2, int sourceY2, int sourceX3, int sourceY3, int sourceX4, int sourceY4, int targetX1, int targetY1, int targetX2, int targetY2, int targetX3, int targetY3, int targetX4, int targetY4) |
| static void | Blit (unsigned short *sourceColor, unsigned char *sourceAlpha, int sourceHPitch, int sourceVPitch, unsigned short *targetColor, int targetHPitch, int targetVPitch, int sourceX1, int sourceY1, int sourceX2, int sourceY2, int sourceX3, int sourceY3, int sourceX4, int sourceY4, int targetX1, int targetY1, int targetX2, int targetY2, int targetX3, int targetY3, int targetX4, int targetY4) |
| static void | Blit (unsigned char alpha, unsigned short *sourceColor, unsigned char *sourceAlpha, int sourceHPitch, int sourceVPitch, unsigned short *targetColor, int targetHPitch, int targetVPitch, int sourceX1, int sourceY1, int sourceX2, int sourceY2, int sourceX3, int sourceY3, int sourceX4, int sourceY4, int targetX1, int targetY1, int targetX2, int targetY2, int targetX3, int targetY3, int targetX4, int targetY4) |
Detailed Description
Helper class for bitmap blitting.
- Todo:
- Add support for clipping
Add support for modulate blitting
Add support for additive blitting
Add copper functionality (for copying alpha channels and filling alpha)
Definition at line 25 of file QuadBlitter.h.
Member Function Documentation
| void QuadBlitter::Blit | ( | unsigned short | fillColor, | |
| unsigned short * | targetColor, | |||
| int | targetHPitch, | |||
| int | targetVPitch, | |||
| int | targetX1, | |||
| int | targetY1, | |||
| int | targetX2, | |||
| int | targetY2, | |||
| int | targetX3, | |||
| int | targetY3, | |||
| int | targetX4, | |||
| int | targetY4 | |||
| ) | [static] |
Definition at line 27 of file QuadBlitter.cpp.
| void QuadBlitter::Blit | ( | unsigned short * | sourceColor, | |
| int | sourceHPitch, | |||
| int | sourceVPitch, | |||
| unsigned short * | targetColor, | |||
| int | targetHPitch, | |||
| int | targetVPitch, | |||
| int | sourceX1, | |||
| int | sourceY1, | |||
| int | sourceX2, | |||
| int | sourceY2, | |||
| int | sourceX3, | |||
| int | sourceY3, | |||
| int | sourceX4, | |||
| int | sourceY4, | |||
| int | targetX1, | |||
| int | targetY1, | |||
| int | targetX2, | |||
| int | targetY2, | |||
| int | targetX3, | |||
| int | targetY3, | |||
| int | targetX4, | |||
| int | targetY4 | |||
| ) | [static] |
Definition at line 65 of file QuadBlitter.cpp.
| void QuadBlitter::Blit | ( | unsigned short * | sourceColor, | |
| unsigned char * | sourceAlpha, | |||
| int | sourceHPitch, | |||
| int | sourceVPitch, | |||
| unsigned short * | targetColor, | |||
| int | targetHPitch, | |||
| int | targetVPitch, | |||
| int | sourceX1, | |||
| int | sourceY1, | |||
| int | sourceX2, | |||
| int | sourceY2, | |||
| int | sourceX3, | |||
| int | sourceY3, | |||
| int | sourceX4, | |||
| int | sourceY4, | |||
| int | targetX1, | |||
| int | targetY1, | |||
| int | targetX2, | |||
| int | targetY2, | |||
| int | targetX3, | |||
| int | targetY3, | |||
| int | targetX4, | |||
| int | targetY4 | |||
| ) | [static] |
Definition at line 125 of file QuadBlitter.cpp.
| void QuadBlitter::Blit | ( | unsigned char | alpha, | |
| unsigned short * | sourceColor, | |||
| unsigned char * | sourceAlpha, | |||
| int | sourceHPitch, | |||
| int | sourceVPitch, | |||
| unsigned short * | targetColor, | |||
| int | targetHPitch, | |||
| int | targetVPitch, | |||
| int | sourceX1, | |||
| int | sourceY1, | |||
| int | sourceX2, | |||
| int | sourceY2, | |||
| int | sourceX3, | |||
| int | sourceY3, | |||
| int | sourceX4, | |||
| int | sourceY4, | |||
| int | targetX1, | |||
| int | targetY1, | |||
| int | targetX2, | |||
| int | targetY2, | |||
| int | targetX3, | |||
| int | targetY3, | |||
| int | targetX4, | |||
| int | targetY4 | |||
| ) | [static] |
Definition at line 192 of file QuadBlitter.cpp.
Reproduction/republishing of any material on this site without permission is strictly prohibited.
