趣味で作ってるロボット用ソフトウェア
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Files
Functions
Enumerations
Enumerator
Friends
Pages
lib
gui
Clipped_surface.h
Go to the documentation of this file.
1
#ifndef HRK_CLIPPED_SURFACE_H
2
#define HRK_CLIPPED_SURFACE_H
3
9
#include <memory>
10
#include <string>
11
#include <boost/shared_ptr.hpp>
12
#include "
Surface.h
"
13
14
15
namespace
hrk
16
{
17
class
Clipped_rect;
18
class
Image_storage;
19
20
class
Clipped_surface
:
public
Surface
21
{
22
public
:
23
Clipped_surface
(boost::shared_ptr<Clipped_rect> surface);
24
Clipped_surface
(
Image_storage
& image_storage,
const
std::string& name);
25
~
Clipped_surface
(
void
);
26
27
SizeF
size
(
void
)
const
;
28
Color
pixel_color
(
const
PointF
& point,
double
magnify)
const
;
29
void
draw
(
const
RectF
* src,
const
RectF
& dest,
30
double
z,
const
Angle
& rotate_angle,
double
magnify,
31
double
color_strength_ratio,
double
alpha,
32
bool
antialiasing)
const
;
33
34
private
:
35
Clipped_surface
(
void
);
36
Clipped_surface
(
const
Clipped_surface
& rhs);
37
Clipped_surface
& operator = (
const
Clipped_surface
& rhs);
38
39
struct
pImpl;
40
std::auto_ptr<pImpl> pimpl;
41
};
42
}
43
44
#endif
hrk::Color
色
Definition:
Color.h:12
hrk::Clipped_surface::size
SizeF size(void) const
サーフェスの幅と高さを返す
Definition:
Clipped_surface.cpp:71
hrk::Angle
角度
Definition:
Angle.h:13
hrk::PointF
位置
Definition:
PointF.h:12
hrk::SizeF
幅と高さ
Definition:
SizeF.h:12
Surface.h
サーフェスのインターフェース定義
hrk::Surface
Definition:
Surface.h:20
hrk::Clipped_surface::draw
void draw(const RectF *src, const RectF &dest, double z, const Angle &rotate_angle, double magnify, double color_strength_ratio, double alpha, bool antialiasing) const
描画
Definition:
Clipped_surface.cpp:88
hrk::Clipped_surface
Definition:
Clipped_surface.h:20
hrk::RectF
矩形
Definition:
RectF.h:16
hrk::Image_storage
Definition:
Image_storage.h:19
hrk::Clipped_surface::pixel_color
Color pixel_color(const PointF &point, double magnify) const
指定された位置の色情報を返す
Definition:
Clipped_surface.cpp:77
Generated on Tue Oct 24 2017 04:56:04 for 趣味で作ってるロボット用ソフトウェア by
1.8.6