2 #include "oxygine-include.h" 6 DECLARE_SMART(Box9Sprite, spBox9Sprite);
22 StretchMode getVerticalMode()
const {
return _vertMode;}
23 StretchMode getHorizontalMode()
const {
return _horzMode;}
25 void setVerticalMode(StretchMode m);
26 void setHorizontalMode(StretchMode m);
31 void setGuides(
float x1,
float x2,
float y1,
float y2);
32 void setVerticalGuides(
float x1,
float x2);
33 void setHorizontalGuides(
float y1,
float y2);
35 bool isOn(
const Vector2& localPosition,
float localScale)
override;
37 std::string
dump(
const dumpOptions&)
const override;
42 RectF getDestRect()
const override;
45 void sizeChanged(
const Vector2& size)
override;
51 StretchMode _vertMode;
52 StretchMode _horzMode;
57 std::vector<float> _guidesX;
58 std::vector<float> _guidesY;
59 std::vector<float> _pointsX;
60 std::vector<float> _pointsY;
69 EDITOR_INCLUDE(Box9Sprite);
Definition: Serialize.h:28
std::string dump(const dumpOptions &) const override
Definition: Box9Sprite.h:8
Definition: RenderState.h:27
Definition: AnimationFrame.h:28
Definition: Serialize.h:21
bool isOn(const Vector2 &localPosition, float localScale) override
void setGuides(float x1, float x2, float y1, float y2)
–oxgl-end–!
Definition: Actor.h:14