Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qohosimageconversions.cpp File Reference

(e9a37b9ab6fb06b2da2805ccbf48bddac3b296d9)

#include "qohosimageconversions_p.h"
#include <QtCore/private/qohoscommon_p.h>
#include <QtCore/private/qohoslogger_p.h>
#include <cstdint>
#include <cstring>
#include <optional>
#include <utility>
Include dependency graph for qohosimageconversions.cpp:

Go to the source code of this file.

Namespaces

namespace  QT_BEGIN_NAMESPACE
 Combined button and popup list for selecting options.

Functions

template<typename Func, Func f, typename... FuncArgs>
QOhosInvokeResult< Func, FuncArgs... > QT_BEGIN_NAMESPACE::callOhosCApiFunc (QOhosNamedFunc< Func, f > func, FuncArgs &&...funcArgs)
template<typename Func, Func f, typename... FuncArgs>
void QT_BEGIN_NAMESPACE::callOhosCApiFuncOrFailOnErrorResult (QOhosNamedFunc< Func, f > func, FuncArgs &&...funcArgs)
::PIXELMAP_ALPHA_TYPE QT_BEGIN_NAMESPACE::mapQtPixelFormatToOhosPixelMapAlphaType (const QPixelFormat &pixelFormat)
std::shared_ptr<::OH_Pixelmap_InitializationOptions > QT_BEGIN_NAMESPACE::createOhPixelmapInitializationOptions ()
std::shared_ptr<::OH_Pixelmap_InitializationOptions > QT_BEGIN_NAMESPACE::makeNativePixelMapInitializationOptions (std::uint32_t width, std::uint32_t height, ::PIXEL_FORMAT pixelFormat, ::PIXELMAP_ALPHA_TYPE alphaType)
std::optional<::PIXEL_FORMAT > QT_BEGIN_NAMESPACE::tryMapQtPixelFormatToOhosPixelFormat (QImage::Format format)
std::shared_ptr<::OH_PixelmapNative > makeOhosNativePixelMapFromQImage (QImage qImage)
std::shared_ptr<::OH_PixelmapNative > wrapOhosNativePixelMapPtr (::OH_PixelmapNative *pixelMap)
std::shared_ptr<::OH_PixelmapNative > makeEmptyOhosNativePixelMap ()
QNapi::Object makeOhosNapiPixelMapFromQImage (QOhosJsState &jsState, const QImage &image)

Function Documentation

◆ makeEmptyOhosNativePixelMap()

std::shared_ptr<::OH_PixelmapNative > makeEmptyOhosNativePixelMap ( )

Definition at line 168 of file qohosimageconversions.cpp.

◆ makeOhosNapiPixelMapFromQImage()

QNapi::Object makeOhosNapiPixelMapFromQImage ( QOhosJsState & jsState,
const QImage & image )

Definition at line 183 of file qohosimageconversions.cpp.

◆ makeOhosNativePixelMapFromQImage()

std::shared_ptr<::OH_PixelmapNative > makeOhosNativePixelMapFromQImage ( QImage qImage)

Definition at line 117 of file qohosimageconversions.cpp.

◆ wrapOhosNativePixelMapPtr()

std::shared_ptr<::OH_PixelmapNative > wrapOhosNativePixelMapPtr ( ::OH_PixelmapNative * pixelMap)

Definition at line 152 of file qohosimageconversions.cpp.