Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickcanvasitem.cpp File Reference

(77bccc5ab8b69bd8d6e7053880e10bbbbcaf598b)

#include <private/qsgadaptationlayer_p.h>
#include "qquickcanvasitem_p.h"
#include <private/qquickitem_p.h>
#include <private/qquickcanvascontext_p.h>
#include <private/qquickcontext2d_p.h>
#include <private/qquickcontext2dtexture_p.h>
#include <qsgtextureprovider.h>
#include <QtQuick/private/qquickpixmap_p.h>
#include <QtGui/QGuiApplication>
#include <qqmlinfo.h>
#include <private/qqmlengine_p.h>
#include <QtCore/QBuffer>
#include <QtCore/qdatetime.h>
#include <private/qv4value_p.h>
#include <private/qv4functionobject_p.h>
#include <private/qv4scopedvalue_p.h>
#include <private/qv4jscall_p.h>
#include <private/qv4qobjectwrapper_p.h>
#include <private/qjsvalue_p.h>
#include "moc_qquickcanvasitem_p.cpp"
+ Include dependency graph for qquickcanvasitem.cpp:

Go to the source code of this file.

Classes

class  QQuickCanvasTextureProvider
 
class  QQuickCanvasItemPrivate
 

Functions

static const char * mimeToType (const QString &mime)
 

Function Documentation

◆ mimeToType()

static const char * mimeToType ( const QString & mime)
static

Definition at line 1096 of file qquickcanvasitem.cpp.

References QStringView::mid(), mime, and QLatin1StringView::size().

Referenced by QQuickCanvasItem::toDataURL().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: