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