Flutter Engine
The Flutter Engine
impeller
aiks
image.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_AIKS_IMAGE_H_
6
#define FLUTTER_IMPELLER_AIKS_IMAGE_H_
7
8
#include <memory>
9
10
#include "
impeller/core/texture.h
"
11
12
namespace
impeller
{
13
14
class
Image
{
15
public
:
16
explicit
Image
(std::shared_ptr<Texture>
texture
);
17
18
~Image
();
19
20
ISize
GetSize
()
const
;
21
22
std::shared_ptr<Texture>
GetTexture
()
const
;
23
24
private
:
25
const
std::shared_ptr<Texture> texture_;
26
27
Image
(
const
Image
&) =
delete
;
28
29
Image
& operator=(
const
Image
&) =
delete
;
30
};
31
32
}
// namespace impeller
33
34
#endif
// FLUTTER_IMPELLER_AIKS_IMAGE_H_
impeller::Image
Definition:
image.h:14
impeller::Image::~Image
~Image()
impeller::Image::GetTexture
std::shared_ptr< Texture > GetTexture() const
Definition:
image.cc:17
impeller::Image::GetSize
ISize GetSize() const
Definition:
image.cc:13
impeller::Image::Image
Image(std::shared_ptr< Texture > texture)
Definition:
image.cc:9
texture.h
texture
FlTexture * texture
Definition:
mock_texture_registrar.cc:24
impeller
Definition:
texture.h:18
impeller::TSize
Definition:
size.h:19
Generated on Sun Jun 23 2024 21:55:05 for Flutter Engine by
1.9.4