Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
hdicoreDraw.h File Reference

Header file for basic Illustrator drawing functionality. More...

#include <memory>
#include <vector>
#include "hdicoreTypes.h"
Include dependency graph for hdicoreDraw.h:

Namespaces

namespace  hdi::core::draw
 Organizes all primitive shape drawing functionality into one namespace for convenience.
 

Typedefs

typedef std::vector< ArtboardPoint > hdi::core::draw::ArtboardPointVector
 

Functions

std::unique_ptr< Art > hdi::core::draw::point (const ArtboardPoint &loc_, const Art *const group_=NULL)
 Draws a single segment point at a given location in the current document.
 
std::unique_ptr< Art > hdi::core::draw::line (const ArtboardPoint &start_, const ArtboardPoint &end_, const PathStyle &style_, const Art *const group_=NULL)
 Draws a line in group_ from start_ to end_.
 
std::unique_ptr< Art > hdi::core::draw::line (const ArtboardPoint &start_, const ArtboardPoint &end_, const Art *const group_=NULL)
 Draws a line in group_ from start_ to end_.
 
std::unique_ptr< Art > hdi::core::draw::rect (const ArtboardRect &rect_, const PathStyle &style_, const Art *const group_=NULL)
 Draws the rectangle indicated by rect_ in group_.
 
std::unique_ptr< Art > hdi::core::draw::rect (const ArtboardRect &rect_, const Art *const group_=NULL)
 Draws the rectangle indicated by rect_ in group_.
 
std::unique_ptr< Art > hdi::core::draw::roundedRect (const ArtboardRect &rect_, const double radius_, const PathStyle &style_, const Art *const group_=NULL)
 Draws the rounded rectangle indicated by rect_ and radius_ in group_.
 
std::unique_ptr< Art > hdi::core::draw::roundedRect (const ArtboardRect &rect_, const double radius_, const Art *const group_=NULL)
 Draws the rounded rectangle indicated by rect_ and radius_ in group_.
 
std::unique_ptr< Art > hdi::core::draw::chamferedRect (const ArtboardRect &rect_, const double dist_, const PathStyle &style_, const Art *const group_=NULL)
 Draws the chamfered rectangle indicated by rect_ and dist_ in group_.
 
std::unique_ptr< Art > hdi::core::draw::chamferedRect (const ArtboardRect &rect_, const double dist_, const Art *const group_=NULL)
 Draws the chamfered rectangle indicated by rect_ and dist_ in group_.
 
std::unique_ptr< Art > hdi::core::draw::polygon (const ArtboardPointVector &points_, const PathStyle &style_, const Art *const group_=NULL)
 Draws a polygon from a series of points.
 
std::unique_ptr< Art > hdi::core::draw::polygon (const ArtboardPointVector &points_, const Art *const group_=NULL)
 Draws a polygon from a series of points.
 
std::unique_ptr< Art > hdi::core::draw::regularPolygon (const ArtboardPoint &center_, const double radius_, const int16_t sides_, const PathStyle &style_, const Art *const group_=NULL)
 Draws a regular polygon of a given radius with a given number of sides at a given point.
 
std::unique_ptr< Art > hdi::core::draw::regularPolygon (const ArtboardPoint &center_, const double radius_, const int16_t sides_, const Art *const group_=NULL)
 Draws a regular polygon of a given radius with a given number of sides at a given point.
 
std::unique_ptr< Art > hdi::core::draw::regularPolygon (const ArtboardPoint &center_, const ArtboardPoint &vertex_, const int16_t sides_, const PathStyle &style_, const Art *const group_=NULL)
 Draws a regular polygon with a given number of sides at a given point, extending to a given vertex point (the center often being the click point and the vertex often being the cursor)
 
std::unique_ptr< Art > hdi::core::draw::regularPolygon (const ArtboardPoint &center_, const ArtboardPoint &vertex_, const int16_t sides_, const Art *const group_=NULL)
 Draws a regular polygon with a given number of sides at a given point, extending to a given vertex point (the center often being the click point and the vertex often being the cursor)
 
std::unique_ptr< Art > hdi::core::draw::ellipse (const ArtboardPoint &source_, const double width_, const double height_, const bool centered_, const PathStyle &style_, const Art *const group_=NULL)
 Draws an ellipse from source_ of width_ and height_ in group_ (centered_ determines where source_ is... see arguments list)
 
std::unique_ptr< Art > hdi::core::draw::ellipse (const ArtboardPoint &source_, const double width_, const double height_, const bool centered_, const Art *const group_=NULL)
 Draws an ellipse from source_ of width_ and height_ in group_ (centered_ determines where source_ is... see arguments list)
 
std::unique_ptr< Art > hdi::core::draw::star (const ArtboardPoint &center_, const uint16_t points_, const double innerRadius_, const double outerRadius_, const PathStyle &style_, const Art *const group_=NULL)
 Draws a star with a given number of points, radii, etc. at a given point.
 
std::unique_ptr< Art > hdi::core::draw::star (const ArtboardPoint &center_, const uint16_t points_, const double innerRadius_, const double outerRadius_, const Art *const group_=NULL)
 Draws a star with a given number of points, radii, etc. at a given point.
 
std::unique_ptr< Art > hdi::core::draw::triangle (const ArtboardPoint &center_, const double width_, const PathStyle &style_, const Art *const group_=NULL)
 Draws an equilateral triangle of a given (base) width at a given point.
 
std::unique_ptr< Art > hdi::core::draw::triangle (const ArtboardPoint &center_, const double width_, const Art *const group_=NULL)
 Draws an equilateral triangle of a given (base) width at a given point.
 
std::unique_ptr< Art > hdi::core::draw::arc (const ArtboardPoint &center_, const ArtboardPoint &start_, const ArtboardPoint &end_, const PathStyle &style_, const Art *const group_=NULL)
 Draws an arc segment (of a circle)
 
std::unique_ptr< Art > hdi::core::draw::arc (const ArtboardPoint &center_, const ArtboardPoint &start_, const ArtboardPoint &end_, const Art *const group_=NULL)
 Draws an arc segment (of a circle)
 
std::unique_ptr< Art > hdi::core::draw::text (const std::string &text_, const ArtboardPoint &where_, const std::string &fontName_, const double fontSize_, const ParagraphJustification just_, const ArtColor &color_, const Art *const group_=NULL)
 Draws text at a given point of a given font, size, justification, color, etc.
 
std::unique_ptr< Art > hdi::core::draw::text (const std::string &text_, const ArtboardPoint &where_, const Font &font_, const double fontSize_, const ParagraphJustification just_, const ArtColor &color_, const Art *const group_=NULL)
 Draws text at a given point of a given font, size, justification, color, etc.
 

Detailed Description

Header file for basic Illustrator drawing functionality.