Flutter Impeller
IMPELLER_HPP_NAMESPACE::PathBuilder Class Referencefinal

#include <impeller.hpp>

Inheritance diagram for IMPELLER_HPP_NAMESPACE::PathBuilder:
IMPELLER_HPP_NAMESPACE::Object< ImpellerPathBuilder, ImpellerPathBuilderTraits >

Public Member Functions

 PathBuilder ()
 
Path BuildCopy (ImpellerFillType fill=ImpellerFillType::kImpellerFillTypeNonZero) const
 
Path Build (ImpellerFillType fill=ImpellerFillType::kImpellerFillTypeNonZero)
 
PathBuilderAddArc (const ImpellerRect &oval_bounds, float start_angle_degrees, float end_angle_degrees)
 
PathBuilderAddOval (const ImpellerRect &oval_bounds)
 
PathBuilderAddRect (const ImpellerRect &rect)
 
PathBuilderAddRoundedRect (const ImpellerRect &rect, const ImpellerRoundingRadii &rounding_radii)
 
PathBuilderClose ()
 
PathBuilderCubicCurveTo (const ImpellerPoint &control_point_1, const ImpellerPoint &control_point_2, const ImpellerPoint &end_point)
 
PathBuilderLineTo (const ImpellerPoint &location)
 
PathBuilderMoveTo (const ImpellerPoint &location)
 
PathBuilderQuadraticCurveTo (const ImpellerPoint &control_point, const ImpellerPoint &end_point)
 
- Public Member Functions inherited from IMPELLER_HPP_NAMESPACE::Object< ImpellerPathBuilder, ImpellerPathBuilderTraits >
 Object ()=default
 
 Object (ImpellerPathBuilder object)
 
 Object (ImpellerPathBuilder object, AdoptTag)
 
 Object (Object &&other)
 
 Object (const Object &other)
 
 ~Object ()
 
Objectoperator= (Object &&other)
 
Objectoperator= (const Object &other)
 
ImpellerPathBuilder Get () const
 
 operator bool () const
 

Detailed Description

See also
ImpellerPathBuilder

Definition at line 990 of file impeller.hpp.

Constructor & Destructor Documentation

◆ PathBuilder()

IMPELLER_HPP_NAMESPACE::PathBuilder::PathBuilder ( )
inline

Member Function Documentation

◆ AddArc()

PathBuilder& IMPELLER_HPP_NAMESPACE::PathBuilder::AddArc ( const ImpellerRect oval_bounds,
float  start_angle_degrees,
float  end_angle_degrees 
)
inline
See also
ImpellerPathBuilderAddArc

Definition at line 1017 of file impeller.hpp.

1019  {
1020  gGlobalProcTable.ImpellerPathBuilderAddArc(Get(), //
1021  &oval_bounds, //
1022  start_angle_degrees, //
1023  end_angle_degrees //
1024  );
1025  return *this;
1026  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPathBuilder, ImpellerPathBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ AddOval()

PathBuilder& IMPELLER_HPP_NAMESPACE::PathBuilder::AddOval ( const ImpellerRect oval_bounds)
inline
See also
ImpellerPathBuilderAddOval

Definition at line 1031 of file impeller.hpp.

1031  {
1032  gGlobalProcTable.ImpellerPathBuilderAddOval(Get(), &oval_bounds);
1033  return *this;
1034  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPathBuilder, ImpellerPathBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ AddRect()

PathBuilder& IMPELLER_HPP_NAMESPACE::PathBuilder::AddRect ( const ImpellerRect rect)
inline
See also
ImpellerPathBuilderAddRect

Definition at line 1039 of file impeller.hpp.

1039  {
1040  gGlobalProcTable.ImpellerPathBuilderAddRect(Get(), &rect);
1041  return *this;
1042  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPathBuilder, ImpellerPathBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ AddRoundedRect()

PathBuilder& IMPELLER_HPP_NAMESPACE::PathBuilder::AddRoundedRect ( const ImpellerRect rect,
const ImpellerRoundingRadii rounding_radii 
)
inline
See also
ImpellerPathBuilderAddRoundedRect

Definition at line 1047 of file impeller.hpp.

1048  {
1049  gGlobalProcTable.ImpellerPathBuilderAddRoundedRect(Get(), &rect,
1050  &rounding_radii);
1051  return *this;
1052  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPathBuilder, ImpellerPathBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ Build()

Path IMPELLER_HPP_NAMESPACE::PathBuilder::Build ( ImpellerFillType  fill = ImpellerFillType::kImpellerFillTypeNonZero)
inline

◆ BuildCopy()

Path IMPELLER_HPP_NAMESPACE::PathBuilder::BuildCopy ( ImpellerFillType  fill = ImpellerFillType::kImpellerFillTypeNonZero) const
inline

◆ Close()

PathBuilder& IMPELLER_HPP_NAMESPACE::PathBuilder::Close ( )
inline
See also
ImpellerPathBuilderClose

Definition at line 1057 of file impeller.hpp.

1057  {
1058  gGlobalProcTable.ImpellerPathBuilderClose(Get());
1059  return *this;
1060  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPathBuilder, ImpellerPathBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ CubicCurveTo()

PathBuilder& IMPELLER_HPP_NAMESPACE::PathBuilder::CubicCurveTo ( const ImpellerPoint control_point_1,
const ImpellerPoint control_point_2,
const ImpellerPoint end_point 
)
inline
See also
ImpellerPathBuilderCubicCurveTo

Definition at line 1065 of file impeller.hpp.

1067  {
1068  gGlobalProcTable.ImpellerPathBuilderCubicCurveTo(
1069  Get(), &control_point_1, &control_point_2, &end_point);
1070  return *this;
1071  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPathBuilder, ImpellerPathBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ LineTo()

PathBuilder& IMPELLER_HPP_NAMESPACE::PathBuilder::LineTo ( const ImpellerPoint location)
inline
See also
ImpellerPathBuilderLineTo

Definition at line 1076 of file impeller.hpp.

1076  {
1077  gGlobalProcTable.ImpellerPathBuilderLineTo(Get(), &location);
1078  return *this;
1079  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPathBuilder, ImpellerPathBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ MoveTo()

PathBuilder& IMPELLER_HPP_NAMESPACE::PathBuilder::MoveTo ( const ImpellerPoint location)
inline
See also
ImpellerPathBuilderMoveTo

Definition at line 1084 of file impeller.hpp.

1084  {
1085  gGlobalProcTable.ImpellerPathBuilderMoveTo(Get(), &location);
1086  return *this;
1087  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPathBuilder, ImpellerPathBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ QuadraticCurveTo()

PathBuilder& IMPELLER_HPP_NAMESPACE::PathBuilder::QuadraticCurveTo ( const ImpellerPoint control_point,
const ImpellerPoint end_point 
)
inline
See also
ImpellerPathBuilderQuadraticCurveTo

Definition at line 1092 of file impeller.hpp.

1093  {
1094  gGlobalProcTable.ImpellerPathBuilderQuadraticCurveTo(Get(), &control_point,
1095  &end_point);
1096  return *this;
1097  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerPathBuilder, ImpellerPathBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.


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