1 /* 2 * Copyright 2015, Haiku. 3 * Distributed under the terms of the MIT license. 4 * 5 * Authors: 6 * Julian Harnath <julian.harnath@rwth-aachen.de> 7 */ 8 #ifndef PICTURE_BOUNDING_BOX_H 9 #define PICTURE_BOUNDING_BOX_H 10 11 12 class BRect; 13 class DrawState; 14 class ServerPicture; 15 16 17 class PictureBoundingBoxPlayer { 18 public: 19 class State; 20 21 public: 22 static void Play(ServerPicture* picture, 23 const DrawState* drawState, 24 BRect* outBoundingBox); 25 }; 26 27 28 #endif // PICTURE_BOUNDING_BOX_H 29