Flutter Engine
The Flutter Engine
third_party
skia
src
image
SkRescaleAndReadPixels.h
Go to the documentation of this file.
1
/*
2
* Copyright 2020 Google LLC
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
#ifndef SkRescaleAndReadPixels_DEFINED
8
#define SkRescaleAndReadPixels_DEFINED
9
10
#include "
include/core/SkImage.h
"
11
12
class
SkBitmap
;
13
struct
SkIRect
;
14
struct
SkImageInfo
;
15
16
/** Generic/synchronous implementation for SkImage:: and SkSurface::asyncRescaleAndReadPixels. */
17
void
SkRescaleAndReadPixels
(
SkBitmap
src
,
18
const
SkImageInfo
& resultInfo,
19
const
SkIRect
& srcRect,
20
SkImage::RescaleGamma
,
21
SkImage::RescaleMode
,
22
SkImage::ReadPixelsCallback
,
23
SkImage::ReadPixelsContext
);
24
25
#endif
// SkRescaleAndReadPixels_DEFINED
SkImage.h
SkRescaleAndReadPixels
void SkRescaleAndReadPixels(SkBitmap src, const SkImageInfo &resultInfo, const SkIRect &srcRect, SkImage::RescaleGamma, SkImage::RescaleMode, SkImage::ReadPixelsCallback, SkImage::ReadPixelsContext)
Definition:
SkRescaleAndReadPixels.cpp:28
SkBitmap
Definition:
SkBitmap.h:59
SkImage::ReadPixelsContext
void * ReadPixelsContext
Definition:
SkImage.h:578
SkImage::RescaleMode
RescaleMode
Definition:
SkImage.h:587
SkImage::RescaleGamma
RescaleGamma
Definition:
SkImage.h:585
SkImage::ReadPixelsCallback
void(ReadPixelsContext, std::unique_ptr< const AsyncReadResult >) ReadPixelsCallback
Definition:
SkImage.h:583
mskp_parser.src
src
Definition:
mskp_parser.py:22
SkIRect
Definition:
SkRect.h:32
SkImageInfo
Definition:
SkImageInfo.h:208
Generated on Sun Jun 23 2024 21:56:29 for Flutter Engine by
1.9.4