/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
// Creates the output buffer
const unsigned int bufferSize = data.width * data.height * 4u;
- data.buffer = new unsigned char[bufferSize]; // @note The caller is responsible for deallocating the bitmap data using delete[].
+ data.buffer = new uint8_t[bufferSize]; // @note The caller is responsible for deallocating the bitmap data using delete[].
if(inputDimensions == desiredDimensions)
{
{
Dali::Internal::Platform::LanczosSample4BPP(srcBuffer,
inputDimensions,
+ srcWidth,
data.buffer,
desiredDimensions);
}
Dali::Internal::Platform::HorizontalShear(pixelsIn,
width,
height,
+ width,
1u,
-TextAbstraction::FontClient::DEFAULT_ITALIC_ANGLE,
pixelsOut,