Flutter Impeller
IMPELLER_HPP_NAMESPACE::DisplayListBuilder Class Reference

#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)
 
DisplayListBuilderDrawShadow (const Path &path, const ImpellerColor &shadow_color, float elevation, bool occluder_is_transparent, float device_pixel_ratio)
 
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 1525 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 1547 of file impeller.hpp.

1548  {
1549  gGlobalProcTable.ImpellerDisplayListBuilderClipOval(Get(), //
1550  &oval_bounds, //
1551  op);
1552  return *this;
1553  }

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

1558  {
1559  gGlobalProcTable.ImpellerDisplayListBuilderClipPath(Get(), //
1560  path.Get(), //
1561  op);
1562  return *this;
1563  }

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

1569  {
1570  gGlobalProcTable.ImpellerDisplayListBuilderClipRect(Get(), //
1571  &rect, //
1572  op);
1573  return *this;
1574  }

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

1581  {
1582  gGlobalProcTable.ImpellerDisplayListBuilderClipRoundedRect(Get(), //
1583  &rect, //
1584  &radii, //
1585  op //
1586  );
1587  return *this;
1588  }

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

1597  {
1598  gGlobalProcTable.ImpellerDisplayListBuilderDrawDashedLine(Get(), //
1599  &from, //
1600  &to, //
1601  on_length, //
1602  off_length, //
1603  paint.Get());
1604  return *this;
1605  }

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

1611  {
1612  gGlobalProcTable.ImpellerDisplayListBuilderDrawDisplayList(
1613  Get(), display_list.Get(), opacity);
1614  return *this;
1615  }

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

1622  {
1623  gGlobalProcTable.ImpellerDisplayListBuilderDrawLine(Get(), //
1624  &from, //
1625  &to, //
1626  paint.Get() //
1627  );
1628  return *this;
1629  }

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

1635  {
1636  gGlobalProcTable.ImpellerDisplayListBuilderDrawOval(Get(), //
1637  &oval_bounds, //
1638  paint.Get() //
1639  );
1640  return *this;
1641  }

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

1655  {
1656  gGlobalProcTable.ImpellerDisplayListBuilderDrawParagraph(
1657  Get(), paragraph.Get(), &point);
1658  return *this;
1659  }

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

1678  {
1679  gGlobalProcTable.ImpellerDisplayListBuilderDrawPath(Get(), path.Get(),
1680  paint.Get());
1681  return *this;
1682  }

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

1687  {
1688  gGlobalProcTable.ImpellerDisplayListBuilderDrawRect(Get(), &rect,
1689  paint.Get());
1690  return *this;
1691  }

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

1698  {
1699  gGlobalProcTable.ImpellerDisplayListBuilderDrawRoundedRect(Get(), //
1700  &rect, //
1701  &radii, //
1702  paint.Get());
1703  return *this;
1704  }

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

1714  {
1715  gGlobalProcTable.ImpellerDisplayListBuilderDrawRoundedRectDifference(
1716  Get(), //
1717  &outer_rect, //
1718  &outer_radii, //
1719  &inner_rect, //
1720  &inner_radii, //
1721  paint.Get());
1722  return *this;
1723  }

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

◆ DrawShadow()

DisplayListBuilder& IMPELLER_HPP_NAMESPACE::DisplayListBuilder::DrawShadow ( const Path path,
const ImpellerColor shadow_color,
float  elevation,
bool  occluder_is_transparent,
float  device_pixel_ratio 
)
inline
See also
ImpellerDisplayListBuilderDrawShadow

Definition at line 1664 of file impeller.hpp.

1668  {
1669  gGlobalProcTable.ImpellerDisplayListBuilderDrawShadow(
1670  Get(), path.Get(), &shadow_color, elevation, occluder_is_transparent,
1671  device_pixel_ratio);
1672  return *this;
1673  }

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

1731  {
1732  gGlobalProcTable.ImpellerDisplayListBuilderDrawTexture(
1733  Get(), texture.Get(), &point, sampling, paint.Get());
1734  return *this;
1735  }

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

1744  {
1745  gGlobalProcTable.ImpellerDisplayListBuilderDrawTextureRect(
1746  Get(), texture.Get(), //
1747  &src_rect, //
1748  &dst_rect, //
1749  sampling, //
1750  paint.Get());
1751  return *this;
1752  }

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

1764  {
1765  ImpellerMatrix result;
1766  gGlobalProcTable.ImpellerDisplayListBuilderGetTransform(Get(), &result);
1767  return result;
1768  }

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

1773  {
1774  gGlobalProcTable.ImpellerDisplayListBuilderResetTransform(Get());
1775  return *this;
1776  }

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

1781  {
1782  gGlobalProcTable.ImpellerDisplayListBuilderRestore(Get());
1783  return *this;
1784  }

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

1789  {
1790  gGlobalProcTable.ImpellerDisplayListBuilderRestoreToCount(Get(), //
1791  count);
1792  return *this;
1793  }

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

1798  {
1799  gGlobalProcTable.ImpellerDisplayListBuilderRotate(Get(), //
1800  angle_degrees);
1801  return *this;
1802  }

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

1807  {
1808  gGlobalProcTable.ImpellerDisplayListBuilderSave(Get());
1809  return *this;
1810  }

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

1817  {
1818  gGlobalProcTable.ImpellerDisplayListBuilderSaveLayer(
1819  Get(), //
1820  &bounds, //
1821  paint ? paint->Get() : NULL, //
1822  backdrop ? backdrop->Get() : NULL //
1823  );
1824  return *this;
1825  }

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

1830  {
1831  gGlobalProcTable.ImpellerDisplayListBuilderScale(Get(), //
1832  x_scale, //
1833  y_scale);
1834  return *this;
1835  }

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

1856  {
1857  gGlobalProcTable.ImpellerDisplayListBuilderTranslate(Get(), //
1858  x_translation, //
1859  y_translation //
1860  );
1861  return *this;
1862  }

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


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