mirror of https://github.com/axmolengine/axmol.git
20 lines
397 B
C++
20 lines
397 B
C++
#ifndef SkBitmap_RLEPixels_DEFINED
|
|
#define SkBitmap_RLEPixels_DEFINED
|
|
|
|
#include "SkChunkAlloc.h"
|
|
|
|
class SkBitmap_RLEPixels {
|
|
public:
|
|
SkBitmap_RLEPixels(int width, int height);
|
|
~SkBitmap_RLEPixels();
|
|
|
|
uint8_t* yptrs() const { return fYPtrs; }
|
|
uint8_t* allocChunk(size_t chunk);
|
|
|
|
private:
|
|
SkChunkAlloc fChunk;
|
|
uint8_t** fYPtrs;
|
|
};
|
|
|
|
#endif
|