Libraries/Graphics/src/include/Graphics/Object.h File Reference
#include "Asset.h"
#include "Blend.h"
#include <Data/Stream/LimitedMemoryStream.h>
#include <Data/Stream/MemoryDataStream.h>
#include <FlashString/Stream.hpp>
#include <Data/Stream/IFS/FileStream.h>
#include <bitset>
Include dependency graph for Libraries/Graphics/src/include/Graphics/Object.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Graphics::Renderer
 Virtual base class to manage rendering of various types of information to a surface. More...
 
class  Graphics::Object
 A drawable object inherits from this virtual base class. More...
 
class  Graphics::ObjectTemplate< object_kind >
 
class  Graphics::ReferenceObject
 Reference to another object. More...
 
class  Graphics::PointObject
 A single pixel == 1x1 rectangle. More...
 
class  Graphics::RectObject
 A rectangular outline. More...
 
class  Graphics::FilledRectObject
 A filled rectangle. More...
 
class  Graphics::LineObject
 A drawn line. More...
 
class  Graphics::PolylineObject
 A sequence of lines. More...
 
class  Graphics::CircleObject
 A circle outline. More...
 
class  Graphics::FilledCircleObject
 A filled circle. More...
 
class  Graphics::EllipseObject
 An ellipse outline. More...
 
class  Graphics::FilledEllipseObject
 A filled ellipse. More...
 
class  Graphics::ArcObject
 An arc outline. More...
 
class  Graphics::FilledArcObject
 A filled arc. More...
 
class  Graphics::ImageObject
 Virtual base class for an image. More...
 
class  Graphics::StreamImageObject
 Image whose contents are stored in a stream, typically in a file or flash memory. More...
 
class  Graphics::BitmapObject
 A BMP format image. More...
 
class  Graphics::RawImageObject
 Image stored as raw pixels in a specific format. More...
 
class  Graphics::RenderTarget
 Interface for objects which support writing via surfaces. More...
 
class  Graphics::MemoryImageObject
 
class  Graphics::FileImageObject
 
class  Graphics::GlyphObject
 A character glyph image. More...
 
class  Graphics::TextObject
 A block of text consisting of zero or more segments. More...
 
class  Graphics::TextObject::Element
 
class  Graphics::TextObject::TextElement
 
class  Graphics::TextObject::FontElement
 
class  Graphics::TextObject::ColorElement
 
class  Graphics::TextObject::RunElement
 
class  Graphics::SurfaceObject
 Describes a target surface and corresponding source location. More...
 
class  Graphics::CopyObject
 Describes a copy operation within the same surface. More...
 
class  Graphics::ScrollObject
 Describes a scrolling operation. More...
 
class  Graphics::DrawingObject
 A collection of line and curve drawing operations. More...
 

Namespaces

 Graphics
 

Macros

#define GRAPHICS_OBJECT_KIND_MAP(XX)
 
#define XX(name)   name,
 
#define GRAPHICS_TEXT_ELEMENT_MAP(XX)
 
#define XX(tag)   tag,
 
#define XX(tag)
 

Typedefs

using Graphics::CustomObject = ObjectTemplate< Object::Kind::Custom >
 Base class for a custom object. More...
 

Functions

String toString (Graphics::Object::Kind kind)
 

Macro Definition Documentation

◆ GRAPHICS_OBJECT_KIND_MAP

#define GRAPHICS_OBJECT_KIND_MAP (   XX)
Value:
XX(Custom) \
XX(Point) \
XX(Rect) \
XX(FilledRect) \
XX(Line) \
XX(Polyline) \
XX(Circle) \
XX(FilledCircle) \
XX(Ellipse) \
XX(FilledEllipse) \
XX(Arc) \
XX(FilledArc) \
XX(Drawing) \
XX(Image) \
XX(Glyph) \
XX(Text) \
XX(Scene) \
XX(Reference) \
XX(Surface) \
XX(Copy) \
XX(Scroll)
#define XX(name)
Definition: Libraries/Graphics/src/include/Graphics/Object.h:943
TPoint< int16_t > Point
Definition: Libraries/Graphics/src/include/Graphics/Types.h:280

◆ GRAPHICS_TEXT_ELEMENT_MAP

#define GRAPHICS_TEXT_ELEMENT_MAP (   XX)
Value:
XX(Text) \
XX(Font) \
XX(Color) \
XX(Run)
Color
Standard colour definitions.
Definition: Colors.h:227

◆ XX [1/3]

#define XX (   name)    name,

◆ XX [2/3]

#define XX (   tag)    tag,

◆ XX [3/3]

#define XX (   tag)
Value:
case Kind::tag: \
return F(#tag);
#define F(string_literal)
Wrap a string literal stored in flash and access it using a String object.
Definition: WString.h:113

Function Documentation

◆ toString()

String toString ( Graphics::Object::Kind  kind)