Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::RTreeFactory Class Reference

#include <rtree.h>

Inheritance diagram for flutter::RTreeFactory:
SkBBHFactory

Public Member Functions

 RTreeFactory ()
 
sk_sp< RTreegetInstance ()
 
sk_sp< SkBBoxHierarchyoperator() () const override
 
- Public Member Functions inherited from SkBBHFactory
virtual sk_sp< SkBBoxHierarchyoperator() () const =0
 
virtual ~SkBBHFactory ()
 

Additional Inherited Members

- Protected Member Functions inherited from SkBBHFactory
 SkBBHFactory ()=default
 
 SkBBHFactory (const SkBBHFactory &)=delete
 
SkBBHFactoryoperator= (const SkBBHFactory &)=delete
 

Detailed Description

Definition at line 51 of file rtree.h.

Constructor & Destructor Documentation

◆ RTreeFactory()

flutter::RTreeFactory::RTreeFactory ( )

Definition at line 70 of file rtree.cc.

70 {
71 r_tree_ = sk_make_sp<RTree>();
72}

Member Function Documentation

◆ getInstance()

sk_sp< RTree > flutter::RTreeFactory::getInstance ( )

Definition at line 74 of file rtree.cc.

74 {
75 return r_tree_;
76}

◆ operator()()

sk_sp< SkBBoxHierarchy > flutter::RTreeFactory::operator() ( ) const
overridevirtual

Allocate a new SkBBoxHierarchy. Return NULL on failure.

Implements SkBBHFactory.

Definition at line 78 of file rtree.cc.

78 {
79 return r_tree_;
80}

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