Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 "flutter/fml/macros.h"
11
#include "
impeller/core/texture.h
"
12
13
namespace
impeller
{
14
15
class
Image
{
16
public
:
17
explicit
Image
(std::shared_ptr<Texture>
texture
);
18
19
~Image
();
20
21
ISize
GetSize
()
const
;
22
23
std::shared_ptr<Texture>
GetTexture
()
const
;
24
25
private
:
26
const
std::shared_ptr<Texture> texture_;
27
28
Image
(
const
Image
&) =
delete
;
29
30
Image
& operator=(
const
Image
&) =
delete
;
31
};
32
33
}
// namespace impeller
34
35
#endif
// FLUTTER_IMPELLER_AIKS_IMAGE_H_
impeller::Image
Definition
image.h:15
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
texture.h
texture
FlTexture * texture
Definition
mock_texture_registrar.cc:24
impeller
Definition
texture.h:18
impeller::TSize< int64_t >
Generated on Fri Apr 26 2024 06:14:16 for Flutter Engine by
1.9.8