趣味で作ってるロボット用ソフトウェア
 All Classes Files Functions Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
hrk::Label Class Reference

ラベル More...

#include <Label.h>

Inheritance diagram for hrk::Label:
Inheritance graph
[legend]
Collaboration diagram for hrk::Label:
Collaboration graph
[legend]

Public Member Functions

 Label (const Surface *surface)
 
void draw (void)
 
SizeF size (void) const
 
void set_alpha (double alpha)
 
void set_color_strength (double ratio)
 
void set_antialiasing (bool antialias=true)
 
void set_rotate_angle (const Angle &angle)
 
void set_magnify (double magnify)
 
void set_draw_size (const SizeF &size)
 
void add_surface (const Surface *surface, const PointF &offset=PointF(0, 0), bool to_front=true)
 
- Public Member Functions inherited from hrk::Component
virtual void set_position (const PointF &position)
 
virtual PointF position (void) const
 
virtual void set_input_enabled (bool enable)
 
virtual bool input_enabled (void) const
 
virtual void update (void)
 
virtual double width (void) const
 
virtual double height (void) const
 
virtual RectF rect (void) const
 
virtual double set_align (double value, const unsigned char align)
 

Detailed Description

ラベル

Examples:
check_box_example.cpp, image_surface_example.cpp, text_surface_example.cpp, and toggle_screen_example.cpp.

Constructor & Destructor Documentation

Label::Label ( const Surface surface)
explicit
Parameters
[in]surface表示するサーフェス

The documentation for this class was generated from the following files: