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

#include <CDrawShapes.hpp>

Public Types

enum class  EValueAxisType { Date , Hours , Value }
 

Static Public Member Functions

static void drawArcWithColor (double radiusMark, double angleInitial, double angleFinal, iv::types::color color, IGraphics *graphics)
 
static void drawArcWithColor (double radiusMark, double angleInitial, double angleFinal, iv::types::color color, IGraphics *graphics, float thickness)
 
static void drawCircleFilled (iv::types::color rgbCenter, iv::types::color rgbPerimeter, double radius, IGraphics *graphics)
 
static void drawCircumferenceWithInterpolation (double radius, const CInterpolationColor &interpolationColors, IGraphics *graphics)
 
static void drawButtonPushed (double width, double height, uint32_t rgbColorBackground, uint32_t rgbColorBorder, uint32_t rgbColorShadow, IGraphics *graphics)
 
static void drawCirclePump (double x, double y, double size, iv::types::color color, CCircleGraphics *circle, IGraphics *graphics)
 
static void drawCompressorSecondDesign (double size, iv::types::color colorControlState, iv::types::color colorWorkingState, CCircleGraphics *circlePump, IGraphics *graphics)
 
static void drawCross (double size, IGraphics *graphics)
 
static void drawCrossInPoint (double x, double y, double size, IGraphics *graphics)
 
static void drawInfo (const std::vector< std::string > &txtInfo, double x, double y, unsigned char justify, IGraphics *graphics)
 
static void drawFrameGradiant (const std::shared_ptr< std::vector< iv::math::geometry::Point2d > > &pointsInteriors, uint32_t rgbColorInterior, const std::shared_ptr< std::vector< iv::math::geometry::Point2d > > &pointsExteriors, uint32_t rgbColorExterior, IGraphics *graphics)
 
static void drawLegend (IGraphics *graphics, const std::vector< std::string > &names, const std::vector< uint32_t > &colors, std::optional< iv::types::color > colorShadow=std::nullopt, std::optional< iv::types::color > colorLegend=std::nullopt)
 
static void drawMechanicPump (double size, iv::types::color colorLocalRemote, iv::types::color colorRunStop, CCircleGraphics *circlePump, CCircleGraphics *circleMechanic1, CCircleGraphics *circleMechanic2, IGraphics *graphics)
 
static void drawPistonPump (double size, iv::types::color colorLocalRemote, iv::types::color colorRunStop, IGraphics *graphics)
 
static void drawPolyline (const std::shared_ptr< std::vector< iv::math::geometry::Point2d > > &points, IGraphics *graphics)
 
static void drawPolyline (const std::shared_ptr< std::vector< iv::math::geometry::Point3d > > &points, IGraphics *graphics)
 
static void drawPolylineFilled (const std::vector< iv::math::geometry::Point2d > &points, IGraphics *graphics)
 
static void drawPolylineFilled (const std::shared_ptr< std::vector< iv::math::geometry::Point2d > > &points, IGraphics *graphics)
 
static void drawPolylineFilled (const std::vector< iv::math::geometry::Point3d > &points, IGraphics *graphics)
 
static void drawRectangleFilledCentredInOrigin (double width, double height, uint64_t rgbFilled, IGraphics *graphics)
 
static void drawRectangleInCenter (double posX, double posY, double sizeX, double sizeY, IGraphics *graphics)
 
static void drawReferences (bool isDigital, double textHeight, const std::string &nameUnitX, bool withAxisX, const std::string &nameUnitY, bool withAxisY, iv::types::color colorRGBAxisY, double moveAxisY, double sizeLineRefX, double sizeLineRefY, double xMax, double yMax, double multiplier, double xMin, double yMin, bool isGridVerticalActivated, bool isGridHorizontalActivated, uint16_t numDecimalsX, uint16_t numDecimalsY, double multipleX, double multipleY, CDrawShapes::EValueAxisType valueAxisX, uint64_t moveTextX, double moveTextY, IGraphics *graphics, bool multipleCurves)
 
static void drawTorusWithColor (double radiusIn, iv::types::color colorIn, double radiusOut, iv::types::color colorOut, double angleInitial, double angleFinal, IGraphics *graphics)
 
static void drawTrianglesFan (const std::vector< iv::math::geometry::Point2d > &points, IGraphics *graphics)
 

Member Enumeration Documentation

◆ EValueAxisType

enum class CDrawShapes::EValueAxisType
strong
Enumerator
Date 
Hours 
Value 

Member Function Documentation

◆ drawArcWithColor() [1/2]

void CDrawShapes::drawArcWithColor ( double radiusMark,
double angleInitial,
double angleFinal,
iv::types::color color,
IGraphics * graphics )
static

◆ drawArcWithColor() [2/2]

void CDrawShapes::drawArcWithColor ( double radiusMark,
double angleInitial,
double angleFinal,
iv::types::color color,
IGraphics * graphics,
float thickness )
static

◆ drawButtonPushed()

void CDrawShapes::drawButtonPushed ( double width,
double height,
uint32_t rgbColorBackground,
uint32_t rgbColorBorder,
uint32_t rgbColorShadow,
IGraphics * graphics )
static

