class EE::Graphics::DrawableGroup¶
#include <drawablegroup.hpp> class DrawableGroup: public EE::Graphics::Drawable { public: // construction virtual ~DrawableGroup(); // methods static DrawableGroup* New(); virtual Sizef getSize(); virtual Sizef getPixelsSize(); virtual void draw(); virtual void draw(const Vector2f& position); virtual void draw(const Vector2f& position, const Sizef& size); virtual bool isStateful(); void clearDrawables(); Drawable* addDrawable(Drawable* drawable); Uint32 getDrawableCount() const; bool isClipEnabled() const; void setClipEnabled(bool clipEnabled); bool isDrawableOwner() const; void setDrawableOwner(bool drawableOwner); std::vector<Drawable*>& getGroup(); };
Inherited Members¶
public: // enums enum Type; // methods virtual Sizef getSize() = 0; virtual Sizef getPixelsSize() = 0; virtual void draw() = 0; virtual void draw(const Vector2f& position) = 0; virtual void draw(const Vector2f& position, const Sizef& size) = 0; virtual bool isStateful() = 0; void setAlpha(Uint8 alpha); const Uint8& getAlpha(); void setColor(const Color& color); const Color& getColor() const; void setColorFilter(const Color& color); RGB getColorFilter(); void clearColor(); void clearColorFilter(); void resetAlpha(); Type getDrawableType() const; const Vector2f& getPosition() const; void setPosition(const Vector2f& position); virtual bool isDrawableResource() const;