xref: /third_party/skia/modules/particles/src/SkReflected.cpp
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/skia/modules/particles/src/
1cb93a386Sopenharmony_ci/*
2cb93a386Sopenharmony_ci* Copyright 2019 Google LLC
3cb93a386Sopenharmony_ci*
4cb93a386Sopenharmony_ci* Use of this source code is governed by a BSD-style license that can be
5cb93a386Sopenharmony_ci* found in the LICENSE file.
6cb93a386Sopenharmony_ci*/
7cb93a386Sopenharmony_ci
8cb93a386Sopenharmony_ci#include "modules/particles/include/SkReflected.h"
9cb93a386Sopenharmony_ci
10cb93a386Sopenharmony_ciSkSTArray<16, const SkReflected::Type*, true> SkReflected::gTypes;
11cb93a386Sopenharmony_ci
12cb93a386Sopenharmony_civoid SkReflected::VisitTypes(std::function<void(const Type*)> visitor) {
13cb93a386Sopenharmony_ci    for (const Type* type : gTypes) {
14cb93a386Sopenharmony_ci        visitor(type);
15cb93a386Sopenharmony_ci    }
16cb93a386Sopenharmony_ci}
17

Indexes created Thu Nov 07 10:32:03 CST 2024