#include "Math/Math2d.h"
Go to the source code of this file.
Namespaces | |
namespace | PrimitivesDrawer |
Functions for drawing 2D primitives into images. | |
Functions | |
void | PrimitivesDrawer::DrawCircle (CByteImage *pImage, float mx, float my, float radius, int r=255, int g=255, int b=255, int thickness=1, bool bAntiAlias=false) |
Draws a circle into a CByteImage. | |
void | PrimitivesDrawer::DrawCircle (CByteImage *pImage, const Vec2d ¢er, float radius, int r=255, int g=255, int b=255, int thickness=1, bool bAntiAlias=false) |
Draws a circle into a CByteImage. | |
void | PrimitivesDrawer::DrawCircle (CByteImage *pImage, const Circle2d &circle, int r=255, int g=255, int b=255, int thickness=1, bool bAntiAlias=false) |
Draws a circle into a CByteImage. | |
void | PrimitivesDrawer::DrawCross (CByteImage *pImage, const Vec2d &point, int length, int r, int g, int b) |
Draws a small cross into a CByteImage. | |
void | PrimitivesDrawer::DrawEllipse (CByteImage *pImage, const Ellipse2d &ellipse, int r=255, int g=255, int b=255, int thickness=1) |
Draws an ellipse into a CByteImage. | |
void | PrimitivesDrawer::DrawLine (CByteImage *pImage, const PointPair2d &line, int r=255, int g=255, int b=255, int thickness=1) |
Draws a line segment into a CByteImage, given its two end points. | |
void | PrimitivesDrawer::DrawLine (CByteImage *pImage, const Vec2d &p1, const Vec2d &p2, int r=255, int g=255, int b=255, int thickness=1) |
Draws a line segment into a CByteImage, given its two end points. | |
void | PrimitivesDrawer::DrawLine (CByteImage *pImage, const StraightLine2d &line, int r, int g, int b, int thickness=1) |
Draws a line into a CByteImage, given its representation as StraightLine2d. | |
void | PrimitivesDrawer::DrawLineNormal (CByteImage *pImage, float nx, float ny, float c, int r, int g, int b, int thickness=1) |
Draws a line into a CByteImage, given its parameters in normal form. | |
void | PrimitivesDrawer::DrawLinePolar (CByteImage *pImage, float theta, float r, int color_r, int color_g, int color_b, int thickness=1) |
Draws a straight line into a CByteImage, given its parameters in polar form. | |
void | PrimitivesDrawer::DrawPoint (CByteImage *pImage, const Vec2d &point, int r=255, int g=255, int b=255) |
Draws a point into a CByteImage. | |
void | PrimitivesDrawer::DrawPoint (CByteImage *pImage, int x, int y, int r=255, int g=255, int b=255) |
Draws a point into a CByteImage. | |
void | PrimitivesDrawer::DrawPointBlended (CByteImage *pImage, const Vec2d &point, int r=255, int g=255, int b=255, float blend=1.0f) |
Draws a point into a CByteImage, with blending. | |
void | PrimitivesDrawer::DrawPointBlended (CByteImage *pImage, int x, int y, int r=255, int g=255, int b=255, float blend=1.0f) |
Draws a point into a CByteImage, with blending. | |
void | PrimitivesDrawer::DrawPoints (CByteImage *pImage, const CVec2dArray &points, int r=255, int g=255, int b=255) |
Draws a list of points of type CVec2dArray into a CByteImage. | |
void | PrimitivesDrawer::DrawPolygon (CByteImage *pImage, const Vec2d *pPoints, int nPoints, int r, int g, int b, int thickness=1) |
Draws a polygon into a CByteImage. | |
void | PrimitivesDrawer::DrawPolygon (CByteImage *pImage, const CVec2dArray &points, int r, int g, int b, int thickness=1) |
Draws a polygon into a CByteImage. | |
void | PrimitivesDrawer::DrawRectangle (CByteImage *pImage, const Rectangle2d &rectangle, int r, int g, int b, int thickness=1) |
Draws a rectangle into a CByteImage. | |
void | PrimitivesDrawer::DrawRegion (CByteImage *pImage, const MyRegion ®ion, int r=255, int g=255, int b=255, int thickness=1) |
Draws a rectangle into a CByteImage. |