PCL
pcl::Graphics Class Reference

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

#include <Graphics.h>

+ Inheritance diagram for pcl::Graphics:

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

 Graphics ()=default
 
 Graphics (Bitmap &bitmap)
 
 Graphics (Control &control)
 
 Graphics (Graphics &&x)
 
 Graphics (SVG &svg)
 
 ~Graphics () override
 
pcl::Point BrushOrigin () const
 
pcl::Rect ClipRect () const
 
void DrawArc (const pcl::Point &c, int r, double start, double span)
 
void DrawArc (int xc, int yc, int r, double start, double span)
 
void DrawBitmap (const pcl::Point &p, const Bitmap &bm)
 
void DrawBitmap (int x, int y, const Bitmap &)
 
void DrawBitmapRect (const pcl::Point &p, const Bitmap &bm, const pcl::Rect &r)
 
void DrawBitmapRect (int x, int y, const Bitmap &, int x0, int y0, int x1, int y1)
 
void DrawChord (const pcl::Point &c, int r, double start, double span)
 
void DrawChord (int xc, int yc, int r, double start, double span)
 
void DrawCircle (const pcl::Point &c, int r)
 
void DrawCircle (int xc, int yc, int r)
 
void DrawEllipse (const pcl::Rect &r)
 
void DrawEllipse (int x0, int y0, int x1, int y1)
 
void DrawEllipticArc (const pcl::Rect &r, double start, double span)
 
void DrawEllipticArc (int x0, int y0, int x1, int y1, double start, double span)
 
void DrawEllipticChord (const pcl::Rect &r, double start, double span)
 
void DrawEllipticChord (int x0, int y0, int x1, int y1, double start, double span)
 
void DrawEllipticPie (const pcl::Rect &r, double start, double span)
 
void DrawEllipticPie (int x0, int y0, int x1, int y1, double start, double span)
 
void DrawLine (const pcl::Point &p0, const pcl::Point &p1)
 
void DrawLine (int x0, int y0, int x1, int y1)
 
void DrawPie (const pcl::Point &c, int r, double start, double span)
 
void DrawPie (int xc, int yc, int r, double start, double span)
 
void DrawPoint (const pcl::Point &p)
 
void DrawPoint (int x, int y)
 
template<class C >
void DrawPolygon (const C &c, fill_rule rule=FillRule::OddEven)
 
void DrawPolygon (const pcl::Point *p, size_type n, fill_rule rule=FillRule::OddEven)
 
template<class C >
void DrawPolyline (const C &c)
 
void DrawPolyline (const pcl::Point *, size_type n)
 
void DrawRect (const pcl::Rect &r)
 
void DrawRect (int x0, int y0, int x1, int y1)
 
void DrawRoundedRect (const pcl::Rect &r, double rx, double ry)
 
void DrawRoundedRect (const pcl::Rect &r, double rxy=25)
 
void DrawRoundedRect (int x0, int y0, int x1, int y1, double rx, double ry)
 
void DrawRoundedRect (int x0, int y0, int x1, int y1, double rxy=25)
 
void DrawScaledBitmap (const pcl::Rect &r, const Bitmap &bm)
 
void DrawScaledBitmap (int x0, int y0, int x1, int y1, const Bitmap &)
 
void DrawScaledBitmapRect (const pcl::Rect &dst, const Bitmap &bm, const pcl::Rect &src)
 
void DrawScaledBitmapRect (int dx0, int dy0, int dx1, int dy1, const Bitmap &, int sx0, int sy0, int sx1, int sy1)
 
void DrawText (const pcl::Point &p, const String &s)
 
void DrawText (int x, int y, const String &)
 
void DrawTextRect (const pcl::Rect r, const String &s, TextAlignmentFlags a=TextAlign::Default)
 
void DrawTextRect (int x0, int y0, int x1, int y1, const String &, TextAlignmentFlags=TextAlign::Default)
 
void DrawTiledBitmap (const pcl::Rect &r, const Bitmap &bm, const pcl::Point &offset=pcl::Point(0))
 
void DrawTiledBitmap (int x0, int y0, int x1, int y1, const Bitmap &, int xOffset=0, int yOffset=0)
 
void EraseChord (const pcl::Point &c, int r, double start, double span)
 
void EraseChord (int xc, int yc, int r, double start, double span)
 
void EraseCircle (const pcl::Point &c, int r)
 
