Flutter Impeller
IMPELLER_HPP_NAMESPACE::Paint Class Referencefinal

#include <impeller.hpp>

Inheritance diagram for IMPELLER_HPP_NAMESPACE::Paint:
IMPELLER_HPP_NAMESPACE::Object< ImpellerPaint, ImpellerPaintTraits >

Public Member Functions

 Paint ()
 
PaintSetColor (const ImpellerColor &color)
 
PaintSetBlendMode (ImpellerBlendMode mode)
 
PaintSetDrawStyle (ImpellerDrawStyle style)
 
PaintSetStrokeCap (ImpellerStrokeCap cap)
 
PaintSetStrokeJoin (ImpellerStrokeJoin join)
 
PaintSetStrokeWidth (float width)
 
PaintSetStrokeMiter (float miter)
 
PaintSetColorFilter (const ColorFilter &filter)
 
PaintSetColorSource (const ColorSource &source)
 
PaintSetImageFilter (const ImageFilter &filter)
 
PaintSetMaskFilter (const MaskFilter &filter)
 
- Public Member Functions inherited from IMPELLER_HPP_NAMESPACE::Object< ImpellerPaint, ImpellerPaintTraits >
 Object ()=default
 
 Object (ImpellerPaint object)
 
 Object (ImpellerPaint object, AdoptTag)
 
 Object (Object &&other)
 
 Object (const Object &other)
 
 ~Object ()
 
Objectoperator= (Object &&other)
 
Objectoperator= (const Object &other)
 
ImpellerPaint Get () const
 
 operator bool () const
 

Detailed Description

See also
ImpellerPaint

Definition at line 692 of file impeller.hpp.

Constructor & Destructor Documentation

◆ Paint()

IMPELLER_HPP_NAMESPACE::Paint::Paint ( )
inline

Member Function Documentation

◆ SetBlendMode()

Paint& IMPELLER_HPP_NAMESPACE::Paint::SetBlendMode ( ImpellerBlendMode  mode)
inline
See also
ImpellerPaintSetBlendMode

Definition at line 707 of file impeller.hpp.

707  {
708  gGlobalProcTable.ImpellerPaintSetBlendMode(Get(), mode);
709  return *this;
710  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPaint, ImpellerPaintTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetColor()

Paint& IMPELLER_HPP_NAMESPACE::Paint::SetColor ( const ImpellerColor color)
inline
See also
ImpellerPaintSetColor

Definition at line 699 of file impeller.hpp.

699  {
700  gGlobalProcTable.ImpellerPaintSetColor(Get(), &color);
701  return *this;
702  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPaint, ImpellerPaintTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetColorFilter()

Paint& IMPELLER_HPP_NAMESPACE::Paint::SetColorFilter ( const ColorFilter filter)
inline
See also
ImpellerPaintSetColorFilter

Definition at line 755 of file impeller.hpp.

755  {
756  gGlobalProcTable.ImpellerPaintSetColorFilter(Get(), filter.Get());
757  return *this;
758  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerPaint, ImpellerPaintTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetColorSource()

Paint& IMPELLER_HPP_NAMESPACE::Paint::SetColorSource ( const ColorSource source)
inline
See also
ImpellerPaintSetColorSource

Definition at line 763 of file impeller.hpp.

763  {
764  gGlobalProcTable.ImpellerPaintSetColorSource(Get(), source.Get());
765  return *this;
766  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerPaint, ImpellerPaintTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetDrawStyle()

Paint& IMPELLER_HPP_NAMESPACE::Paint::SetDrawStyle ( ImpellerDrawStyle  style)
inline
See also
ImpellerPaintSetDrawStyle

Definition at line 715 of file impeller.hpp.

715  {
716  gGlobalProcTable.ImpellerPaintSetDrawStyle(Get(), style);
717  return *this;
718  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPaint, ImpellerPaintTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetImageFilter()

Paint& IMPELLER_HPP_NAMESPACE::Paint::SetImageFilter ( const ImageFilter filter)
inline
See also
ImpellerPaintSetImageFilter

Definition at line 771 of file impeller.hpp.

771  {
772  gGlobalProcTable.ImpellerPaintSetImageFilter(Get(), filter.Get());
773  return *this;
774  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerPaint, ImpellerPaintTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetMaskFilter()

Paint& IMPELLER_HPP_NAMESPACE::Paint::SetMaskFilter ( const MaskFilter filter)
inline
See also
ImpellerPaintSetMaskFilter

Definition at line 779 of file impeller.hpp.

779  {
780  gGlobalProcTable.ImpellerPaintSetMaskFilter(Get(), filter.Get());
781  return *this;
782  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerPaint, ImpellerPaintTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetStrokeCap()

Paint& IMPELLER_HPP_NAMESPACE::Paint::SetStrokeCap ( ImpellerStrokeCap  cap)
inline
See also
ImpellerPaintSetStrokeCap

Definition at line 723 of file impeller.hpp.

723  {
724  gGlobalProcTable.ImpellerPaintSetStrokeCap(Get(), cap);
725  return *this;
726  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPaint, ImpellerPaintTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetStrokeJoin()

Paint& IMPELLER_HPP_NAMESPACE::Paint::SetStrokeJoin ( ImpellerStrokeJoin  join)
inline
See also
ImpellerPaintSetStrokeJoin

Definition at line 731 of file impeller.hpp.

731  {
732  gGlobalProcTable.ImpellerPaintSetStrokeJoin(Get(), join);
733  return *this;
734  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPaint, ImpellerPaintTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetStrokeMiter()

Paint& IMPELLER_HPP_NAMESPACE::Paint::SetStrokeMiter ( float  miter)
inline
See also
ImpellerPaintSetStrokeMiter

Definition at line 747 of file impeller.hpp.

747  {
748  gGlobalProcTable.ImpellerPaintSetStrokeMiter(Get(), miter);
749  return *this;
750  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPaint, ImpellerPaintTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetStrokeWidth()

Paint& IMPELLER_HPP_NAMESPACE::Paint::SetStrokeWidth ( float  width)
inline
See also
ImpellerPaintSetStrokeWidth

Definition at line 739 of file impeller.hpp.

739  {
740  gGlobalProcTable.ImpellerPaintSetStrokeWidth(Get(), width);
741  return *this;
742  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPaint, ImpellerPaintTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.


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