mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-02 15:16:46 +00:00
GRAPHICS: Make ManagedSurface::clip() public
This commit is contained in:
parent
6e4ba1e5c5
commit
4e58ef479b
@ -61,12 +61,13 @@ private:
|
||||
* the offset from the parent's top-left corner this sub-surface starts at
|
||||
*/
|
||||
Common::Point _offsetFromOwner;
|
||||
protected:
|
||||
public:
|
||||
/**
|
||||
* Clips the given source bounds so the passed destBounds will be entirely on-screen
|
||||
*/
|
||||
bool clip(Common::Rect &srcBounds, Common::Rect &destBounds);
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Base method that descendent classes can override for recording affected
|
||||
* dirty areas of the surface
|
||||
|
Loading…
Reference in New Issue
Block a user