SkPictureFlat.cpp 613 B

123456789101112131415161718192021
  1. /*
  2. * Copyright 2011 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/SkColorFilter.h"
  8. #include "include/core/SkDrawLooper.h"
  9. #include "include/core/SkMaskFilter.h"
  10. #include "include/core/SkShader.h"
  11. #include "include/core/SkTypeface.h"
  12. #include "include/private/SkChecksum.h"
  13. #include "src/core/SkPictureFlat.h"
  14. ///////////////////////////////////////////////////////////////////////////////
  15. void SkTypefacePlayback::setCount(size_t count) {
  16. fCount = count;
  17. fArray.reset(new sk_sp<SkTypeface>[count]);
  18. }