Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qsvgiohandler.cpp File Reference
#include "qsvgiohandler.h"
#include "qsvgrenderer.h"
#include "qimage.h"
#include "qpixmap.h"
#include "qpainter.h"
#include "qvariant.h"
#include "qbuffer.h"
#include "qdebug.h"
+ Include dependency graph for qsvgiohandler.cpp:

Go to the source code of this file.

Classes

class  QSvgIOHandlerPrivate
 

Functions

static bool isPossiblySvg (QIODevice *device, bool *isCompressed=nullptr)
 

Function Documentation

◆ isPossiblySvg()

static bool isPossiblySvg ( QIODevice device,
bool *  isCompressed = nullptr 
)
static

Definition at line 85 of file qsvgiohandler.cpp.

References ba, device, QByteArray::fromRawData(), QByteArray::startsWith(), str, QString::toLatin1(), and QString::trimmed().

Referenced by QSvgIOHandler::canRead(), and QSvgIOHandler::canRead().

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