Flutter Impeller
IMPELLER_HPP_NAMESPACE::DisplayListBuilder Class Referencefinal

#include <impeller.hpp>

Inheritance diagram for IMPELLER_HPP_NAMESPACE::DisplayListBuilder:
IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >

Public Member Functions

 DisplayListBuilder (const ImpellerRect *cull_rect=nullptr)
 
DisplayList Build ()
 
DisplayListBuilderClipOval (const ImpellerRect &oval_bounds, ImpellerClipOperation op)
 
DisplayListBuilderClipPath (const Path &path, ImpellerClipOperation op)
 
DisplayListBuilderClipRect (const ImpellerRect &rect, ImpellerClipOperation op)
 
DisplayListBuilderClipRoundedRect (const ImpellerRect &rect, const ImpellerRoundingRadii &radii, ImpellerClipOperation op)
 
DisplayListBuilderDrawDashedLine (const ImpellerPoint &from, const ImpellerPoint &to, float on_length, float off_length, const Paint &paint)
 
DisplayListBuilderDrawDisplayList (const DisplayList &display_list, float opacity=1.0f)
 
DisplayListBuilderDrawLine (const ImpellerPoint &from, const ImpellerPoint &to, const Paint &paint)
 
DisplayListBuilderDrawOval (const ImpellerRect &oval_bounds, const Paint &paint)
 
DisplayListBuilderDrawPaint (const Paint &paint)
 
DisplayListBuilderDrawParagraph (const Paragraph &paragraph, const ImpellerPoint &point)
 
DisplayListBuilderDrawPath (const Path &path, const Paint &paint)
 
DisplayListBuilderDrawRect (const ImpellerRect &rect, const Paint &paint)
 
DisplayListBuilderDrawRoundedRect (const ImpellerRect &rect, const ImpellerRoundingRadii &radii, const Paint &paint)
 
DisplayListBuilderDrawRoundedRectDifference (const ImpellerRect &outer_rect, const ImpellerRoundingRadii &outer_radii, const ImpellerRect &inner_rect, const ImpellerRoundingRadii &inner_radii, const Paint &paint)
 
DisplayListBuilderDrawTexture (const Texture &texture, const ImpellerPoint &point, ImpellerTextureSampling sampling, const Paint &paint)
 
DisplayListBuilderDrawTextureRect (const Texture &texture, const ImpellerRect &src_rect, const ImpellerRect &dst_rect, ImpellerTextureSampling sampling, const Paint &paint)
 
uint32_t GetSaveCount ()
 
ImpellerMatrix GetTransform ()
 
DisplayListBuilderResetTransform ()
 
DisplayListBuilderRestore ()
 
DisplayListBuilderRestoreToCount (uint32_t count)
 
DisplayListBuilderRotate (float angle_degrees)
 
DisplayListBuilderSave ()
 
DisplayListBuilderSaveLayer (const ImpellerRect &bounds, const Paint *paint=nullptr, const ImageFilter *backdrop=nullptr)
 
DisplayListBuilderScale (float x_scale, float y_scale)
 
DisplayListBuilderSetTransform (const ImpellerMatrix &transform)
 
DisplayListBuilderTransform (const ImpellerMatrix &transform)
 
DisplayListBuilderTranslate (float x_translation, float y_translation)
 
- Public Member Functions inherited from IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >
 Object ()=default
 
 Object (ImpellerDisplayListBuilder object)
 
 Object (ImpellerDisplayListBuilder object, AdoptTag)
 
 Object (Object &&other)
 
 Object (const Object &other)
 
 ~Object ()
 
Objectoperator= (Object &&other)
 
Objectoperator= (const Object &other)
 
ImpellerDisplayListBuilder Get () const
 
 operator bool () const
 

Detailed Description

See also
ImpellerDisplayListBuilder

Definition at line 1147 of file impeller.hpp.

Constructor & Destructor Documentation

◆ DisplayListBuilder()

IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DisplayListBuilder ( const ImpellerRect cull_rect = nullptr)
inlineexplicit

Member Function Documentation

◆ Build()

DisplayList IMPELLER_HPP_NAMESPACE::DisplayListBuilder::Build ( )
inline

◆ ClipOval()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::ClipOval ( const ImpellerRect oval_bounds,
ImpellerClipOperation  op 
)
inline
See also
ImpellerDisplayListBuilderClipOval

Definition at line 1170 of file impeller.hpp.

