fixed a bug where a bitmap was mising a pixel line/column
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7158 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6ff76cdaf5
commit
ac903216d7
@ -129,7 +129,8 @@ public:
|
||||
~FBBitmap(void) { }
|
||||
void SetBytesPerRow(const int32 &bpr) { _bytesperrow=bpr; }
|
||||
void SetSpace(const color_space &space) { _space=space; }
|
||||
void SetSize(const int32 &w, const int32 &h) { _width=w; _height=h; }
|
||||
//!!! WARNING !!! - for some reason ServerBitmap adds 1 to the width and height. We do that also.
|
||||
void SetSize(const int32 &w, const int32 &h) { _width=w+1; _height=h+1; }
|
||||
void SetBuffer(void *ptr) { _buffer=(uint8*)ptr; }
|
||||
void SetBitsPerPixel(color_space space,int32 bytesperline) { _HandleSpace(space,bytesperline); }
|
||||
void ShallowCopy(const FBBitmap *from)
|
||||
|
Loading…
Reference in New Issue
Block a user