SkBBHFactory.cpp 363 B

123456789101112131415
  1. /*
  2. * Copyright 2014 Google Inc.
  3. *
  4. * Use of this source code is governed by a BSD-style license that can be
  5. * found in the LICENSE file.
  6. */
  7. #include "include/core/SkBBHFactory.h"
  8. #include "include/core/SkRect.h"
  9. #include "include/core/SkScalar.h"
  10. #include "src/core/SkRTree.h"
  11. SkBBoxHierarchy* SkRTreeFactory::operator()() const {
  12. return new SkRTree;
  13. }