趣味で作ってるロボット用ソフトウェア
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Files
Functions
Enumerations
Enumerator
Friends
Pages
lib
gui
Image_storage.h
Go to the documentation of this file.
1
#ifndef HRK_IMAGE_STORAGE_H
2
#define HRK_IMAGE_STORAGE_H
3
9
#include <string>
10
#include <boost/shared_ptr.hpp>
11
#include "
SizeF.h
"
12
13
14
namespace
hrk
15
{
16
class
Clipped_rect;
17
class
RectF;
18
19
class
Image_storage
20
{
21
public
:
22
Image_storage
(
void
);
23
~
Image_storage
(
void
);
24
25
size_t
register_image_file(
const
std::string& file_path,
26
bool
transparent =
false
);
27
SizeF
image_size(
size_t
id
);
28
void
register_rect(
size_t
id
,
const
RectF
& rect,
29
const
std::string& name);
30
boost::shared_ptr<Clipped_rect> surface(
const
std::string& name);
31
32
void
expire_not_used_image(
void
);
33
34
private
:
35
Image_storage
(
const
Image_storage
& rhs);
36
Image_storage
& operator = (
const
Image_storage
& rhs);
37
38
struct
pImpl;
39
std::auto_ptr<pImpl> pimpl;
40
};
41
}
42
43
#endif
hrk::SizeF
幅と高さ
Definition:
SizeF.h:12
hrk::RectF
矩形
Definition:
RectF.h:16
SizeF.h
幅と高さの管理
hrk::Image_storage
Definition:
Image_storage.h:19
Generated on Tue Oct 24 2017 04:56:04 for 趣味で作ってるロボット用ソフトウェア by
1.8.6