| 41 | } |
| 42 | |
| 43 | void TextureSegment::GetBits(int srcX, int srcY, int srcWidth, int srcHeight, int destPitch, uint32* bits) |
| 44 | { |
| 45 | int x1 = (int)(mU1 * mTexture->mWidth + 0.5f); |
| 46 | int y1 = (int)(mV1 * mTexture->mHeight + 0.5f); |
| 47 | mTexture->GetBits(srcX + x1, srcY + y1, srcWidth, srcHeight, destPitch, bits); |
| 48 | } |
| 49 | |
| 50 | void TextureSegment::GetImageData(ImageData& imageData) |
| 51 | { |
no outgoing calls
no test coverage detected