src/core/SkConvertPixels.h
raw| 1 | /* |
| 2 | * Copyright 2011 Google Inc. |
| 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 | |
| 8 | #ifndef SkConvertPixels_DEFINED |
| 9 | #define SkConvertPixels_DEFINED |
| 10 | |
| 11 | #include <cstddef> |
| 12 | |
| 13 | struct SkImageInfo; |
| 14 | |
| 15 | [[nodiscard]] bool SkConvertPixels( |
| 16 | const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, |
| 17 | const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes); |
| 18 | |
| 19 | #endif |