Flutter Impeller
skia_conversions.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef FLUTTER_IMPELLER_DISPLAY_LIST_SKIA_CONVERSIONS_H_
6 #define FLUTTER_IMPELLER_DISPLAY_LIST_SKIA_CONVERSIONS_H_
7 
8 #include "flutter/display_list/dl_blend_mode.h"
9 #include "flutter/display_list/dl_color.h"
10 #include "flutter/display_list/dl_sampling_options.h"
13 
14 namespace impeller {
15 namespace skia_conversions {
16 
17 Color ToColor(const flutter::DlColor& color);
18 
20  const flutter::DlImageSampling options);
21 
22 } // namespace skia_conversions
23 } // namespace impeller
24 
25 #endif // FLUTTER_IMPELLER_DISPLAY_LIST_SKIA_CONVERSIONS_H_
impeller::SamplerDescriptor ToSamplerDescriptor(const flutter::DlImageSampling options)
Color ToColor(const flutter::DlColor &color)