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_p.h File Reference

(e9a37b9ab6fb06b2da2805ccbf48bddac3b296d9)

#include <QtCore/private/qcore_ohos_p.h>
#include <QtCore/private/qnapi_p.h>
#include <QtGui/qimage.h>
#include <memory>
#include <multimedia/image_framework/image/pixelmap_native.h>
Include dependency graph for qohosimageconversions_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE Q_GUI_EXPORT std::shared_ptr<::OH_PixelmapNative > makeOhosNativePixelMapFromQImage (QImage qImage)
Q_GUI_EXPORT std::shared_ptr<::OH_PixelmapNative > makeEmptyOhosNativePixelMap ()
Q_GUI_EXPORT std::shared_ptr<::OH_PixelmapNative > wrapOhosNativePixelMapPtr (::OH_PixelmapNative *pixelMap)
Q_GUI_EXPORT QNapi::Object makeOhosNapiPixelMapFromQImage (QOhosJsState &jsState, const QImage &image)

Function Documentation

◆ makeEmptyOhosNativePixelMap()

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

Definition at line 168 of file qohosimageconversions.cpp.

◆ makeOhosNapiPixelMapFromQImage()

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

Definition at line 183 of file qohosimageconversions.cpp.

◆ makeOhosNativePixelMapFromQImage()

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

Definition at line 117 of file qohosimageconversions.cpp.

◆ wrapOhosNativePixelMapPtr()

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

Definition at line 152 of file qohosimageconversions.cpp.