1171  {
1172  gGlobalProcTable.ImpellerDisplayListBuilderClipOval(Get(), //
1173  &oval_bounds, //
1174  op);
1175  return *this;
1176  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ ClipPath()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::ClipPath ( const Path path,
ImpellerClipOperation  op 
)
inline
See also
ImpellerDisplayListBuilderClipPath

Definition at line 1181 of file impeller.hpp.

1181  {
1182  gGlobalProcTable.ImpellerDisplayListBuilderClipPath(Get(), //
1183  path.Get(), //
1184  op);
1185  return *this;
1186  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ ClipRect()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::ClipRect ( const ImpellerRect rect,
ImpellerClipOperation  op 
)
inline
See also
ImpellerDisplayListBuilderClipRect

Definition at line 1191 of file impeller.hpp.

1192  {
1193  gGlobalProcTable.ImpellerDisplayListBuilderClipRect(Get(), //
1194  &rect, //
1195  op);
1196  return *this;
1197  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ ClipRoundedRect()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::ClipRoundedRect ( const ImpellerRect rect,
const ImpellerRoundingRadii radii,
ImpellerClipOperation  op 
)
inline
See also
ImpellerDisplayListBuilderClipRoundedRect

Definition at line 1202 of file impeller.hpp.

1204  {
1205  gGlobalProcTable.ImpellerDisplayListBuilderClipRoundedRect(Get(), //
1206  &rect, //
1207  &radii, //
1208  op //
1209  );
1210  return *this;
1211  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ DrawDashedLine()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DrawDashedLine ( const ImpellerPoint from,
const ImpellerPoint to,
float  on_length,
float  off_length,
const Paint paint 
)
inline
See also
ImpellerDisplayListBuilderDrawDashedLine

Definition at line 1216 of file impeller.hpp.

1220  {
1221  gGlobalProcTable.ImpellerDisplayListBuilderDrawDashedLine(Get(), //
1222  &from, //
1223  &to, //
1224  on_length, //
1225  off_length, //
1226  paint.Get());
1227  return *this;
1228  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ DrawDisplayList()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DrawDisplayList ( const DisplayList display_list,
float  opacity = 1.0f 
)
inline
See also
ImpellerDisplayListBuilderDrawDisplayList

Definition at line 1233 of file impeller.hpp.

1234  {
1235  gGlobalProcTable.ImpellerDisplayListBuilderDrawDisplayList(
1236  Get(), display_list.Get(), opacity);
1237  return *this;
1238  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ DrawLine()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DrawLine ( const ImpellerPoint from,
const ImpellerPoint to,
const Paint paint 
)
inline
See also
ImpellerDisplayListBuilderDrawLine

Definition at line 1243 of file impeller.hpp.

1245  {
1246  gGlobalProcTable.ImpellerDisplayListBuilderDrawLine(Get(), //
1247  &from, //
1248  &to, //
1249  paint.Get() //
1250  );
1251  return *this;
1252  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ DrawOval()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DrawOval ( const ImpellerRect oval_bounds,
const Paint paint 
)
inline
See also
ImpellerDisplayListBuilderDrawOval

Definition at line 1257 of file impeller.hpp.

1258  {
1259  gGlobalProcTable.ImpellerDisplayListBuilderDrawOval(Get(), //
1260  &oval_bounds, //
1261  paint.Get() //
1262  );
1263  return *this;
1264  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ DrawPaint()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DrawPaint ( const Paint paint)
inline

◆ DrawParagraph()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DrawParagraph ( const Paragraph paragraph,
const ImpellerPoint point 
)
inline
See also
ImpellerDisplayListBuilderDrawParagraph

Definition at line 1277 of file impeller.hpp.

1278  {
1279  gGlobalProcTable.ImpellerDisplayListBuilderDrawParagraph(
1280  Get(), paragraph.Get(), &point);
1281  return *this;
1282  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ DrawPath()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DrawPath ( const Path path,
const Paint paint 
)
inline
See also
ImpellerDisplayListBuilderDrawPath

Definition at line 1287 of file impeller.hpp.

1287  {
1288  gGlobalProcTable.ImpellerDisplayListBuilderDrawPath(Get(), path.Get(),
1289  paint.Get());
1290  return *this;
1291  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ DrawRect()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DrawRect ( const ImpellerRect rect,
const Paint paint 
)
inline
See also
ImpellerDisplayListBuilderDrawRect

Definition at line 1296 of file impeller.hpp.

1296  {
1297  gGlobalProcTable.ImpellerDisplayListBuilderDrawRect(Get(), &rect,
1298  paint.Get());
1299  return *this;
1300  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ DrawRoundedRect()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DrawRoundedRect ( const ImpellerRect rect,
const ImpellerRoundingRadii radii,
const Paint paint 
)
inline
See also
ImpellerDisplayListBuilderDrawRoundedRect

Definition at line 1305 of file impeller.hpp.

1307  {
1308  gGlobalProcTable.ImpellerDisplayListBuilderDrawRoundedRect(Get(), //
1309  &rect, //
1310  &radii, //
1311  paint.Get());
1312  return *this;
1313  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ DrawRoundedRectDifference()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DrawRoundedRectDifference ( const ImpellerRect outer_rect,
const ImpellerRoundingRadii outer_radii,
const ImpellerRect inner_rect,
const ImpellerRoundingRadii inner_radii,
const Paint paint 
)
inline
See also
ImpellerDisplayListBuilderDrawRoundedRectDifference

Definition at line 1318 of file impeller.hpp.

1323  {
1324  gGlobalProcTable.ImpellerDisplayListBuilderDrawRoundedRectDifference(
1325  Get(), //
1326  &outer_rect, //
1327  &outer_radii, //
1328  &inner_rect, //
1329  &inner_radii, //
1330  paint.Get());
1331  return *this;
1332  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ DrawTexture()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DrawTexture ( const Texture texture,
const ImpellerPoint point,
ImpellerTextureSampling  sampling,
const Paint paint 
)
inline
See also
ImpellerDisplayListBuilderDrawTexture

Definition at line 1337 of file impeller.hpp.

1340  {
1341  gGlobalProcTable.ImpellerDisplayListBuilderDrawTexture(
1342  Get(), texture.Get(), &point, sampling, paint.Get());
1343  return *this;
1344  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ DrawTextureRect()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DrawTextureRect ( const Texture texture,
const ImpellerRect src_rect,
const ImpellerRect dst_rect,
ImpellerTextureSampling  sampling,
const Paint paint 
)
inline
See also
ImpellerDisplayListBuilderDrawTextureRect

Definition at line 1349 of file impeller.hpp.

1353  {
1354  gGlobalProcTable.ImpellerDisplayListBuilderDrawTextureRect(
1355  Get(), texture.Get(), //
1356  &src_rect, //
1357  &dst_rect, //
1358  sampling, //
1359  paint.Get());
1360  return *this;
1361  }

References IMPELLER_HPP_NAMESPACE::Object< T, Traits >::Get(), IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ GetSaveCount()

uint32_t IMPELLER_HPP_NAMESPACE::DisplayListBuilder::GetSaveCount ( )
inline

◆ GetTransform()

ImpellerMatrix IMPELLER_HPP_NAMESPACE::DisplayListBuilder::GetTransform ( )
inline
See also
ImpellerDisplayListBuilderGetTransform

Definition at line 1373 of file impeller.hpp.

1373  {
1374  ImpellerMatrix result;
1375  gGlobalProcTable.ImpellerDisplayListBuilderGetTransform(Get(), &result);
1376  return result;
1377  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ ResetTransform()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::ResetTransform ( )
inline
See also
ImpellerDisplayListBuilderResetTransform

Definition at line 1382 of file impeller.hpp.

1382  {
1383  gGlobalProcTable.ImpellerDisplayListBuilderResetTransform(Get());
1384  return *this;
1385  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ Restore()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::Restore ( )
inline
See also
ImpellerDisplayListBuilderRestore

Definition at line 1390 of file impeller.hpp.

1390  {
1391  gGlobalProcTable.ImpellerDisplayListBuilderRestore(Get());
1392  return *this;
1393  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ RestoreToCount()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::RestoreToCount ( uint32_t  count)
inline
See also
ImpellerDisplayListBuilderRestoreToCount

Definition at line 1398 of file impeller.hpp.

1398  {
1399  gGlobalProcTable.ImpellerDisplayListBuilderRestoreToCount(Get(), //
1400  count);
1401  return *this;
1402  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ Rotate()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::Rotate ( float  angle_degrees)
inline
See also
ImpellerDisplayListBuilderRotate

Definition at line 1407 of file impeller.hpp.

1407  {
1408  gGlobalProcTable.ImpellerDisplayListBuilderRotate(Get(), //
1409  angle_degrees);
1410  return *this;
1411  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ Save()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::Save ( )
inline
See also
ImpellerDisplayListBuilderSave

Definition at line 1416 of file impeller.hpp.

1416  {
1417  gGlobalProcTable.ImpellerDisplayListBuilderSave(Get());
1418  return *this;
1419  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SaveLayer()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::SaveLayer ( const ImpellerRect bounds,
const Paint paint = nullptr,
const ImageFilter backdrop = nullptr 
)
inline
See also
ImpellerDisplayListBuilderSaveLayer

Definition at line 1424 of file impeller.hpp.

1426  {
1427  gGlobalProcTable.ImpellerDisplayListBuilderSaveLayer(
1428  Get(), //
1429  &bounds, //
1430  paint ? paint->Get() : NULL, //
1431  backdrop ? backdrop->Get() : NULL //
1432  );
1433  return *this;
1434  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ Scale()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::Scale ( float  x_scale,
float  y_scale 
)
inline
See also
ImpellerDisplayListBuilderScale

Definition at line 1439 of file impeller.hpp.

1439  {
1440  gGlobalProcTable.ImpellerDisplayListBuilderScale(Get(), //
1441  x_scale, //
1442  y_scale);
1443  return *this;
1444  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ SetTransform()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::SetTransform ( const ImpellerMatrix transform)
inline

◆ Transform()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::Transform ( const ImpellerMatrix transform)
inline

◆ Translate()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::Translate ( float  x_translation,
float  y_translation 
)
inline
See also
ImpellerDisplayListBuilderTranslate

Definition at line 1465 of file impeller.hpp.

1465  {
1466  gGlobalProcTable.ImpellerDisplayListBuilderTranslate(Get(), //
1467  x_translation, //
1468  y_translation //
1469  );
1470  return *this;
1471  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerDisplayListBuilder, ImpellerDisplayListBuilderTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.


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