Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F619725
stretch-bitmap.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
685 B
Referenced Files
None
Subscribers
None
stretch-bitmap.h
View Options
#ifndef _paintown_stretch_bitmap_h
#define _paintown_stretch_bitmap_h
#include
"bitmap.h"
namespace
Graphics
{
class
StretchedBitmap
:
public
Bitmap
{
public
:
StretchedBitmap
(
int
width
,
int
height
,
const
Bitmap
&
where
);
void
finish
();
void
start
();
virtual
int
getWidth
()
const
;
virtual
int
getHeight
()
const
;
protected
:
double
width
;
double
height
;
double
scale_x
,
scale_y
;
const
Bitmap
&
where
;
};
class
TranslatedBitmap
:
public
Bitmap
{
public
:
TranslatedBitmap
(
int
x
,
int
y
,
const
Bitmap
&
where
);
using
Bitmap
::
BlitToScreen
;
virtual
void
BlitToScreen
()
const
;
virtual
~
TranslatedBitmap
();
public
:
int
x
,
y
;
};
}
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Nov 14, 5:07 PM (11 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
123184
Default Alt Text
stretch-bitmap.h (685 B)
Attached To
Mode
R75 R-Tech1
Attached
Detach File
Event Timeline