Graphics Editor
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
editor::figures::CanvasPrimitive Class Referenceabstract

#include <canvas_primitives.h>

Inheritance diagram for editor::figures::CanvasPrimitive:
Collaboration diagram for editor::figures::CanvasPrimitive:

Public Member Functions

 CanvasPrimitive ()=default
 
 CanvasPrimitive (const Color &color_)
 
 CanvasPrimitive (const Color &color_, int z_index_)
 
void move_to_z_index (int z_index_)
 
virtual std::string get_representation ()=0
 

Detailed Description

Basic class for all primitives (figures)

Constructor & Destructor Documentation

editor::figures::CanvasPrimitive::CanvasPrimitive ( )
default
editor::figures::CanvasPrimitive::CanvasPrimitive ( const Color color_)
explicit
editor::figures::CanvasPrimitive::CanvasPrimitive ( const Color color_,
int  z_index_ 
)

Member Function Documentation

virtual std::string editor::figures::CanvasPrimitive::get_representation ( )
pure virtual
void editor::figures::CanvasPrimitive::move_to_z_index ( int  z_index_)

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