| Flutter Impeller |

Public Member Functions | List of all members
IMPELLER_HPP_NAMESPACE::PathBuilder Class Referencefinal

`#include <impeller.hpp>`

Inheritance diagram for IMPELLER_HPP_NAMESPACE::PathBuilder:

## Public Member Functions
| PathBuilder ()
Path | BuildCopy (ImpellerFillType fill=ImpellerFillType::kImpellerFillTypeNonZero) const
Path | Build (ImpellerFillType fill=ImpellerFillType::kImpellerFillTypeNonZero)
PathBuilder & | AddArc (const ImpellerRect &oval_bounds, float start_angle_degrees, float end_angle_degrees)
PathBuilder & | AddOval (const ImpellerRect &oval_bounds)
PathBuilder & | AddRect (const ImpellerRect &rect)
PathBuilder & | AddRoundedRect (const ImpellerRect &rect, const ImpellerRoundingRadii &rounding_radii)
PathBuilder & | Close ()
PathBuilder & | CubicCurveTo (const ImpellerPoint &control_point_1, const ImpellerPoint &control_point_2, const ImpellerPoint &end_point)
PathBuilder & | LineTo (const ImpellerPoint &location)
PathBuilder & | MoveTo (const ImpellerPoint &location)
PathBuilder & | QuadraticCurveTo (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 ()
Object & | operator= (Object &&other)
Object & | operator= (const Object &other)
ImpellerPathBuilder | Get () const
| operator bool () const

## Detailed Description

See also
  ImpellerPathBuilder

Definition at line 1219 of file impeller.hpp.

## Constructor & Destructor Documentation

## ◆ PathBuilder()

IMPELLER_HPP_NAMESPACE::PathBuilder::PathBuilder | ( |  | ) |
| inline

Definition at line 1222 of file impeller.hpp.

1223 : Object(gGlobalProcTable.ImpellerPathBuilderNew(), AdoptTag::kAdopt) {}
IMPELLER_HPP_NAMESPACE::Object< ImpellerPathBuilder, ImpellerPathBuilderTraits >::Object
Object()=default
IMPELLER_HPP_NAMESPACE::AdoptTag::kAdopt
@ kAdopt
IMPELLER_HPP_NAMESPACE::gGlobalProcTable
ProcTable gGlobalProcTable
Definition: playground_test.cc:25

References IMPELLER_HPP_NAMESPACE::kAdopt.

## 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 1246 of file impeller.hpp.

1248 {
1249 gGlobalProcTable.ImpellerPathBuilderAddArc(Get(), //
1250 &oval_bounds, //
1251 start_angle_degrees, //
1252 end_angle_degrees //
1253 );
1254 return *this;
1255 }
IMPELLER_HPP_NAMESPACE::Object< ImpellerPathBuilder, ImpellerPathBuilderTraits >::Get
ImpellerPathBuilder Get() const
Definition: impeller.hpp:269

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 1260 of file impeller.hpp.

1260 {
1261 gGlobalProcTable.ImpellerPathBuilderAddOval(Get(), &oval_bounds);
1262 return *this;
1263 }

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 1268 of file impeller.hpp.

1268 {
1269 gGlobalProcTable.ImpellerPathBuilderAddRect(Get(), &rect);
1270 return *this;
1271 }

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 1276 of file impeller.hpp.

1277 {
1278 gGlobalProcTable.ImpellerPathBuilderAddRoundedRect(Get(), &rect,
1279 &rounding_radii);
1280 return *this;
1281 }

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

See also
  ImpellerPathBuilderTakePathNew

Definition at line 1237 of file impeller.hpp.

1238 {
1239 return Path(gGlobalProcTable.ImpellerPathBuilderTakePathNew(Get(), fill),
1240 AdoptTag::kAdopt);
1241 }

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

## ◆ BuildCopy()

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

See also
  ImpellerPathBuilderCopyPathNew

Definition at line 1228 of file impeller.hpp.

1229 {
1230 return Path(gGlobalProcTable.ImpellerPathBuilderCopyPathNew(Get(), fill),
1231 AdoptTag::kAdopt);
1232 }

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

## ◆ Close()

PathBuilder& IMPELLER_HPP_NAMESPACE::PathBuilder::Close | ( |  | ) |
| inline

See also
  ImpellerPathBuilderClose

Definition at line 1286 of file impeller.hpp.

1286 {
1287 gGlobalProcTable.ImpellerPathBuilderClose(Get());
1288 return *this;
1289 }

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 1294 of file impeller.hpp.

1296 {
1297 gGlobalProcTable.ImpellerPathBuilderCubicCurveTo(
1298 Get(), &control_point_1, &control_point_2, &end_point);
1299 return *this;
1300 }

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 1305 of file impeller.hpp.

1305 {
1306 gGlobalProcTable.ImpellerPathBuilderLineTo(Get(), &location);
1307 return *this;
1308 }

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 1313 of file impeller.hpp.

1313 {
1314 gGlobalProcTable.ImpellerPathBuilderMoveTo(Get(), &location);
1315 return *this;
1316 }

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 1321 of file impeller.hpp.

1322 {
1323 gGlobalProcTable.ImpellerPathBuilderQuadraticCurveTo(Get(), &control_point,
1324 &end_point);
1325 return *this;
1326 }

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

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

- impeller/toolkit/interop/impeller.hpp