Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CImageGraphics Class Reference

#include <CImageGraphics.hpp>

Collaboration diagram for CImageGraphics:
[legend]

Public Member Functions

 CImageGraphics (const std::string &idImage, const std::shared_ptr< iv::ui::graphics::Image > &image)
 
virtual ~CImageGraphics ()
 
bool operator== (const CImageGraphics &b) const
 
void distribute (double xOrg, double yOrg, double zDepth, double padding, double sizeX, double sizeY)
 
void drawInPos (IGraphics *graphics, double xPos, double yPos)
 
void draw (IGraphics *graphics)
 
void removeObjectDraw (IGraphics *graphics)
 
void getPos (double *xPos, double *yPos) const
 
void getSize (double *sizeX, double *sizeY) const
 
bool isDefined () const
 
bool isIdImage (const std::string &idImage) const
 

Private Member Functions

void prvDrawImage (class IGraphics *graphics)
 

Private Attributes

std::string m_idImage
 
bool m_isDefined
 
iv::ui::graphics::Materialm_material
 
CRectangleGraphicsm_rectangle
 

Constructor & Destructor Documentation

◆ CImageGraphics()

CImageGraphics::CImageGraphics ( const std::string & idImage,
const std::shared_ptr< iv::ui::graphics::Image > & image )

◆ ~CImageGraphics()

CImageGraphics::~CImageGraphics ( )
virtual

Member Function Documentation

◆ distribute()

void CImageGraphics::distribute ( double xOrg,
double yOrg,
double zDepth,
double padding,
double sizeX,
double sizeY )

◆ draw()

void CImageGraphics::draw ( IGraphics * graphics)

◆ drawInPos()

void CImageGraphics::drawInPos ( IGraphics * graphics,
double xPos,
double yPos )

◆ getPos()

void CImageGraphics::getPos ( double * xPos,
double * yPos ) const

◆ getSize()

void CImageGraphics::getSize ( double * sizeX,
double * sizeY ) const

◆ isDefined()

bool CImageGraphics::isDefined ( ) const
nodiscard

◆ isIdImage()

bool CImageGraphics::isIdImage ( const std::string & idImage) const
nodiscard

◆ operator==()

bool CImageGraphics::operator== ( const CImageGraphics & b) const

◆ prvDrawImage()

void CImageGraphics::prvDrawImage ( class IGraphics * graphics)
private

◆ removeObjectDraw()

void CImageGraphics::removeObjectDraw ( IGraphics * graphics)

Member Data Documentation

◆ m_idImage

std::string CImageGraphics::m_idImage
private

◆ m_isDefined

bool CImageGraphics::m_isDefined
private

◆ m_material

iv::ui::graphics::Material* CImageGraphics::m_material
private

◆ m_rectangle

CRectangleGraphics* CImageGraphics::m_rectangle
private

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