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

#include <CCaptionPlane.hpp>

Classes

struct  SPrvRowCaption
 

Public Member Functions

 CCaptionPlane ()
 
 CCaptionPlane (const CCaptionPlane &captionPlane)
 
 ~CCaptionPlane ()
 
void addRow (const std::string &txt, IRcpDraw **rcpDraw)
 
void draw (IGraphics *graphics, double sizeXImage, double sizeYImage, double sizeText)
 
uint64_t getSizeForDraw ()
 

Static Private Member Functions

static bool prvExistOnlyOne (const std::vector< SPrvRowCaption > &list, const std::string &txtCaption)
 
static void prvGetMaxSizeText (std::vector< SPrvRowCaption > &listCaptionsPlane, double sizeText, IGraphics *graphics, double *maxWidthText, double *maxHeightText)
 
static bool prvIsTextCaption (const std::string &txtCaption, const SPrvRowCaption &rowCaption)
 

Private Attributes

std::vector< SPrvRowCaptionm_listCaptionsPlane
 

Constructor & Destructor Documentation

◆ CCaptionPlane() [1/2]

CCaptionPlane::CCaptionPlane ( )
default

◆ CCaptionPlane() [2/2]

CCaptionPlane::CCaptionPlane ( const CCaptionPlane & captionPlane)

◆ ~CCaptionPlane()

CCaptionPlane::~CCaptionPlane ( )
default

Member Function Documentation

◆ addRow()

void CCaptionPlane::addRow ( const std::string & txt,
IRcpDraw ** rcpDraw )

◆ draw()

void CCaptionPlane::draw ( IGraphics * graphics,
double sizeXImage,
double sizeYImage,
double sizeText )

◆ getSizeForDraw()

uint64_t CCaptionPlane::getSizeForDraw ( )

◆ prvExistOnlyOne()

bool CCaptionPlane::prvExistOnlyOne ( const std::vector< SPrvRowCaption > & list,
const std::string & txtCaption )
staticprivate

◆ prvGetMaxSizeText()

void CCaptionPlane::prvGetMaxSizeText ( std::vector< SPrvRowCaption > & listCaptionsPlane,
double sizeText,
IGraphics * graphics,
double * maxWidthText,
double * maxHeightText )
staticprivate

◆ prvIsTextCaption()

bool CCaptionPlane::prvIsTextCaption ( const std::string & txtCaption,
const SPrvRowCaption & rowCaption )
staticprivate

Member Data Documentation

◆ m_listCaptionsPlane

std::vector<SPrvRowCaption> CCaptionPlane::m_listCaptionsPlane
private

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