- void blit(const gPixmap &src, ePoint pos, const eRect &clip=eRect(), int flags=0);
+
+ gPixmap(gSurface *surface);
+ gPixmap(eSize, int bpp, int accel = 0);
+
+ gSurface *surface;
+
+ eLock contentlock;
+ int final;
+
+ gPixmap *lock();
+ void unlock();
+ inline bool needClut() const { return surface && surface->bpp <= 8; }
+#endif
+ virtual ~gPixmap();
+ eSize size() const { return eSize(surface->x, surface->y); }
+private:
+ bool must_delete_surface;
+ friend class gDC;
+ void fill(const gRegion &clip, const gColor &color);
+ void fill(const gRegion &clip, const gRGB &color);
+
+ void blit(const gPixmap &src, const eRect &pos, const gRegion &clip, int flags=0);