PCL
pcl::VectorGraphics Class Reference

Client-side interface to a PixInsight vector graphics context. More...

#include <Graphics.h>

+ Inheritance diagram for pcl::VectorGraphics:

Public Types

using composition_op = GraphicsContextBase::composition_op
 
using fill_rule = GraphicsContextBase::fill_rule
 
- Public Types inherited from pcl::GraphicsContextBase
using composition_op = CompositionOp::value_type
 
using fill_rule = FillRule::value_type
 

Public Member Functions

 VectorGraphics ()=default
 
 VectorGraphics (Bitmap &bitmap)
 
 VectorGraphics (Control &control)
 
 VectorGraphics (SVG &svg)
 
 VectorGraphics (VectorGraphics &&x)
 
 ~VectorGraphics () override
 
pcl::DPoint BrushOrigin () const
 
pcl::DRect ClipRect () const
 
template<class P >
void DrawArc (const P &c, double r, double start, double span)
 
void DrawArc (double xc, double yc, double r, double start, double span)
 
template<class P >
void DrawBitmap (const P &p, const Bitmap &bm)
 
void DrawBitmap (double x, double y, const Bitmap &)
 
template<class P , class R >
void DrawBitmapRect (const P &p, const Bitmap &bm, const R &r)
 
void DrawBitmapRect (double x, double y, const Bitmap &, double x0, double y0, double x1, double y1)
 
template<class P >
void DrawChord (const P &c, double r, double start, double span)
 
void DrawChord (double xc, double yc, double r, double start, double span)
 
template<class P >
void DrawCircle (const P &c, double r)
 
void DrawCircle (double xc, double yc, double r)
 
template<class R >
void DrawEllipse (const R &r)
 
void DrawEllipse (double x0, double y0, double x1, double y1)
 
template<class R >
void DrawEllipticArc (const R &r, double start, double span)
 
void DrawEllipticArc (double x0, double y0, double x1, double y1, double start, double span)
 
template<class R >
void DrawEllipticChord (const R &r, double start, double span)
 
void DrawEllipticChord (double x0, double y0, double x1, double y1, double start, double span)
 
template<class R >
void DrawEllipticPie (const R &r, double start, double span)
 
void DrawEllipticPie (double x0, double y0, double x1, double y1, double start, double span)
 
template<class P0 , class P1 >
void DrawLine (const P0 &p0, const P1 &p1)
 
void DrawLine (double x0, double y0, double x1, double y1)
 
template<class P >
void DrawPie (const P &c, double r, double start, double span)
 
void DrawPie (double xc, double yc, double r, double start, double span)
 
template<class P >
void DrawPoint (const P &p)
 
void DrawPoint (double x, double y)
 
template<class C >
void DrawPolygon (const C &c, fill_rule rule=FillRule::OddEven)
 
void DrawPolygon (const pcl::DPoint *p, size_type n, fill_rule rule=FillRule::OddEven)
 
template<class C >
void DrawPolyline (const C &c)
 
void DrawPolyline (const pcl::DPoint *, size_type n)
 
template<class R >
void DrawRect (const R &r)
 
void DrawRect (double x0, double y0, double x1, double y1)
 
template<class R >
void DrawRoundedRect (const R &r, double rx, double ry)
 
template<class R >
void DrawRoundedRect (const R &r, double rxy=25)
 
void DrawRoundedRect (double x0, double y0, double x1, double y1, double rx, double ry)
 
void DrawRoundedRect (double x0, double y0, double x1, double y1, double rxy=25)
 
template<class R >
void DrawScaledBitmap (const R &r, const Bitmap &bm)
 
void DrawScaledBitmap (double x0, double y0, double x1, double y1, const Bitmap &)
 
template<class R1 , class R2 >
void DrawScaledBitmapRect (const R1 &dst, const Bitmap &bm, const R2 &src)
 
void DrawScaledBitmapRect (double dx0, double dy0, double dx1, double dy1, const Bitmap &, double sx0, double sy0, double sx1, double sy1)
 
template<class P >
void DrawText (const P &p, const String &s)
 
void DrawText (double x, double y, const String &)
 
template<class R >
void DrawTextRect (const R &r, const String &s, TextAlignmentFlags a=TextAlign::Default)
 
void DrawTextRect (double x0, double y0, double x1, double y1, const String &, TextAlignmentFlags=TextAlign::Default)
 
template<class R , class P >
void DrawTiledBitmap (const R &r, const Bitmap &bm, const P &offset=P())
 
void DrawTiledBitmap (double x0, double y0, double x1, double y1, const Bitmap &, double xOffset=0, double yOffset=0)
 
template<class P >
void EraseChord (const P &c, double r, double start, double span)
 
void EraseChord (double xc, double yc, double r, double start, double span)
 
template<class P >
void EraseCircle (const P &c, double r)
 
void EraseCircle (double xc, double yc, double r)
 
template<class R >
void EraseEllipse (const R &r)
 
void EraseEllipse (double x0, double y0, double x1, double y1)
 
template<class R >
void EraseEllipticChord (const R &r, double start, double span)
 
void EraseEllipticChord (double x0, double y0, double x1, double y1, double start, double span)
 
template<class R >
void EraseEllipticPie (const R &r, double start, double span)
 
