// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_LIB_UI_PAINTING_RRECT_H_ #define FLUTTER_LIB_UI_PAINTING_RRECT_H_ #include "dart/runtime/include/dart_api.h" #include "flutter/tonic/dart_converter.h" #include "third_party/skia/include/core/SkRRect.h" namespace blink { class RRect { public: SkRRect sk_rrect; bool is_null; }; template <> struct DartConverter { static RRect FromDart(Dart_Handle handle); static RRect FromArguments(Dart_NativeArguments args, int index, Dart_Handle& exception); }; } // namespace blink #endif // FLUTTER_LIB_UI_PAINTING_RRECT_H_