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

(da8644edeafb521a5b6e0108182523d2d9094cbb)

#include <QtCore/qglobal.h>
#include <QtGui/qimage.h>
#include <optional>
#include <multimedia/image_framework/image/pixelmap_native.h>
#include <qohosplugincore.h>
Include dependency graph for qohospixelmapconversions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE QImage createQImageFromNativePixelMap (::OH_PixelmapNative *pixelMap)
QNapi::Object makeDisplayDensityScaledJsPixelMapFromQImage (QtOhos::JsState &jsState, const QImage &image)
std::optional< QNapi::ObjectcreateDisplayDensityScaledJsMonochromePixelMapFromIconImage (QtOhos::JsState &jsState, const QImage &iconImage, bool isWhiteIcon)

Function Documentation

◆ createDisplayDensityScaledJsMonochromePixelMapFromIconImage()

std::optional< QNapi::Object > createDisplayDensityScaledJsMonochromePixelMapFromIconImage ( QtOhos::JsState & jsState,
const QImage & iconImage,
bool isWhiteIcon )

Definition at line 242 of file qohospixelmapconversions.cpp.

◆ createQImageFromNativePixelMap()

QImage createQImageFromNativePixelMap ( ::OH_PixelmapNative * pixelMap)

Definition at line 106 of file qohospixelmapconversions.cpp.

◆ makeDisplayDensityScaledJsPixelMapFromQImage()

QNapi::Object makeDisplayDensityScaledJsPixelMapFromQImage ( QtOhos::JsState & jsState,
const QImage & image )

Definition at line 196 of file qohospixelmapconversions.cpp.

References getPrimaryDisplayPixelDensity().

Here is the call graph for this function: