趣味で作ってるロボット用ソフトウェア
 All Classes Files Functions Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
hrk::Clip_component Class Reference
Inheritance diagram for hrk::Clip_component:
Inheritance graph
[legend]
Collaboration diagram for hrk::Clip_component:
Collaboration graph
[legend]

Public Member Functions

 Clip_component (const RectF &clip_rect=RectF(0, 0, 0, 0))
 矩形の内部のみ描画するようにクリッピングを行う
 
void set_alpha (double alpha)
 
void set_color_strength (double ratio)
 
void draw (void)
 
SizeF size (void) const
 
void set_clip_rect (const RectF &rect)
 
RectF clip_rect (void) const
 
- 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)
 

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