2 * Copyright 2015 Julian Harnath <julian.harnath@rwth-aachen.de>
3 * All rights reserved. Distributed under the terms of the MIT license.
9 #include "ServerPicture.h"
19 class Layer
: public ServerPicture
{
24 void PushLayer(Layer
* layer
);
27 UtilityBitmap
* RenderToBitmap(Canvas
* canvas
);
29 IntPoint
LeftTopOffset() const;
30 uint8
Opacity() const;
33 BRect
_DetermineBoundingBox(Canvas
* canvas
);
34 UtilityBitmap
* _AllocateBitmap(const BRect
& bounds
);
38 IntPoint fLeftTopOffset
;