![]() |
Qt 6.x
The Qt SDK
|
Static Public Member Functions | |
static V4_NEEDS_DESTROY QV4::ReturnedValue | method_get_globalAlpha (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty real QtQuick::Context2D::globalAlpha | |
static QV4::ReturnedValue | method_set_globalAlpha (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_globalCompositeOperation (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty string QtQuick::Context2D::globalCompositeOperation Holds the current the current composition operation. | |
static QV4::ReturnedValue | method_set_globalCompositeOperation (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_fillStyle (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty variant QtQuick::Context2D::fillStyle Holds the current style used for filling shapes. | |
static QV4::ReturnedValue | method_set_fillStyle (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_fillRule (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty enumeration QtQuick::Context2D::fillRule Holds the current fill rule used for filling shapes. | |
static QV4::ReturnedValue | method_set_fillRule (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_strokeStyle (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty variant QtQuick::Context2D::strokeStyle Holds the current color or style to use for the lines around shapes, The style can be either a string containing a CSS color, a CanvasGradient or CanvasPattern object. | |
static QV4::ReturnedValue | method_set_strokeStyle (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_lineCap (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty string QtQuick::Context2D::lineCap Holds the current line cap style. | |
static QV4::ReturnedValue | method_set_lineCap (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_lineJoin (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty string QtQuick::Context2D::lineJoin Holds the current line join style. | |
static QV4::ReturnedValue | method_set_lineJoin (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_lineWidth (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty real QtQuick::Context2D::lineWidth Holds the current line width. | |
static QV4::ReturnedValue | method_set_lineWidth (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_miterLimit (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty real QtQuick::Context2D::miterLimit Holds the current miter limit ratio. | |
static QV4::ReturnedValue | method_set_miterLimit (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_set_lineDashOffset (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_lineDashOffset (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty real QtQuick::Context2D::lineDashOffset | |
static QV4::ReturnedValue | method_get_shadowBlur (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty real QtQuick::Context2D::shadowBlur Holds the current level of blur applied to shadows | |
static QV4::ReturnedValue | method_set_shadowBlur (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_shadowColor (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty string QtQuick::Context2D::shadowColor Holds the current shadow color. | |
static QV4::ReturnedValue | method_set_shadowColor (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_shadowOffsetX (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty qreal QtQuick::Context2D::shadowOffsetX Holds the current shadow offset in the positive horizontal distance. | |
static QV4::ReturnedValue | method_set_shadowOffsetX (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_shadowOffsetY (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty qreal QtQuick::Context2D::shadowOffsetY Holds the current shadow offset in the positive vertical distance. | |
static QV4::ReturnedValue | method_set_shadowOffsetY (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_font (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty string QtQuick::Context2D::font Holds the current font settings. | |
static QV4::ReturnedValue | method_set_font (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_textAlign (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty string QtQuick::Context2D::textAlign | |
static QV4::ReturnedValue | method_set_textAlign (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
static QV4::ReturnedValue | method_get_textBaseline (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
\qmlproperty string QtQuick::Context2D::textBaseline | |
static QV4::ReturnedValue | method_set_textBaseline (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc) |
![]() | |
static ReturnedValue | getValue (const Value *thisObject, const Value &v, PropertyAttributes attrs) |
static ReturnedValue | getValueAccessor (const Value *thisObject, const Value &v, PropertyAttributes attrs) |
static ReturnedValue | checkedInstanceOf (ExecutionEngine *engine, const FunctionObject *typeObject, const Value &var) |
![]() | |
static constexpr Value | fromStaticValue (StaticValue staticValue) |
static Value | fromHeapObject (HeapBasePtr m) |
static bool | toBooleanImpl (Value val) |
static double | toNumberImpl (Value v) |
static Heap::String * | toString (ExecutionEngine *e, Value val) |
static Heap::Object * | toObject (ExecutionEngine *e, Value val) |
static constexpr Value | fromReturnedValue (ReturnedValue val) |
static double | toInteger (double d) |
static int | toInt32 (double d) |
static unsigned int | toUInt32 (double d) |
static constexpr Value | emptyValue () |
static constexpr Value | fromBoolean (bool b) |
static constexpr Value | fromInt32 (int i) |
static constexpr Value | undefinedValue () |
static constexpr Value | nullValue () |
static Value | fromDouble (double d) |
static Value | fromUInt32 (uint i) |
![]() | |
static int | valueOffset () |
static int | tagOffset () |
static constexpr quint64 | tagValue (quint32 tag, quint32 value) |
static constexpr quint64 | tagBitMask (TagBit bit) |
static bool | integerCompatible (StaticValue a, StaticValue b) |
static bool | bothDouble (StaticValue a, StaticValue b) |
static QV4_NEARLY_ALWAYS_INLINE bool | isInt32 (double d) |
static constexpr StaticValue | fromReturnedValue (ReturnedValue val) |
static constexpr StaticValue | emptyValue () |
static constexpr StaticValue | fromBoolean (bool b) |
static constexpr StaticValue | fromInt32 (int i) |
static constexpr StaticValue | undefinedValue () |
static constexpr StaticValue | nullValue () |
static StaticValue | fromDouble (double d) |
static StaticValue | fromUInt32 (uint i) |
static double | toInteger (double d) |
static int | toInt32 (double d) |
static unsigned int | toUInt32 (double d) |
Definition at line 518 of file qquickcontext2d.cpp.
|
static |
\qmlproperty enumeration QtQuick::Context2D::fillRule Holds the current fill rule used for filling shapes.
The following fill rules are supported:
\value Qt.OddEvenFill Qt::OddEvenFill \value Qt.WindingFill (default) Qt::WindingFill
Definition at line 1490 of file qquickcontext2d.cpp.
References QV4::Value::as(), CHECK_CONTEXT, QV4::Scope::engine, QV4::ExecutionEngine::fromVariant(), and RETURN_RESULT.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty variant QtQuick::Context2D::fillStyle Holds the current style used for filling shapes.
The style can be either a string containing a CSS color, a CanvasGradient or CanvasPattern object. Invalid values are ignored. This property accepts several color syntaxes: \list
fillStyle
or \l strokeStyle is assigned many times in a loop, the last Qt.rgba() syntax should be chosen, as it has the best performance, because it's already a valid QColor value, does not need to be parsed everytime.The default value is '#000000'.
Definition at line 1422 of file qquickcontext2d.cpp.
References QString::arg(), QV4::Value::as(), CHECK_CONTEXT, QString::chop(), QString::endsWith(), QV4::Scope::engine, QString::fromLatin1(), QV4::ExecutionEngine::newString(), QString::number(), RETURN_RESULT, and str.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty string QtQuick::Context2D::font Holds the current font settings.
A subset of the \l {http://www.w3.org/TR/2dcontext/#dom-context-2d-font}{w3C 2d context standard for font} is supported:
\list
The default font value is "10px sans-serif".
Definition at line 2830 of file qquickcontext2d.cpp.
References CHECK_CONTEXT, QV4::Scope::engine, QV4::ExecutionEngine::newString(), and RETURN_RESULT.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty real QtQuick::Context2D::globalAlpha
Holds the current alpha value applied to rendering operations. The value must be in the range from 0.0
(fully transparent) to 1.0
(fully opaque). The default value is 1.0
.
Definition at line 1262 of file qquickcontext2d.cpp.
References QV4::Value::as(), CHECK_CONTEXT, and RETURN_RESULT.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty string QtQuick::Context2D::globalCompositeOperation Holds the current the current composition operation.
Allowed operations are:
\value "source-atop" QPainter::CompositionMode_SourceAtop A atop B. Display the source image wherever both images are opaque. Display the destination image wherever the destination image is opaque but the source image is transparent. Display transparency elsewhere. \value "source-in" QPainter::CompositionMode_SourceIn A in B. Display the source image wherever both the source image and destination image are opaque. Display transparency elsewhere. \value "source-out" QPainter::CompositionMode_SourceOut A out B. Display the source image wherever the source image is opaque and the destination image is transparent. Display transparency elsewhere. \value "source-over" QPainter::CompositionMode_SourceOver (default) A over B. Display the source image wherever the source image is opaque. Display the destination image elsewhere. \value "destination-atop" QPainter::CompositionMode_DestinationAtop B atop A. Same as source-atop
but using the destination image instead of the source image and vice versa. \value "destination-in" QPainter::CompositionMode_DestinationIn B in A. Same as source-in
but using the destination image instead of the source image and vice versa. \value "destination-out" QPainter::CompositionMode_DestinationOut B out A. Same as source-out
but using the destination image instead of the source image and vice versa. \value "destination-over" QPainter::CompositionMode_DestinationOver B over A. Same as source-over
but using the destination image instead of the source image and vice versa. \value "lighter" QPainter::CompositionMode_Plus A plus B. Display the sum of the source image and destination image, with color values approaching 255
(100%) as a limit. \value "copy" QPainter::CompositionMode_Source A (B is ignored). Display the source image instead of the destination image. \value "xor" QPainter::CompositionMode_Xor A xor B. Exclusive OR of the source image and destination image. \value "qt-clear" QPainter::CompositionMode_Clear \value "qt-destination" QPainter::CompositionMode_Destination \value "qt-multiply" QPainter::CompositionMode_Multiply \value "qt-screen" QPainter::CompositionMode_Screen \value "qt-overlay" QPainter::CompositionMode_Overlay \value "qt-darken" QPainter::CompositionMode_Darken \value "qt-lighten" QPainter::CompositionMode_Lighten \value "qt-color-dodge" QPainter::CompositionMode_ColorDodge \value "qt-color-burn" QPainter::CompositionMode_ColorBurn \value "qt-hard-light" QPainter::CompositionMode_HardLight \value "qt-soft-light" QPainter::CompositionMode_SoftLight \value "qt-difference" QPainter::CompositionMode_Difference \value "qt-exclusion" QPainter::CompositionMode_Exclusion
In compliance with the W3C standard, the extended composition modes beyond the required modes are provided as "vendorName-operationName" syntax, for example: QPainter::CompositionMode_Exclusion is provided as "qt-exclusion".
Definition at line 1368 of file qquickcontext2d.cpp.
References QV4::Value::as(), CHECK_CONTEXT, QV4::Scope::engine, QV4::ExecutionEngine::newString(), qt_composite_mode_to_string(), and RETURN_RESULT.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty string QtQuick::Context2D::lineCap Holds the current line cap style.
The possible line cap styles are:
\value "butt" (default) Qt::FlatCap the end of each line has a flat edge perpendicular to the direction of the line. \value "round" Qt::RoundCap a semi-circle with the diameter equal to the width of the line is added on to the end of the line. \value "square" Qt::SquareCap a rectangle with the length of the line width and the width of half the line width, placed flat against the edge perpendicular to the direction of the line.
Other values are ignored.
Definition at line 1865 of file qquickcontext2d.cpp.
References CHECK_CONTEXT, QV4::Scope::engine, Qt::FlatCap, QV4::ExecutionEngine::newString(), QStringLiteral, RETURN_RESULT, Qt::RoundCap, and Qt::SquareCap.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty real QtQuick::Context2D::lineDashOffset
Holds the current line dash offset. The default line dash offset value is 0
.
Definition at line 2121 of file qquickcontext2d.cpp.
References CHECK_CONTEXT, and RETURN_RESULT.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty string QtQuick::Context2D::lineJoin Holds the current line join style.
A join exists at any point in a subpath shared by two consecutive lines. When a subpath is closed, then a join also exists at its first point (equivalent to its last point) connecting the first and last lines in the subpath.
The possible line join styles are:
\value "bevel" Qt::BevelJoin The triangular notch between the two lines is filled. \value "round" Qt::RoundJoin A circular arc between the two lines is filled. \value "miter" (default) Qt::MiterJoin The outer edges of the lines are extended to meet at an angle, and this area is filled.
Other values are ignored.
Definition at line 1926 of file qquickcontext2d.cpp.
References Qt::BevelJoin, CHECK_CONTEXT, QV4::Scope::engine, Qt::MiterJoin, QV4::ExecutionEngine::newString(), QStringLiteral, RETURN_RESULT, and Qt::RoundJoin.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty real QtQuick::Context2D::lineWidth Holds the current line width.
Values that are not finite values greater than zero are ignored.
Definition at line 1975 of file qquickcontext2d.cpp.
References CHECK_CONTEXT, and RETURN_RESULT.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty real QtQuick::Context2D::miterLimit Holds the current miter limit ratio.
The default miter limit value is 10.0.
Definition at line 2004 of file qquickcontext2d.cpp.
References CHECK_CONTEXT, and RETURN_RESULT.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty real QtQuick::Context2D::shadowBlur Holds the current level of blur applied to shadows
Definition at line 2151 of file qquickcontext2d.cpp.
References CHECK_CONTEXT, and RETURN_RESULT.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty string QtQuick::Context2D::shadowColor Holds the current shadow color.
Definition at line 2179 of file qquickcontext2d.cpp.
References CHECK_CONTEXT, QV4::Scope::engine, QV4::ExecutionEngine::newString(), and RETURN_RESULT.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty qreal QtQuick::Context2D::shadowOffsetX Holds the current shadow offset in the positive horizontal distance.
Definition at line 2212 of file qquickcontext2d.cpp.
References CHECK_CONTEXT, and RETURN_RESULT.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty qreal QtQuick::Context2D::shadowOffsetY Holds the current shadow offset in the positive vertical distance.
Definition at line 2240 of file qquickcontext2d.cpp.
References CHECK_CONTEXT, and RETURN_RESULT.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty variant QtQuick::Context2D::strokeStyle Holds the current color or style to use for the lines around shapes, The style can be either a string containing a CSS color, a CanvasGradient or CanvasPattern object.
Invalid values are ignored.
The default value is '#000000'.
Definition at line 1532 of file qquickcontext2d.cpp.
References QString::arg(), QV4::Value::as(), CHECK_CONTEXT, QString::chop(), QString::endsWith(), QV4::Scope::engine, QString::fromLatin1(), QV4::ExecutionEngine::newString(), QString::number(), RETURN_RESULT, and str.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty string QtQuick::Context2D::textAlign
Holds the current text alignment settings. The possible values are:
\value "start" (default) Align to the start edge of the text (left side in left-to-right text, right side in right-to-left text). \value "end" Align to the end edge of the text (right side in left-to-right text, left side in right-to-left text). \value "left" Qt::AlignLeft \value "right" Qt::AlignRight \value "center" Qt::AlignHCenter
Other values are ignored.
Definition at line 2870 of file qquickcontext2d.cpp.
References QQuickContext2D::Center, CHECK_CONTEXT, QQuickContext2D::End, QV4::Scope::engine, QQuickContext2D::Left, QV4::ExecutionEngine::newString(), QStringLiteral, RETURN_RESULT, QQuickContext2D::Right, and QQuickContext2D::Start.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
\qmlproperty string QtQuick::Context2D::textBaseline
Holds the current baseline alignment settings. The possible values are:
\value "top" The top of the em square \value "hanging" The hanging baseline \value "middle" The middle of the em square \value "alphabetic" (default) The alphabetic baseline \value "ideographic" The ideographic-under baseline \value "bottom" The bottom of the em square
Other values are ignored. The default value is "alphabetic".
Definition at line 2937 of file qquickcontext2d.cpp.
References QQuickContext2D::Alphabetic, QQuickContext2D::Bottom, CHECK_CONTEXT, QV4::Scope::engine, QQuickContext2D::Hanging, QQuickContext2D::Middle, QV4::ExecutionEngine::newString(), QStringLiteral, RETURN_RESULT, and QQuickContext2D::Top.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 1499 of file qquickcontext2d.cpp.
References QV4::Value::as(), CHECK_CONTEXT_SETTER, Qt::OddEvenFill, RETURN_UNDEFINED, QV4::Value::undefinedValue(), QV4::StaticValue::value(), and Qt::WindingFill.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 1443 of file qquickcontext2d.cpp.
References QV4::Value::as(), CHECK_CONTEXT_SETTER, QV4::Scope::engine, qt_color_from_string(), RETURN_UNDEFINED, QV4::ExecutionEngine::toVariant(), QV4::Value::undefinedValue(), QV4::StaticValue::value(), and QVariant::value().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 2839 of file qquickcontext2d.cpp.
References CHECK_CONTEXT_SETTER, QV4::Scoped< T >::Convert, font, QV4::Scope::hasException(), qt_font_from_string(), RETURN_UNDEFINED, and QV4::Value::undefinedValue().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 1271 of file qquickcontext2d.cpp.
References QV4::Value::as(), CHECK_CONTEXT_SETTER, QV4::Heap::QQuickJSContext2D::context(), d, qt_is_finite(), qt_qnan(), RETURN_UNDEFINED, state, and QV4::Value::toNumber().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 1377 of file qquickcontext2d.cpp.
References QV4::Value::as(), CHECK_CONTEXT_SETTER, QPainter::CompositionMode_SourceOver, qt_composite_mode_from_string(), RETURN_UNDEFINED, THROW_TYPE_ERROR, and QV4::Value::toQString().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 1883 of file qquickcontext2d.cpp.
References CHECK_CONTEXT_SETTER, Qt::FlatCap, RETURN_UNDEFINED, Qt::RoundCap, Qt::SquareCap, QV4::Value::toQString(), and QV4::Encode::undefined().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 2130 of file qquickcontext2d.cpp.
References CHECK_CONTEXT_SETTER, qt_is_finite(), RETURN_UNDEFINED, and QV4::Value::toNumber().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 1944 of file qquickcontext2d.cpp.
References Qt::BevelJoin, CHECK_CONTEXT_SETTER, RETURN_UNDEFINED, Qt::RoundJoin, Qt::SvgMiterJoin, THROW_TYPE_ERROR, and QV4::Value::toQString().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 1984 of file qquickcontext2d.cpp.
References CHECK_CONTEXT_SETTER, qt_is_finite(), RETURN_UNDEFINED, and QV4::Value::toNumber().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 2013 of file qquickcontext2d.cpp.
References CHECK_CONTEXT_SETTER, qt_is_finite(), RETURN_UNDEFINED, and QV4::Value::toNumber().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 2160 of file qquickcontext2d.cpp.
References CHECK_CONTEXT_SETTER, qt_is_finite(), RETURN_UNDEFINED, and QV4::Value::toNumber().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 2188 of file qquickcontext2d.cpp.
References CHECK_CONTEXT_SETTER, qt_color_from_string(), and RETURN_UNDEFINED.
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 2221 of file qquickcontext2d.cpp.
References CHECK_CONTEXT_SETTER, qt_is_finite(), qt_qnan(), RETURN_UNDEFINED, and QV4::Value::toNumber().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 2249 of file qquickcontext2d.cpp.
References CHECK_CONTEXT_SETTER, qt_is_finite(), qt_qnan(), RETURN_UNDEFINED, and QV4::Value::toNumber().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 1553 of file qquickcontext2d.cpp.
References QV4::Value::as(), CHECK_CONTEXT_SETTER, QV4::Scope::engine, qt_color_from_string(), RETURN_UNDEFINED, QV4::ExecutionEngine::toVariant(), QV4::Value::undefinedValue(), QV4::StaticValue::value(), and QVariant::value().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 2892 of file qquickcontext2d.cpp.
References QQuickContext2D::Center, CHECK_CONTEXT_SETTER, QV4::Scoped< T >::Convert, QQuickContext2D::End, QV4::Scope::hasException(), QQuickContext2D::Left, RETURN_UNDEFINED, QQuickContext2D::Right, QQuickContext2D::Start, and QV4::Value::undefinedValue().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().
|
static |
Definition at line 2959 of file qquickcontext2d.cpp.
References QQuickContext2D::Alphabetic, QQuickContext2D::Bottom, CHECK_CONTEXT_SETTER, QV4::Scoped< T >::Convert, QQuickContext2D::Hanging, QV4::Scope::hasException(), QQuickContext2D::Middle, RETURN_UNDEFINED, QQuickContext2D::Top, and QV4::Value::undefinedValue().
Referenced by QQuickContext2DEngineData::QQuickContext2DEngineData().