◆ drawCircleFilled()

void CDrawShapes::drawCircleFilled ( iv::types::color rgbCenter,
iv::types::color rgbPerimeter,
double radius,
IGraphics * graphics )
static

◆ drawCirclePump()

void CDrawShapes::drawCirclePump ( double x,
double y,
double size,
iv::types::color color,
CCircleGraphics * circle,
IGraphics * graphics )
static

◆ drawCircumferenceWithInterpolation()

void CDrawShapes::drawCircumferenceWithInterpolation ( double radius,
const CInterpolationColor & interpolationColors,
IGraphics * graphics )
static

◆ drawCompressorSecondDesign()

void CDrawShapes::drawCompressorSecondDesign ( double size,
iv::types::color colorControlState,
iv::types::color colorWorkingState,
CCircleGraphics * circlePump,
IGraphics * graphics )
static

◆ drawCross()

void CDrawShapes::drawCross ( double size,
IGraphics * graphics )
static

◆ drawCrossInPoint()

void CDrawShapes::drawCrossInPoint ( double x,
double y,
double size,
IGraphics * graphics )
static

◆ drawFrameGradiant()

void CDrawShapes::drawFrameGradiant ( const std::shared_ptr< std::vector< iv::math::geometry::Point2d > > & pointsInteriors,
uint32_t rgbColorInterior,
const std::shared_ptr< std::vector< iv::math::geometry::Point2d > > & pointsExteriors,
uint32_t rgbColorExterior,
IGraphics * graphics )
static

◆ drawInfo()

void CDrawShapes::drawInfo ( const std::vector< std::string > & txtInfo,
double x,
double y,
unsigned char justify,
IGraphics * graphics )
static

◆ drawLegend()

void CDrawShapes::drawLegend ( IGraphics * graphics,
const std::vector< std::string > & names,
const std::vector< uint32_t > & colors,
std::optional< iv::types::color > colorShadow = std::nullopt,
std::optional< iv::types::color > colorLegend = std::nullopt )
static

◆ drawMechanicPump()

void CDrawShapes::drawMechanicPump ( double size,
iv::types::color colorLocalRemote,
iv::types::color colorRunStop,
CCircleGraphics * circlePump,
CCircleGraphics * circleMechanic1,
CCircleGraphics * circleMechanic2,
IGraphics * graphics )
static

◆ drawPistonPump()

void CDrawShapes::drawPistonPump ( double size,
iv::types::color colorLocalRemote,
iv::types::color colorRunStop,
IGraphics * graphics )
static

◆ drawPolyline() [1/2]

void CDrawShapes::drawPolyline ( const std::shared_ptr< std::vector< iv::math::geometry::Point2d > > & points,
IGraphics * graphics )
static

◆ drawPolyline() [2/2]

void CDrawShapes::drawPolyline ( const std::shared_ptr< std::vector< iv::math::geometry::Point3d > > & points,
IGraphics * graphics )
static

◆ drawPolylineFilled() [1/3]

void CDrawShapes::drawPolylineFilled ( const std::shared_ptr< std::vector< iv::math::geometry::Point2d > > & points,
IGraphics * graphics )
static

◆ drawPolylineFilled() [2/3]

void CDrawShapes::drawPolylineFilled ( const std::vector< iv::math::geometry::Point2d > & points,
IGraphics * graphics )
static

◆ drawPolylineFilled() [3/3]

void CDrawShapes::drawPolylineFilled ( const std::vector< iv::math::geometry::Point3d > & points,
IGraphics * graphics )
static

◆ drawRectangleFilledCentredInOrigin()

void CDrawShapes::drawRectangleFilledCentredInOrigin ( double width,
double height,
uint64_t rgbFilled,
IGraphics * graphics )
static

◆ drawRectangleInCenter()

void CDrawShapes::drawRectangleInCenter ( double posX,
double posY,
double sizeX,
double sizeY,
IGraphics * graphics )
static

◆ drawReferences()

void CDrawShapes::drawReferences ( bool isDigital,
double textHeight,
const std::string & nameUnitX,
bool withAxisX,
const std::string & nameUnitY,
bool withAxisY,
iv::types::color colorRGBAxisY,
double moveAxisY,
double sizeLineRefX,
double sizeLineRefY,
double xMax,
double yMax,
double multiplier,
double xMin,
double yMin,
bool isGridVerticalActivated,
bool isGridHorizontalActivated,
uint16_t numDecimalsX,
uint16_t numDecimalsY,
double multipleX,
double multipleY,
CDrawShapes::EValueAxisType valueAxisX,
uint64_t moveTextX,
double moveTextY,
IGraphics * graphics,
bool multipleCurves )
static

◆ drawTorusWithColor()

void CDrawShapes::drawTorusWithColor ( double radiusIn,
iv::types::color colorIn,
double radiusOut,
iv::types::color colorOut,
double angleInitial,
double angleFinal,
IGraphics * graphics )
static

◆ drawTrianglesFan()

void CDrawShapes::drawTrianglesFan ( const std::vector< iv::math::geometry::Point2d > & points,
IGraphics * graphics )
static

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