void EraseEllipticPie (double x0, double y0, double x1, double y1, double start, double span)
 
template<class P >
void ErasePie (const P &c, double r, double start, double span)
 
void ErasePie (double xc, double yc, double r, double start, double span)
 
template<class C >
void ErasePolygon (const C &c, fill_rule rule=FillRule::OddEven)
 
void ErasePolygon (const pcl::DPoint *p, size_type n, fill_rule rule=FillRule::OddEven)
 
template<class R >
void EraseRect (const R &r)
 
void EraseRect (double x0, double y0, double x1, double y1)
 
template<class R >
void EraseRoundedRect (const R &r, double rx, double ry)
 
template<class R >
void EraseRoundedRect (const R &r, double rxy=25)
 
void EraseRoundedRect (double x0, double y0, double x1, double y1, double rx, double ry)
 
void EraseRoundedRect (double x0, double y0, double x1, double y1, double rxy=25)
 
template<class P >
void FillChord (const P &c, double r, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillChord (double xc, double yc, double r, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
template<class P >
void FillCircle (const P &c, double r, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillCircle (double xc, double yc, double r, const pcl::Brush &brush=pcl::Brush::Null())
 
template<class R >
void FillEllipse (const R &r, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillEllipse (double x0, double y0, double x1, double y1, const pcl::Brush &brush=pcl::Brush::Null())
 
template<class R >
void FillEllipticChord (const R &r, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillEllipticChord (double x0, double y0, double x1, double y1, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
template<class R >
void FillEllipticPie (const R &r, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillEllipticPie (double x0, double y0, double x1, double y1, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
template<class P >
void FillPie (const P &c, double r, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillPie (double xc, double yc, double r, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
template<class C >
void FillPolygon (const C &c, const pcl::Brush &brush=pcl::Brush::Null(), fill_rule rule=FillRule::OddEven)
 
void FillPolygon (const pcl::DPoint *p, size_type n, const pcl::Brush &brush=pcl::Brush::Null(), fill_rule rule=FillRule::OddEven)
 
template<class R >
void FillRect (const R &r, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillRect (double x0, double y0, double x1, double y1, const pcl::Brush &brush=pcl::Brush::Null())
 
template<class R >
void FillRoundedRect (const R &r, double rx, double ry, const pcl::Brush &brush=pcl::Brush::Null())
 
template<class R >
void FillRoundedRect (const R &r, double rxy=25, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillRoundedRect (double x0, double y0, double x1, double y1, double rx, double ry, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillRoundedRect (double x0, double y0, double x1, double y1, double rxy=25, const pcl::Brush &brush=pcl::Brush::Null())
 
template<class R >
void IntersectClipRect (const R &r)
 
void IntersectClipRect (double x0, double y0, double x1, double y1)
 
VectorGraphicsoperator= (VectorGraphics &&x)
 
template<class P >
void SetBrushOrigin (const P &p)
 
void SetBrushOrigin (double x, double y)
 
template<class R >
void SetClipRect (const R &r)
 
void SetClipRect (double x0, double y0, double x1, double y1)
 
template<class P >
void StrokeChord (const P &c, double r, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeChord (double xc, double yc, double r, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
template<class P >
void StrokeCircle (const P &c, double r, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeCircle (double xc, double yc, double r, const pcl::Pen &pen=pcl::Pen::Null())
 
template<class R >
void StrokeEllipse (const R &r, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeEllipse (double x0, double y0, double x1, double y1, const pcl::Pen &pen=pcl::Pen::Null())
 
template<class R >
void StrokeEllipticChord (const R &r, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeEllipticChord (double x0, double y0, double x1, double y1, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
template<class R >
void StrokeEllipticPie (const R &r, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeEllipticPie (double x0, double y0, double x1, double y1, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
template<class P >
void StrokePie (const P &c, double r, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokePie (double xc, double yc, double r, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
template<class C >
void StrokePolygon (const C &c, const pcl::Pen &pen=pcl::Pen::Null(), fill_rule rule=FillRule::OddEven)
 
void StrokePolygon (const pcl::DPoint *p, size_type n, const pcl::Pen &pen=pcl::Pen::Null(), fill_rule rule=FillRule::OddEven)
 
template<class R >
void StrokeRect (const R &r, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeRect (double x0, double y0, double x1, double y1, const pcl::Pen &pen=pcl::Pen::Null())
 
template<class R >
void StrokeRoundedRect (const R &r, double rx, double ry, const pcl::Pen &pen=pcl::Pen::Null())
 
template<class R >
void StrokeRoundedRect (const R &r, double rxy=25, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeRoundedRect (double x0, double y0, double x1, double y1, double rx, double ry, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeRoundedRect (double x0, double y0, double x1, double y1, double rxy=25, const pcl::Pen &pen=pcl::Pen::Null())
 
template<class R >
pcl::DRect TextRect (const R &r, const String &s, TextAlignmentFlags a=TextAlign::Default)
 
pcl::DRect TextRect (double x0, double y0, double x1, double y1, const String &, TextAlignmentFlags=TextAlign::Default) const
 
template<class R >
void UniteClipRect (const R &r)
 
void UniteClipRect (double x0, double y0, double x1, double y1)
 
- Public Member Functions inherited from pcl::GraphicsContextBase
 GraphicsContextBase ()
 
 GraphicsContextBase (Bitmap &bitmap)
 
 GraphicsContextBase (Control &control)
 
 GraphicsContextBase (GraphicsContextBase &&x)
 
 GraphicsContextBase (SVG &svg)
 
 ~GraphicsContextBase () override
 
pcl::Brush BackgroundBrush () const
 
bool BeginPaint (Bitmap &bitmap)
 
bool BeginPaint (Control &control)
 
bool BeginPaint (SVG &svg)
 
pcl::Brush Brush () const
 
composition_op CompositionOperator () const
 
void DisableAntialiasing (bool disable=true)
 
void DisableClipping (bool disable=true)
 
void DisableSmoothInterpolation (bool disable=true)
 
void DisableTextAntialiasing (bool disable=true)
 
void DisableTransformation (bool disable=true)
 
void EnableAntialiasing (bool=true)
 
void EnableClipping (bool=true)
 
void EnableSmoothInterpolation (bool=true)
 
void EnableTextAntialiasing (bool=true)
 
void EnableTransformation (bool=true)
 
void EndPaint ()
 
void EnsureUnique () override
 
pcl::Font Font () const
 
pcl::Brush GetBrush () const
 
pcl::Font GetFont () const
 
pcl::Pen GetPen () const
 
bool IsAntialiasingEnabled () const
 
bool IsClippingEnabled () const
 
bool IsOpaqueBackground () const
 
bool IsPainting () const
 
bool IsSmoothInterpolationEnabled () const
 
bool IsTextAntialiasingEnabled () const
 
bool IsTransformationEnabled () const
 
bool IsTransparentBackground () const
 
void MultiplyTransformationMatrix (const Matrix &M)
 
void MultiplyTransformationMatrix (double m11, double m12, double m13, double m21, double m22, double m23, double m31, double m32, double m33)
 
double Opacity () const
 
GraphicsContextBaseoperator= (GraphicsContextBase &&x)
 
pcl::Pen Pen () const
 
void PopState ()
 
void PushState ()
 
void ResetCompositionOperator ()
 
void ResetTransformation ()
 
void RotateTransformation (double angleRadians)
 
void ScaleTransformation (double scale)
 
void ScaleTransformation (double xScale, double yScale)
 
void SetBackgroundBrush (const pcl::Brush &)
 
void SetBrush (const pcl::Brush &)
 
void SetCompositionOperator (composition_op)
 
void SetFont (const pcl::Font &)
 
void SetOpacity (double op)
 
void SetOpaqueBackground (bool opaque=true)
 
void SetPen (const pcl::Pen &)
 
void SetPen (RGBA color, float width)
 
void SetTransformationMatrix (const Matrix &M)
 
void SetTransformationMatrix (double m11, double m12, double m13, double m21, double m22, double m23, double m31, double m32, double m33)
 
void SetTransparentBackground (bool=true)
 
void ShearTransformation (double s)
 
void ShearTransformation (double sx, double sy)
 
void Transform (Array< DPoint > &a) const
 
void Transform (double &x, double &y) const
 
void Transform (DPoint *p, size_type n) const
 
Matrix TransformationMatrix () const
 
Array< DPointTransformed (const Array< DPoint > &a) const
 
DPoint Transformed (const DPoint &p) const
 
DRect Transformed (const DRect &r) const
 
void TranslateTransformation (double d)
 
void TranslateTransformation (double dx, double dy)
 
- Public Member Functions inherited from pcl::UIObject
virtual ~UIObject () noexcept(false)
 
bool IsAlias () const
 
bool IsGarbage () const
 
bool IsNull () const
 
bool IsSameObject (const UIObject &o) const
 
bool IsUnique () const
 
String ObjectId () const
 
IsoString ObjectType () const
 
bool operator< (const UIObject &o) const
 
bool operator== (const UIObject &o) const
 
size_type RefCount () const
 
void SetObjectId (const String &id)
 

Static Public Member Functions

static VectorGraphicsNull ()
 
- Static Public Member Functions inherited from pcl::UIObject
static UIObjectNull ()
 

Additional Inherited Members

- Protected Member Functions inherited from pcl::UIObject
 UIObject ()=default
 
 UIObject (const UIObject &x)
 
 UIObject (UIObject &&x)
 
UIObjectoperator= (const UIObject &x)
 
UIObjectoperator= (UIObject &&x)
 

Detailed Description

TODO: Write a detailed description for VectorGraphics.

TODO: Include a number of examples for drawing primitives, composition

operators, rendering performance, transformations, etc.

Definition at line 1462 of file Graphics.h.

Member Typedef Documentation

◆ composition_op

using pcl::VectorGraphics::composition_op = GraphicsContextBase::composition_op

Represents a Porter-Duff alpha composition operator.

Definition at line 1469 of file Graphics.h.

◆ fill_rule

using pcl::VectorGraphics::fill_rule = GraphicsContextBase::fill_rule

Represents a polygon fill rule.

Definition at line 1474 of file Graphics.h.

Constructor & Destructor Documentation

◆ VectorGraphics() [1/5]

pcl::VectorGraphics::VectorGraphics ( )
default

Constructs an inactive vector graphics context.

◆ VectorGraphics() [2/5]

pcl::VectorGraphics::VectorGraphics ( Control control)
inline

Constructs an active vector graphics context, ready to draw on the specified control.

Warning
Invoking this constructor outside a Control::OnPaint() event handler is illegal on all supported platforms. If called without an active OnPaint() event, this constructor throws an Error exception.

Definition at line 1489 of file Graphics.h.

◆ VectorGraphics() [3/5]

pcl::VectorGraphics::VectorGraphics ( Bitmap bitmap)
inline

Constructs an active vector graphics context, ready to draw on the specified bitmap.

Definition at line 1498 of file Graphics.h.

◆ VectorGraphics() [4/5]

pcl::VectorGraphics::VectorGraphics ( SVG svg)
inline

Constructs an active vector graphics context, ready to draw on the specified svg object.

Definition at line 1507 of file Graphics.h.

◆ VectorGraphics() [5/5]

pcl::VectorGraphics::VectorGraphics ( VectorGraphics &&  x)
inline

Move constructor.

Definition at line 1515 of file Graphics.h.

◆ ~VectorGraphics()

pcl::VectorGraphics::~VectorGraphics ( )
inlineoverride

Destroys a VectorGraphics object. If this graphics context is active, it is terminated upon destruction.

Definition at line 1524 of file Graphics.h.

Member Function Documentation

◆ BrushOrigin()

pcl::DPoint pcl::VectorGraphics::BrushOrigin ( ) const

#

◆ ClipRect()

pcl::DRect pcl::VectorGraphics::ClipRect ( ) const

#

◆ DrawArc() [1/2]

template<class P >
void pcl::VectorGraphics::DrawArc ( const P &  c,
double  r,
double  start,
double  span 
)
inline

#

Definition at line 1988 of file Graphics.h.

◆ DrawArc() [2/2]

void pcl::VectorGraphics::DrawArc ( double  xc,
double  yc,
double  r,
double  start,
double  span 
)
inline

#

Definition at line 1980 of file Graphics.h.

◆ DrawBitmap() [1/2]

template<class P >
void pcl::VectorGraphics::DrawBitmap ( const P &  p,
const Bitmap bm 
)
inline

#

Definition at line 2222 of file Graphics.h.

◆ DrawBitmap() [2/2]

void pcl::VectorGraphics::DrawBitmap ( double  x,
double  y,
const Bitmap  
)

#

◆ DrawBitmapRect() [1/2]

template<class P , class R >
void pcl::VectorGraphics::DrawBitmapRect ( const P &  p,
const Bitmap bm,
const R &  r 
)
inline

#

Definition at line 2234 of file Graphics.h.

◆ DrawBitmapRect() [2/2]

void pcl::VectorGraphics::DrawBitmapRect ( double  x,
double  y,
const Bitmap ,
double  x0,
double  y0,
double  x1,
double  y1 
)

#

◆ DrawChord() [1/2]

template<class P >
void pcl::VectorGraphics::DrawChord ( const P &  c,
double  r,
double  start,
double  span 
)
inline

#

Definition at line 2054 of file Graphics.h.

◆ DrawChord() [2/2]

void pcl::VectorGraphics::DrawChord ( double  xc,
double  yc,
double  r,
double  start,
double  span 
)
inline

#

Definition at line 2046 of file Graphics.h.

◆ DrawCircle() [1/2]

template<class P >
void pcl::VectorGraphics::DrawCircle ( const P &  c,
double  r 
)
inline

#

Definition at line 1853 of file Graphics.h.

◆ DrawCircle() [2/2]

void pcl::VectorGraphics::DrawCircle ( double  xc,
double  yc,
double  r 
)
inline

#

Definition at line 1845 of file Graphics.h.

◆ DrawEllipse() [1/2]

template<class R >
void pcl::VectorGraphics::DrawEllipse ( const R &  r)
inline

#

Definition at line 1799 of file Graphics.h.

◆ DrawEllipse() [2/2]

void pcl::VectorGraphics::DrawEllipse ( double  x0,
double  y0,
double  x1,
double  y1 
)

#

◆ DrawEllipticArc() [1/2]

template<class R >
void pcl::VectorGraphics::DrawEllipticArc ( const R &  r,
double  start,
double  span 
)
inline

#

Definition at line 1973 of file Graphics.h.

◆ DrawEllipticArc() [2/2]

void pcl::VectorGraphics::DrawEllipticArc ( double  x0,
double  y0,
double  x1,
double  y1,
double  start,
double  span 
)

#

◆ DrawEllipticChord() [1/2]

template<class R >
void pcl::VectorGraphics::DrawEllipticChord ( const R &  r,
double  start,
double  span 
)
inline

#

Definition at line 2000 of file Graphics.h.

◆ DrawEllipticChord() [2/2]

void pcl::VectorGraphics::DrawEllipticChord ( double  x0,
double  y0,
double  x1,
double  y1,
double  start,
double  span 
)

#

◆ DrawEllipticPie() [1/2]

template<class R >
void pcl::VectorGraphics::DrawEllipticPie ( const R &  r,
double  start,
double  span 
)
inline

#

Definition at line 2111 of file Graphics.h.

◆ DrawEllipticPie() [2/2]

void pcl::VectorGraphics::DrawEllipticPie ( double  x0,
double  y0,
double  x1,
double  y1,
double  start,
double  span 
)

#

◆ DrawLine() [1/2]

template<class P0 , class P1 >
void pcl::VectorGraphics::DrawLine ( const P0 &  p0,
const P1 &  p1 
)
inline

#

Definition at line 1621 of file Graphics.h.

◆ DrawLine() [2/2]

void pcl::VectorGraphics::DrawLine ( double  x0,
double  y0,
double  x1,
double  y1 
)

#

◆ DrawPie() [1/2]

template<class P >
void pcl::VectorGraphics::DrawPie ( const P &  c,
double  r,
double  start,
double  span 
)
inline

#

Definition at line 2165 of file Graphics.h.

◆ DrawPie() [2/2]

void pcl::VectorGraphics::DrawPie ( double  xc,
double  yc,
double  r,
double  start,
double  span 
)
inline

#

Definition at line 2157 of file Graphics.h.

◆ DrawPoint() [1/2]

template<class P >
void pcl::VectorGraphics::DrawPoint ( const P &  p)
inline

#

Definition at line 1609 of file Graphics.h.

◆ DrawPoint() [2/2]

void pcl::VectorGraphics::DrawPoint ( double  x,
double  y 
)

#

◆ DrawPolygon() [1/2]

template<class C >
void pcl::VectorGraphics::DrawPolygon ( const C &  c,
fill_rule  rule = FillRule::OddEven 
)
inline

#

Definition at line 1910 of file Graphics.h.

◆ DrawPolygon() [2/2]

void pcl::VectorGraphics::DrawPolygon ( const pcl::DPoint p,
size_type  n,
fill_rule  rule = FillRule::OddEven 
)

#

◆ DrawPolyline() [1/2]

template<class C >
void pcl::VectorGraphics::DrawPolyline ( const C &  c)
inline

#

Definition at line 1961 of file Graphics.h.

◆ DrawPolyline() [2/2]

void pcl::VectorGraphics::DrawPolyline ( const pcl::DPoint ,
size_type  n 
)

#

◆ DrawRect() [1/2]

template<class R >
void pcl::VectorGraphics::DrawRect ( const R &  r)
inline

#

Definition at line 1637 of file Graphics.h.

◆ DrawRect() [2/2]

void pcl::VectorGraphics::DrawRect ( double  x0,
double  y0,
double  x1,
double  y1 
)

#

◆ DrawRoundedRect() [1/4]

template<class R >
void pcl::VectorGraphics::DrawRoundedRect ( const R &  r,
double  rx,
double  ry 
)
inline

#

Definition at line 1695 of file Graphics.h.

◆ DrawRoundedRect() [2/4]

template<class R >
void pcl::VectorGraphics::DrawRoundedRect ( const R &  r,
double  rxy = 25 
)
inline

#

Definition at line 1703 of file Graphics.h.

◆ DrawRoundedRect() [3/4]

void pcl::VectorGraphics::DrawRoundedRect ( double  x0,
double  y0,
double  x1,
double  y1,
double  rx,
double  ry 
)

#

◆ DrawRoundedRect() [4/4]

void pcl::VectorGraphics::DrawRoundedRect ( double  x0,
double  y0,
double  x1,
double  y1,
double  rxy = 25 
)
inline

#

Definition at line 1687 of file Graphics.h.

◆ DrawScaledBitmap() [1/2]

template<class R >
void pcl::VectorGraphics::DrawScaledBitmap ( const R &  r,
const Bitmap bm 
)
inline

#

Definition at line 2246 of file Graphics.h.

◆ DrawScaledBitmap() [2/2]

void pcl::VectorGraphics::DrawScaledBitmap ( double  x0,
double  y0,
double  x1,
double  y1,
const Bitmap  
)

#

◆ DrawScaledBitmapRect() [1/2]

template<class R1 , class R2 >
void pcl::VectorGraphics::DrawScaledBitmapRect ( const R1 &  dst,
const Bitmap bm,
const R2 &  src 
)
inline

#

Definition at line 2258 of file Graphics.h.

◆ DrawScaledBitmapRect() [2/2]

void pcl::VectorGraphics::DrawScaledBitmapRect ( double  dx0,
double  dy0,
double  dx1,
double  dy1,
const Bitmap ,
double  sx0,
double  sy0,
double  sx1,
double  sy1 
)

#

◆ DrawText() [1/2]

template<class P >
void pcl::VectorGraphics::DrawText ( const P &  p,
const String s 
)
inline

#

Definition at line 2282 of file Graphics.h.

◆ DrawText() [2/2]

void pcl::VectorGraphics::DrawText ( double  x,
double  y,
const String  
)

#

◆ DrawTextRect() [1/2]

template<class R >
void pcl::VectorGraphics::DrawTextRect ( const R &  r,
const String s,
TextAlignmentFlags  a = TextAlign::Default 
)
inline

#

Definition at line 2294 of file Graphics.h.

◆ DrawTextRect() [2/2]

void pcl::VectorGraphics::DrawTextRect ( double  x0,
double  y0,
double  x1,
double  y1,
const String ,
TextAlignmentFlags  = TextAlign::Default 
)

#

◆ DrawTiledBitmap() [1/2]

template<class R , class P >
void pcl::VectorGraphics::DrawTiledBitmap ( const R &  r,
const Bitmap bm,
const P &  offset = P() 
)
inline

#

Definition at line 2270 of file Graphics.h.

◆ DrawTiledBitmap() [2/2]

void pcl::VectorGraphics::DrawTiledBitmap ( double  x0,
double  y0,
double  x1,
double  y1,
const Bitmap ,
double  xOffset = 0,
double  yOffset = 0 
)

#

◆ EraseChord() [1/2]

template<class P >
void pcl::VectorGraphics::EraseChord ( const P &  c,
double  r,
double  start,
double  span 
)
inline

#

Definition at line 2099 of file Graphics.h.

◆ EraseChord() [2/2]

void pcl::VectorGraphics::EraseChord ( double  xc,
double  yc,
double  r,
double  start,
double  span 
)
inline

#

Definition at line 2091 of file Graphics.h.

◆ EraseCircle() [1/2]

template<class P >
void pcl::VectorGraphics::EraseCircle ( const P &  c,
double  r 
)
inline

#

Definition at line 1898 of file Graphics.h.

◆ EraseCircle() [2/2]

void pcl::VectorGraphics::EraseCircle ( double  xc,
double  yc,
double  r 
)
inline

#

Definition at line 1890 of file Graphics.h.

◆ EraseEllipse() [1/2]

template<class R >
void pcl::VectorGraphics::EraseEllipse ( const R &  r)
inline

#

Definition at line 1838 of file Graphics.h.

◆ EraseEllipse() [2/2]

void pcl::VectorGraphics::EraseEllipse ( double  x0,
double  y0,
double  x1,
double  y1 
)
inline

#

Definition at line 1830 of file Graphics.h.

◆ EraseEllipticChord() [1/2]

template<class R >
void pcl::VectorGraphics::EraseEllipticChord ( const R &  r,
double  start,
double  span 
)
inline

#

Definition at line 2039 of file Graphics.h.

◆ EraseEllipticChord() [2/2]

void pcl::VectorGraphics::EraseEllipticChord ( double  x0,
double  y0,
double  x1,
double  y1,
double  start,
double  span 
)
inline

#

Definition at line 2031 of file Graphics.h.

◆ EraseEllipticPie() [1/2]

template<class R >
void pcl::VectorGraphics::EraseEllipticPie ( const R &  r,
double  start,
double  span 
)
inline

#

Definition at line 2150 of file Graphics.h.

◆ EraseEllipticPie() [2/2]

void pcl::VectorGraphics::EraseEllipticPie ( double  x0,
double  y0,
double  x1,
double  y1,
double  start,
double  span 
)
inline

#

Definition at line 2142 of file Graphics.h.

◆ ErasePie() [1/2]

template<class P >
void pcl::VectorGraphics::ErasePie ( const P &  c,
double  r,
double  start,
double  span 
)
inline

#

Definition at line 2210 of file Graphics.h.

◆ ErasePie() [2/2]

void pcl::VectorGraphics::ErasePie ( double  xc,
double  yc,
double  r,
double  start,
double  span 
)
inline

#

Definition at line 2202 of file Graphics.h.

◆ ErasePolygon() [1/2]

template<class C >
void pcl::VectorGraphics::ErasePolygon ( const C &  c,
fill_rule  rule = FillRule::OddEven 
)
inline

#

Definition at line 1949 of file Graphics.h.

◆ ErasePolygon() [2/2]

void pcl::VectorGraphics::ErasePolygon ( const pcl::DPoint p,
size_type  n,
fill_rule  rule = FillRule::OddEven 
)
inline

#

Definition at line 1941 of file Graphics.h.

◆ EraseRect() [1/2]

template<class R >
void pcl::VectorGraphics::EraseRect ( const R &  r)
inline

#

Definition at line 1676 of file Graphics.h.

◆ EraseRect() [2/2]

void pcl::VectorGraphics::EraseRect ( double  x0,
double  y0,
double  x1,
double  y1 
)
inline

#

Definition at line 1668 of file Graphics.h.

◆ EraseRoundedRect() [1/4]

template<class R >
void pcl::VectorGraphics::EraseRoundedRect ( const R &  r,
double  rx,
double  ry 
)
inline

#

Definition at line 1779 of file Graphics.h.

◆ EraseRoundedRect() [2/4]

template<class R >
void pcl::VectorGraphics::EraseRoundedRect ( const R &  r,
double  rxy = 25 
)
inline

#

Definition at line 1787 of file Graphics.h.

◆ EraseRoundedRect() [3/4]

void pcl::VectorGraphics::EraseRoundedRect ( double  x0,
double  y0,
double  x1,
double  y1,
double  rx,
double  ry 
)
inline

#

Definition at line 1764 of file Graphics.h.

◆ EraseRoundedRect() [4/4]

void pcl::VectorGraphics::EraseRoundedRect ( double  x0,
double  y0,
double  x1,
double  y1,
double  rxy = 25 
)
inline

#

Definition at line 1771 of file Graphics.h.

◆ FillChord() [1/2]

template<class P >
void pcl::VectorGraphics::FillChord ( const P &  c,
double  r,
double  start,
double  span,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 2084 of file Graphics.h.

◆ FillChord() [2/2]

void pcl::VectorGraphics::FillChord ( double  xc,
double  yc,
double  r,
double  start,
double  span,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 2076 of file Graphics.h.

◆ FillCircle() [1/2]

template<class P >
void pcl::VectorGraphics::FillCircle ( const P &  c,
double  r,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 1883 of file Graphics.h.

◆ FillCircle() [2/2]

void pcl::VectorGraphics::FillCircle ( double  xc,
double  yc,
double  r,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 1875 of file Graphics.h.

◆ FillEllipse() [1/2]

template<class R >
void pcl::VectorGraphics::FillEllipse ( const R &  r,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 1823 of file Graphics.h.

◆ FillEllipse() [2/2]

void pcl::VectorGraphics::FillEllipse ( double  x0,
double  y0,
double  x1,
double  y1,
const pcl::Brush brush = pcl::Brush::Null() 
)

#

◆ FillEllipticChord() [1/2]

template<class R >
void pcl::VectorGraphics::FillEllipticChord ( const R &  r,
double  start,
double  span,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 2024 of file Graphics.h.

◆ FillEllipticChord() [2/2]

void pcl::VectorGraphics::FillEllipticChord ( double  x0,
double  y0,
double  x1,
double  y1,
double  start,
double  span,
const pcl::Brush brush = pcl::Brush::Null() 
)

#

◆ FillEllipticPie() [1/2]

template<class R >
void pcl::VectorGraphics::FillEllipticPie ( const R &  r,
double  start,
double  span,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 2135 of file Graphics.h.

◆ FillEllipticPie() [2/2]

void pcl::VectorGraphics::FillEllipticPie ( double  x0,
double  y0,
double  x1,
double  y1,
double  start,
double  span,
const pcl::Brush brush = pcl::Brush::Null() 
)

#

◆ FillPie() [1/2]

template<class P >
void pcl::VectorGraphics::FillPie ( const P &  c,
double  r,
double  start,
double  span,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 2195 of file Graphics.h.

◆ FillPie() [2/2]

void pcl::VectorGraphics::FillPie ( double  xc,
double  yc,
double  r,
double  start,
double  span,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 2187 of file Graphics.h.

◆ FillPolygon() [1/2]

template<class C >
void pcl::VectorGraphics::FillPolygon ( const C &  c,
const pcl::Brush brush = pcl::Brush::Null(),
fill_rule  rule = FillRule::OddEven 
)
inline

#

Definition at line 1934 of file Graphics.h.

◆ FillPolygon() [2/2]

void pcl::VectorGraphics::FillPolygon ( const pcl::DPoint p,
size_type  n,
const pcl::Brush brush = pcl::Brush::Null(),
fill_rule  rule = FillRule::OddEven 
)

#

◆ FillRect() [1/2]

template<class R >
void pcl::VectorGraphics::FillRect ( const R &  r,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 1661 of file Graphics.h.

◆ FillRect() [2/2]

void pcl::VectorGraphics::FillRect ( double  x0,
double  y0,
double  x1,
double  y1,
const pcl::Brush brush = pcl::Brush::Null() 
)

#

◆ FillRoundedRect() [1/4]

template<class R >
void pcl::VectorGraphics::FillRoundedRect ( const R &  r,
double  rx,
double  ry,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 1749 of file Graphics.h.

◆ FillRoundedRect() [2/4]

template<class R >
void pcl::VectorGraphics::FillRoundedRect ( const R &  r,
double  rxy = 25,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 1757 of file Graphics.h.

◆ FillRoundedRect() [3/4]

void pcl::VectorGraphics::FillRoundedRect ( double  x0,
double  y0,
double  x1,
double  y1,
double  rx,
double  ry,
const pcl::Brush brush = pcl::Brush::Null() 
)

#

◆ FillRoundedRect() [4/4]

void pcl::VectorGraphics::FillRoundedRect ( double  x0,
double  y0,
double  x1,
double  y1,
double  rxy = 25,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 1741 of file Graphics.h.

◆ IntersectClipRect() [1/2]

template<class R >
void pcl::VectorGraphics::IntersectClipRect ( const R &  r)
inline

#

Definition at line 1563 of file Graphics.h.

◆ IntersectClipRect() [2/2]

void pcl::VectorGraphics::IntersectClipRect ( double  x0,
double  y0,
double  x1,
double  y1 
)
inline

#

Definition at line 1570 of file Graphics.h.

◆ Null()

static VectorGraphics& pcl::VectorGraphics::Null ( )
static

Returns a reference to a null VectorGraphics instance. A null VectorGraphics does not correspond to an existing vector graphics context in the PixInsight core application.

◆ operator=()

VectorGraphics& pcl::VectorGraphics::operator= ( VectorGraphics &&  x)
inline

Move assignment operator. Returns a reference to this object.

Definition at line 1531 of file Graphics.h.

◆ SetBrushOrigin() [1/2]

template<class P >
void pcl::VectorGraphics::SetBrushOrigin ( const P &  p)
inline

#

Definition at line 1597 of file Graphics.h.

◆ SetBrushOrigin() [2/2]

void pcl::VectorGraphics::SetBrushOrigin ( double  x,
double  y 
)

#

◆ SetClipRect() [1/2]

template<class R >
void pcl::VectorGraphics::SetClipRect ( const R &  r)
inline

#

Definition at line 1551 of file Graphics.h.

◆ SetClipRect() [2/2]

void pcl::VectorGraphics::SetClipRect ( double  x0,
double  y0,
double  x1,
double  y1 
)

#

◆ StrokeChord() [1/2]

template<class P >
void pcl::VectorGraphics::StrokeChord ( const P &  c,
double  r,
double  start,
double  span,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 2069 of file Graphics.h.

◆ StrokeChord() [2/2]

void pcl::VectorGraphics::StrokeChord ( double  xc,
double  yc,
double  r,
double  start,
double  span,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 2061 of file Graphics.h.

◆ StrokeCircle() [1/2]

template<class P >
void pcl::VectorGraphics::StrokeCircle ( const P &  c,
double  r,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 1868 of file Graphics.h.

◆ StrokeCircle() [2/2]

void pcl::VectorGraphics::StrokeCircle ( double  xc,
double  yc,
double  r,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 1860 of file Graphics.h.

◆ StrokeEllipse() [1/2]

template<class R >
void pcl::VectorGraphics::StrokeEllipse ( const R &  r,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 1811 of file Graphics.h.

◆ StrokeEllipse() [2/2]

void pcl::VectorGraphics::StrokeEllipse ( double  x0,
double  y0,
double  x1,
double  y1,
const pcl::Pen pen = pcl::Pen::Null() 
)

#

◆ StrokeEllipticChord() [1/2]

template<class R >
void pcl::VectorGraphics::StrokeEllipticChord ( const R &  r,
double  start,
double  span,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 2012 of file Graphics.h.

◆ StrokeEllipticChord() [2/2]

void pcl::VectorGraphics::StrokeEllipticChord ( double  x0,
double  y0,
double  x1,
double  y1,
double  start,
double  span,
const pcl::Pen pen = pcl::Pen::Null() 
)

#

◆ StrokeEllipticPie() [1/2]

template<class R >
void pcl::VectorGraphics::StrokeEllipticPie ( const R &  r,
double  start,
double  span,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 2123 of file Graphics.h.

◆ StrokeEllipticPie() [2/2]

void pcl::VectorGraphics::StrokeEllipticPie ( double  x0,
double  y0,
double  x1,
double  y1,
double  start,
double  span,
const pcl::Pen pen = pcl::Pen::Null() 
)

#

◆ StrokePie() [1/2]

template<class P >
void pcl::VectorGraphics::StrokePie ( const P &  c,
double  r,
double  start,
double  span,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 2180 of file Graphics.h.

◆ StrokePie() [2/2]

void pcl::VectorGraphics::StrokePie ( double  xc,
double  yc,
double  r,
double  start,
double  span,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 2172 of file Graphics.h.

◆ StrokePolygon() [1/2]

template<class C >
void pcl::VectorGraphics::StrokePolygon ( const C &  c,
const pcl::Pen pen = pcl::Pen::Null(),
fill_rule  rule = FillRule::OddEven 
)
inline

#

Definition at line 1922 of file Graphics.h.

◆ StrokePolygon() [2/2]

void pcl::VectorGraphics::StrokePolygon ( const pcl::DPoint p,
size_type  n,
const pcl::Pen pen = pcl::Pen::Null(),
fill_rule  rule = FillRule::OddEven 
)

#

◆ StrokeRect() [1/2]

template<class R >
void pcl::VectorGraphics::StrokeRect ( const R &  r,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 1649 of file Graphics.h.

◆ StrokeRect() [2/2]

void pcl::VectorGraphics::StrokeRect ( double  x0,
double  y0,
double  x1,
double  y1,
const pcl::Pen pen = pcl::Pen::Null() 
)

#

◆ StrokeRoundedRect() [1/4]

template<class R >
void pcl::VectorGraphics::StrokeRoundedRect ( const R &  r,
double  rx,
double  ry,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 1722 of file Graphics.h.

◆ StrokeRoundedRect() [2/4]

template<class R >
void pcl::VectorGraphics::StrokeRoundedRect ( const R &  r,
double  rxy = 25,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 1730 of file Graphics.h.

◆ StrokeRoundedRect() [3/4]

void pcl::VectorGraphics::StrokeRoundedRect ( double  x0,
double  y0,
double  x1,
double  y1,
double  rx,
double  ry,
const pcl::Pen pen = pcl::Pen::Null() 
)

#

◆ StrokeRoundedRect() [4/4]

void pcl::VectorGraphics::StrokeRoundedRect ( double  x0,
double  y0,
double  x1,
double  y1,
double  rxy = 25,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 1714 of file Graphics.h.

◆ TextRect() [1/2]

template<class R >
pcl::DRect pcl::VectorGraphics::TextRect ( const R &  r,
const String s,
TextAlignmentFlags  a = TextAlign::Default 
)
inline

#

Definition at line 2306 of file Graphics.h.

◆ TextRect() [2/2]

pcl::DRect pcl::VectorGraphics::TextRect ( double  x0,
double  y0,
double  x1,
double  y1,
const String ,
TextAlignmentFlags  = TextAlign::Default 
) const

#

◆ UniteClipRect() [1/2]

template<class R >
void pcl::VectorGraphics::UniteClipRect ( const R &  r)
inline

#

Definition at line 1578 of file Graphics.h.

◆ UniteClipRect() [2/2]

void pcl::VectorGraphics::UniteClipRect ( double  x0,
double  y0,
double  x1,
double  y1 
)
inline

#

Definition at line 1585 of file Graphics.h.


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