void EraseCircle (int xc, int yc, int r)
 
void EraseEllipse (const pcl::Rect &r)
 
void EraseEllipse (int x0, int y0, int x1, int y1)
 
void EraseEllipticChord (const pcl::Rect &r, double start, double span)
 
void EraseEllipticChord (int x0, int y0, int x1, int y1, double start, double span)
 
void EraseEllipticPie (const pcl::Rect &r, double start, double span)
 
void EraseEllipticPie (int x0, int y0, int x1, int y1, double start, double span)
 
void ErasePie (const pcl::Point &c, int r, double start, double span)
 
void ErasePie (int xc, int yc, int r, double start, double span)
 
template<class C >
void ErasePolygon (const C &c, fill_rule rule=FillRule::OddEven)
 
void ErasePolygon (const pcl::Point *p, size_type n, fill_rule rule=FillRule::OddEven)
 
void EraseRect (const pcl::Rect &r)
 
void EraseRect (int x0, int y0, int x1, int y1)
 
void EraseRoundedRect (const pcl::Rect &r, double rx, double ry)
 
void EraseRoundedRect (const pcl::Rect &r, double rxy=25)
 
void EraseRoundedRect (int x0, int y0, int x1, int y1, double rx, double ry)
 
void EraseRoundedRect (int x0, int y0, int x1, int y1, double rxy=25)
 
void FillChord (const pcl::Point &c, int r, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillChord (int xc, int yc, int r, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillCircle (const pcl::Point &c, int r, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillCircle (int xc, int yc, int r, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillEllipse (const pcl::Rect &r, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillEllipse (int x0, int y0, int x1, int y1, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillEllipticChord (const pcl::Rect &r, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillEllipticChord (int x0, int y0, int x1, int y1, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillEllipticPie (const pcl::Rect &r, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillEllipticPie (int x0, int y0, int x1, int y1, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillPie (const pcl::Point &c, int r, double start, double span, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillPie (int xc, int yc, int 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::Point *p, size_type n, const pcl::Brush &brush=pcl::Brush::Null(), fill_rule rule=FillRule::OddEven)
 
void FillRect (const pcl::Rect &r, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillRect (int x0, int y0, int x1, int y1, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillRoundedRect (const pcl::Rect &r, double rx, double ry, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillRoundedRect (const pcl::Rect &r, double rxy=25, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillRoundedRect (int x0, int y0, int x1, int y1, double rx, double ry, const pcl::Brush &brush=pcl::Brush::Null())
 
void FillRoundedRect (int x0, int y0, int x1, int y1, double rxy=25, const pcl::Brush &brush=pcl::Brush::Null())
 
void IntersectClipRect (const pcl::Rect &r)
 
void IntersectClipRect (int x0, int y0, int x1, int y1)
 
Graphicsoperator= (Graphics &&x)
 
void SetBrushOrigin (const pcl::Point &p)
 
void SetBrushOrigin (int x, int y)
 
void SetClipRect (const pcl::Rect &r)
 
void SetClipRect (int x0, int y0, int x1, int y1)
 
void StrokeChord (const pcl::Point &c, int r, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeChord (int xc, int yc, int r, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeCircle (const pcl::Point &c, int r, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeCircle (int xc, int yc, int r, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeEllipse (const pcl::Rect &r, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeEllipse (int x0, int y0, int x1, int y1, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeEllipticChord (const pcl::Rect &r, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeEllipticChord (int x0, int y0, int x1, int y1, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeEllipticPie (const pcl::Rect &r, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeEllipticPie (int x0, int y0, int x1, int y1, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokePie (const pcl::Point &c, int r, double start, double span, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokePie (int xc, int yc, int 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::Point *p, size_type n, const pcl::Pen &pen=pcl::Pen::Null(), fill_rule rule=FillRule::OddEven)
 
void StrokeRect (const pcl::Rect &r, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeRect (int x0, int y0, int x1, int y1, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeRoundedRect (const pcl::Rect &r, double rx, double ry, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeRoundedRect (const pcl::Rect &r, double rxy=25, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeRoundedRect (int x0, int y0, int x1, int y1, double rx, double ry, const pcl::Pen &pen=pcl::Pen::Null())
 
void StrokeRoundedRect (int x0, int y0, int x1, int y1, double rxy=25, const pcl::Pen &pen=pcl::Pen::Null())
 
pcl::Rect TextRect (const pcl::Rect r, const String &s, TextAlignmentFlags a=TextAlign::Default)
 
pcl::Rect TextRect (int x0, int y0, int x1, int y1, const String &, TextAlignmentFlags=TextAlign::Default) const
 
void UniteClipRect (const pcl::Rect &r)
 
void UniteClipRect (int x0, int y0, int x1, int 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 GraphicsNull ()
 
- 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 Graphics.

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

operators, rendering performance, transformations, etc.

Definition at line 645 of file Graphics.h.

Member Typedef Documentation

◆ composition_op

using pcl::Graphics::composition_op = GraphicsContextBase::composition_op

Represents a Porter-Duff alpha composition operator.

Definition at line 652 of file Graphics.h.

◆ fill_rule

using pcl::Graphics::fill_rule = GraphicsContextBase::fill_rule

Represents a polygon fill rule.

Definition at line 657 of file Graphics.h.

Constructor & Destructor Documentation

◆ Graphics() [1/5]

pcl::Graphics::Graphics ( )
default

Constructs an inactive graphics context.

◆ Graphics() [2/5]

pcl::Graphics::Graphics ( Control control)
inline

Constructs an active 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 672 of file Graphics.h.

◆ Graphics() [3/5]

pcl::Graphics::Graphics ( Bitmap bitmap)
inline

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

Definition at line 681 of file Graphics.h.

◆ Graphics() [4/5]

pcl::Graphics::Graphics ( SVG svg)
inline

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

Definition at line 690 of file Graphics.h.

◆ Graphics() [5/5]

pcl::Graphics::Graphics ( Graphics &&  x)
inline

Move constructor.

Definition at line 698 of file Graphics.h.

◆ ~Graphics()

pcl::Graphics::~Graphics ( )
inlineoverride

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

Definition at line 707 of file Graphics.h.

Member Function Documentation

◆ BrushOrigin()

pcl::Point pcl::Graphics::BrushOrigin ( ) const

#

◆ ClipRect()

pcl::Rect pcl::Graphics::ClipRect ( ) const

#

◆ DrawArc() [1/2]

void pcl::Graphics::DrawArc ( const pcl::Point c,
int  r,
double  start,
double  span 
)
inline

#

Definition at line 1143 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ DrawArc() [2/2]

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

#

Definition at line 1136 of file Graphics.h.

◆ DrawBitmap() [1/2]

void pcl::Graphics::DrawBitmap ( const pcl::Point p,
const Bitmap bm 
)
inline

#

Definition at line 1360 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ DrawBitmap() [2/2]

void pcl::Graphics::DrawBitmap ( int  x,
int  y,
const Bitmap  
)

#

◆ DrawBitmapRect() [1/2]

void pcl::Graphics::DrawBitmapRect ( const pcl::Point p,
const Bitmap bm,
const pcl::Rect r 
)
inline

◆ DrawBitmapRect() [2/2]

void pcl::Graphics::DrawBitmapRect ( int  x,
int  y,
const Bitmap ,
int  x0,
int  y0,
int  x1,
int  y1 
)

#

◆ DrawChord() [1/2]

void pcl::Graphics::DrawChord ( const pcl::Point c,
int  r,
double  start,
double  span 
)
inline

#

Definition at line 1204 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ DrawChord() [2/2]

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

#

Definition at line 1197 of file Graphics.h.

◆ DrawCircle() [1/2]

void pcl::Graphics::DrawCircle ( const pcl::Point c,
int  r 
)
inline

#

Definition at line 1013 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ DrawCircle() [2/2]

void pcl::Graphics::DrawCircle ( int  xc,
int  yc,
int  r 
)
inline

#

Definition at line 1006 of file Graphics.h.

◆ DrawEllipse() [1/2]

void pcl::Graphics::DrawEllipse ( const pcl::Rect r)
inline

◆ DrawEllipse() [2/2]

void pcl::Graphics::DrawEllipse ( int  x0,
int  y0,
int  x1,
int  y1 
)

#

◆ DrawEllipticArc() [1/2]

void pcl::Graphics::DrawEllipticArc ( const pcl::Rect r,
double  start,
double  span 
)
inline

◆ DrawEllipticArc() [2/2]

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

#

◆ DrawEllipticChord() [1/2]

void pcl::Graphics::DrawEllipticChord ( const pcl::Rect r,
double  start,
double  span 
)
inline

◆ DrawEllipticChord() [2/2]

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

#

◆ DrawEllipticPie() [1/2]

void pcl::Graphics::DrawEllipticPie ( const pcl::Rect r,
double  start,
double  span 
)
inline

◆ DrawEllipticPie() [2/2]

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

#

◆ DrawLine() [1/2]

void pcl::Graphics::DrawLine ( const pcl::Point p0,
const pcl::Point p1 
)
inline

#

Definition at line 798 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ DrawLine() [2/2]

void pcl::Graphics::DrawLine ( int  x0,
int  y0,
int  x1,
int  y1 
)

#

◆ DrawPie() [1/2]

void pcl::Graphics::DrawPie ( const pcl::Point c,
int  r,
double  start,
double  span 
)
inline

#

Definition at line 1307 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ DrawPie() [2/2]

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

#

Definition at line 1300 of file Graphics.h.

◆ DrawPoint() [1/2]

void pcl::Graphics::DrawPoint ( const pcl::Point p)
inline

#

Definition at line 787 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ DrawPoint() [2/2]

void pcl::Graphics::DrawPoint ( int  x,
int  y 
)

#

◆ DrawPolygon() [1/2]

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

#

Definition at line 1067 of file Graphics.h.

◆ DrawPolygon() [2/2]

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

#

◆ DrawPolyline() [1/2]

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

#

Definition at line 1118 of file Graphics.h.

◆ DrawPolyline() [2/2]

void pcl::Graphics::DrawPolyline ( const pcl::Point ,
size_type  n 
)

#

◆ DrawRect() [1/2]

void pcl::Graphics::DrawRect ( const pcl::Rect r)
inline

◆ DrawRect() [2/2]

void pcl::Graphics::DrawRect ( int  x0,
int  y0,
int  x1,
int  y1 
)

#

◆ DrawRoundedRect() [1/4]

void pcl::Graphics::DrawRoundedRect ( const pcl::Rect r,
double  rx,
double  ry 
)
inline

◆ DrawRoundedRect() [2/4]

void pcl::Graphics::DrawRoundedRect ( const pcl::Rect r,
double  rxy = 25 
)
inline

◆ DrawRoundedRect() [3/4]

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

#

◆ DrawRoundedRect() [4/4]

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

#

Definition at line 860 of file Graphics.h.

◆ DrawScaledBitmap() [1/2]

void pcl::Graphics::DrawScaledBitmap ( const pcl::Rect r,
const Bitmap bm 
)
inline

◆ DrawScaledBitmap() [2/2]

void pcl::Graphics::DrawScaledBitmap ( int  x0,
int  y0,
int  x1,
int  y1,
const Bitmap  
)

#

◆ DrawScaledBitmapRect() [1/2]

void pcl::Graphics::DrawScaledBitmapRect ( const pcl::Rect dst,
const Bitmap bm,
const pcl::Rect src 
)
inline

◆ DrawScaledBitmapRect() [2/2]

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

#

◆ DrawText() [1/2]

void pcl::Graphics::DrawText ( const pcl::Point p,
const String s 
)
inline

#

Definition at line 1415 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ DrawText() [2/2]

void pcl::Graphics::DrawText ( int  x,
int  y,
const String  
)

#

◆ DrawTextRect() [1/2]

void pcl::Graphics::DrawTextRect ( const pcl::Rect  r,
const String s,
TextAlignmentFlags  a = TextAlign::Default 
)
inline

#

Definition at line 1426 of file Graphics.h.

◆ DrawTextRect() [2/2]

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

#

◆ DrawTiledBitmap() [1/2]

void pcl::Graphics::DrawTiledBitmap ( const pcl::Rect r,
const Bitmap bm,
const pcl::Point offset = pcl::Point( 0 ) 
)
inline

◆ DrawTiledBitmap() [2/2]

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

#

◆ EraseChord() [1/2]

void pcl::Graphics::EraseChord ( const pcl::Point c,
int  r,
double  start,
double  span 
)
inline

#

Definition at line 1246 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ EraseChord() [2/2]

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

#

Definition at line 1239 of file Graphics.h.

◆ EraseCircle() [1/2]

void pcl::Graphics::EraseCircle ( const pcl::Point c,
int  r 
)
inline

#

Definition at line 1055 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ EraseCircle() [2/2]

void pcl::Graphics::EraseCircle ( int  xc,
int  yc,
int  r 
)
inline

#

Definition at line 1048 of file Graphics.h.

◆ EraseEllipse() [1/2]

void pcl::Graphics::EraseEllipse ( const pcl::Rect r)
inline

◆ EraseEllipse() [2/2]

void pcl::Graphics::EraseEllipse ( int  x0,
int  y0,
int  x1,
int  y1 
)
inline

#

Definition at line 992 of file Graphics.h.

◆ EraseEllipticChord() [1/2]

void pcl::Graphics::EraseEllipticChord ( const pcl::Rect r,
double  start,
double  span 
)
inline

◆ EraseEllipticChord() [2/2]

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

#

Definition at line 1183 of file Graphics.h.

◆ EraseEllipticPie() [1/2]

void pcl::Graphics::EraseEllipticPie ( const pcl::Rect r,
double  start,
double  span 
)
inline

◆ EraseEllipticPie() [2/2]

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

#

Definition at line 1286 of file Graphics.h.

◆ ErasePie() [1/2]

void pcl::Graphics::ErasePie ( const pcl::Point c,
int  r,
double  start,
double  span 
)
inline

#

Definition at line 1349 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ ErasePie() [2/2]

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

#

Definition at line 1342 of file Graphics.h.

◆ ErasePolygon() [1/2]

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

#

Definition at line 1106 of file Graphics.h.

◆ ErasePolygon() [2/2]

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

#

Definition at line 1098 of file Graphics.h.

◆ EraseRect() [1/2]

void pcl::Graphics::EraseRect ( const pcl::Rect r)
inline

◆ EraseRect() [2/2]

void pcl::Graphics::EraseRect ( int  x0,
int  y0,
int  x1,
int  y1 
)
inline

#

Definition at line 842 of file Graphics.h.

◆ EraseRoundedRect() [1/4]

void pcl::Graphics::EraseRoundedRect ( const pcl::Rect r,
double  rx,
double  ry 
)
inline

◆ EraseRoundedRect() [2/4]

void pcl::Graphics::EraseRoundedRect ( const pcl::Rect r,
double  rxy = 25 
)
inline

◆ EraseRoundedRect() [3/4]

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

#

Definition at line 931 of file Graphics.h.

◆ EraseRoundedRect() [4/4]

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

#

Definition at line 938 of file Graphics.h.

◆ FillChord() [1/2]

void pcl::Graphics::FillChord ( const pcl::Point c,
int  r,
double  start,
double  span,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 1232 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ FillChord() [2/2]

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

#

Definition at line 1225 of file Graphics.h.

◆ FillCircle() [1/2]

void pcl::Graphics::FillCircle ( const pcl::Point c,
int  r,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 1041 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ FillCircle() [2/2]

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

#

Definition at line 1034 of file Graphics.h.

◆ FillEllipse() [1/2]

void pcl::Graphics::FillEllipse ( const pcl::Rect r,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

◆ FillEllipse() [2/2]

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

#

◆ FillEllipticChord() [1/2]

void pcl::Graphics::FillEllipticChord ( const pcl::Rect r,
double  start,
double  span,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

◆ FillEllipticChord() [2/2]

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

#

◆ FillEllipticPie() [1/2]

void pcl::Graphics::FillEllipticPie ( const pcl::Rect r,
double  start,
double  span,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

◆ FillEllipticPie() [2/2]

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

#

◆ FillPie() [1/2]

void pcl::Graphics::FillPie ( const pcl::Point c,
int  r,
double  start,
double  span,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

#

Definition at line 1335 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ FillPie() [2/2]

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

#

Definition at line 1328 of file Graphics.h.

◆ FillPolygon() [1/2]

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

#

Definition at line 1091 of file Graphics.h.

◆ FillPolygon() [2/2]

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

#

◆ FillRect() [1/2]

void pcl::Graphics::FillRect ( const pcl::Rect r,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

◆ FillRect() [2/2]

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

#

◆ FillRoundedRect() [1/4]

void pcl::Graphics::FillRoundedRect ( const pcl::Rect r,
double  rx,
double  ry,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

◆ FillRoundedRect() [2/4]

void pcl::Graphics::FillRoundedRect ( const pcl::Rect r,
double  rxy = 25,
const pcl::Brush brush = pcl::Brush::Null() 
)
inline

◆ FillRoundedRect() [3/4]

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

#

◆ FillRoundedRect() [4/4]

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

#

Definition at line 910 of file Graphics.h.

◆ IntersectClipRect() [1/2]

void pcl::Graphics::IntersectClipRect ( const pcl::Rect r)
inline

#

Definition at line 744 of file Graphics.h.

◆ IntersectClipRect() [2/2]

void pcl::Graphics::IntersectClipRect ( int  x0,
int  y0,
int  x1,
int  y1 
)
inline

#

Definition at line 751 of file Graphics.h.

◆ Null()

static Graphics& pcl::Graphics::Null ( )
static

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

◆ operator=()

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

Move assignment operator. Returns a reference to this object.

Definition at line 714 of file Graphics.h.

◆ SetBrushOrigin() [1/2]

void pcl::Graphics::SetBrushOrigin ( const pcl::Point p)
inline

#

Definition at line 776 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ SetBrushOrigin() [2/2]

void pcl::Graphics::SetBrushOrigin ( int  x,
int  y 
)

#

◆ SetClipRect() [1/2]

void pcl::Graphics::SetClipRect ( const pcl::Rect r)
inline

◆ SetClipRect() [2/2]

void pcl::Graphics::SetClipRect ( int  x0,
int  y0,
int  x1,
int  y1 
)

#

◆ StrokeChord() [1/2]

void pcl::Graphics::StrokeChord ( const pcl::Point c,
int  r,
double  start,
double  span,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 1218 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ StrokeChord() [2/2]

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

#

Definition at line 1211 of file Graphics.h.

◆ StrokeCircle() [1/2]

void pcl::Graphics::StrokeCircle ( const pcl::Point c,
int  r,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 1027 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ StrokeCircle() [2/2]

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

#

Definition at line 1020 of file Graphics.h.

◆ StrokeEllipse() [1/2]

void pcl::Graphics::StrokeEllipse ( const pcl::Rect r,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

◆ StrokeEllipse() [2/2]

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

#

◆ StrokeEllipticChord() [1/2]

void pcl::Graphics::StrokeEllipticChord ( const pcl::Rect r,
double  start,
double  span,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

◆ StrokeEllipticChord() [2/2]

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

#

◆ StrokeEllipticPie() [1/2]

void pcl::Graphics::StrokeEllipticPie ( const pcl::Rect r,
double  start,
double  span,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

◆ StrokeEllipticPie() [2/2]

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

#

◆ StrokePie() [1/2]

void pcl::Graphics::StrokePie ( const pcl::Point c,
int  r,
double  start,
double  span,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

#

Definition at line 1321 of file Graphics.h.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ StrokePie() [2/2]

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

#

Definition at line 1314 of file Graphics.h.

◆ StrokePolygon() [1/2]

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

#

Definition at line 1079 of file Graphics.h.

◆ StrokePolygon() [2/2]

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

#

◆ StrokeRect() [1/2]

void pcl::Graphics::StrokeRect ( const pcl::Rect r,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

◆ StrokeRect() [2/2]

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

#

◆ StrokeRoundedRect() [1/4]

void pcl::Graphics::StrokeRoundedRect ( const pcl::Rect r,
double  rx,
double  ry,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

◆ StrokeRoundedRect() [2/4]

void pcl::Graphics::StrokeRoundedRect ( const pcl::Rect r,
double  rxy = 25,
const pcl::Pen pen = pcl::Pen::Null() 
)
inline

◆ StrokeRoundedRect() [3/4]

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

#

◆ StrokeRoundedRect() [4/4]

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

#

Definition at line 885 of file Graphics.h.

◆ TextRect() [1/2]

pcl::Rect pcl::Graphics::TextRect ( const pcl::Rect  r,
const String s,
TextAlignmentFlags  a = TextAlign::Default 
)
inline

#

Definition at line 1437 of file Graphics.h.

◆ TextRect() [2/2]

pcl::Rect pcl::Graphics::TextRect ( int  x0,
int  y0,
int  x1,
int  y1,
const String ,
TextAlignmentFlags  = TextAlign::Default 
) const

#

◆ UniteClipRect() [1/2]

void pcl::Graphics::UniteClipRect ( const pcl::Rect r)
inline

#

Definition at line 758 of file Graphics.h.

◆ UniteClipRect() [2/2]

void pcl::Graphics::UniteClipRect ( int  x0,
int  y0,
int  x1,
int  y1 
)
inline

#

Definition at line 765 of file Graphics.h.


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