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
QQuickJSContext2D Struct Reference
Inheritance diagram for QQuickJSContext2D:
Collaboration diagram for QQuickJSContext2D:

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 real 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 real 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 V4_NEEDS_DESTROY QV4::ReturnedValue method_get_globalAlpha (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc)
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)
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)
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)
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)
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)
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)
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)
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)
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)
static QV4::ReturnedValue method_get_shadowBlur (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc)
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)
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)
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)
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)
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)
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)
static QV4::ReturnedValue method_set_textBaseline (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc)
Static Public Member Functions inherited from QV4::Object
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 Public Member Functions inherited from QV4::Managed
static QString typeToString (Type)
Static Public Member Functions inherited from QV4::Value
static constexpr Value fromStaticValue (StaticValue staticValue)
static constexpr Value undefined ()
static Value fromHeapObject (HeapBasePtr m)
static bool toBooleanImpl (Value val)
static double toNumberImpl (Value v)
static Heap::StringtoString (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 Public Member Functions inherited from QV4::StaticValue
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)

Additional Inherited Members

Public Types inherited from QV4::Object
enum  { NInlineProperties = 2 }
enum  { IsObject = true , GetterOffset = 0 , SetterOffset = 1 }
enum  ThrowOnFailure { DoThrowOnRejection , DoNotThrow }
Public Types inherited from QV4::Managed
enum  {
  IsExecutionContext = false , IsString = false , IsStringOrSymbol = false , IsObject = false ,
  IsTailCallable = false , IsErrorObject = false , IsArrayData = false
}
enum  { NInlineProperties = 0 }
enum  Type {
  Type_Invalid , Type_String , Type_Object , Type_Symbol ,
  Type_ArrayObject , Type_FunctionObject , Type_GeneratorObject , Type_BooleanObject ,
  Type_NumberObject , Type_StringObject , Type_SymbolObject , Type_DateObject ,
  Type_RegExpObject , Type_ErrorObject , Type_ArgumentsObject , Type_JsonObject ,
  Type_MathObject , Type_ProxyObject , Type_UrlObject , Type_UrlSearchParamsObject ,
  Type_ExecutionContext , Type_InternalClass , Type_SetIteratorObject , Type_MapIteratorObject ,
  Type_ArrayIteratorObject , Type_StringIteratorObject , Type_ForInIterator , Type_RegExp ,
  Type_V4Sequence , Type_QmlListProperty , Type_V4QObjectWrapper , Type_QMLTypeWrapper ,
  Type_V4ReferenceObject , Type_QMLValueTypeWrapper , Type_MemberData , Type_ArrayData ,
  Type_StringOrSymbol
}
Public Types inherited from QV4::Value
using ManagedPtr = Managed *
Public Types inherited from QV4::StaticValue
enum class  TagBit {
  SpecialNegative = 0b10000000000000000000 << 12 , SpecialQNaN = 0b00000000000010000000 << 12 , Special = 0b00000000000001000000 << 12 , IntCompat = 0b00000000000000100000 << 12 ,
  Unmanaged = 0b00000000000000010000 << 12 , IntOrBool = 0b00000000000000001000 << 12 , Number = 0b00000000000000000100 << 12
}
enum  Type {
  Managed_Type = 0 , Double_Type = 1 , Undefined_Type = 2 , Empty_Type = quint32(TagBit::Unmanaged) ,
  Null_Type = Empty_Type | quint32(TagBit::IntCompat) , Boolean_Type = Null_Type | quint32(TagBit::IntOrBool) , Integer_Type = Boolean_Type | quint32(TagBit::Number)
}
enum  {
  Tag_Shift = 32 , IsIntegerConvertible_Shift = 48 , IsIntegerConvertible_Value = 3 , IsIntegerOrBool_Shift = 47 ,
  IsIntegerOrBool_Value = 7
}
enum class  QuickType : quint32 {
  Managed = Managed_Type , Empty = Empty_Type , Null = Null_Type , Boolean = Boolean_Type ,
  Integer = Integer_Type , PlusInf = quint32(TagBit::Number) | quint32(TagBit::Special) | quint32(TagBit::Unmanaged) , MinusInf = PlusInf | quint32(TagBit::SpecialNegative) , NaN = PlusInf | quint32(TagBit::SpecialQNaN) ,
  MinusNaN = NaN | quint32(TagBit::SpecialNegative)
}
enum  {
  QT_Empty = Empty_Type , QT_Null = Null_Type , QT_Bool = Boolean_Type , QT_Int = Integer_Type ,
  QuickType_Shift = Tag_Shift
}
using HeapBasePtr = Heap::Base *
using ValueTypeInternal = QuickType
Public Member Functions inherited from QV4::Object
void setInternalClass (Heap::InternalClass *ic)
const ValuepropertyData (uint index) const
Heap::ArrayData * arrayData () const
void setArrayData (ArrayData *a)
void getProperty (const InternalClassEntry &entry, Property *p) const
void setProperty (const InternalClassEntry &entry, const Property *p)
void setProperty (uint index, Value v) const
void setProperty (uint index, Heap::Base *b) const
void setProperty (ExecutionEngine *engine, uint index, Value v) const
void setProperty (ExecutionEngine *engine, uint index, Heap::Base *b) const
const VTablevtable () const
PropertyAttributes getOwnProperty (PropertyKey id, Property *p=nullptr) const
PropertyIndex getValueOrSetter (PropertyKey id, PropertyAttributes *attrs)
bool hasProperty (PropertyKey id) const
bool defineOwnProperty (PropertyKey id, const Property *p, PropertyAttributes attrs)
ReturnedValue getValue (const Value &v, PropertyAttributes attrs) const
ReturnedValue getValueByIndex (uint propertyIndex) const
bool putValue (uint memberIndex, PropertyAttributes attrs, const Value &value)
void defineDefaultProperty (StringOrSymbol *name, const Value &value, PropertyAttributes attributes=Attr_Data|Attr_NotEnumerable)
void defineDefaultProperty (const QString &name, const Value &value, PropertyAttributes attributes=Attr_Data|Attr_NotEnumerable)
void defineDefaultProperty (const QString &name, VTable::Call code, int argumentCount=0, PropertyAttributes attributes=Attr_Data|Attr_NotEnumerable)
void defineDefaultProperty (StringOrSymbol *name, VTable::Call code, int argumentCount=0, PropertyAttributes attributes=Attr_Data|Attr_NotEnumerable)
void defineAccessorProperty (const QString &name, VTable::Call getter, VTable::Call setter)
void defineAccessorProperty (StringOrSymbol *name, VTable::Call getter, VTable::Call setter)
void defineReadonlyProperty (const QString &name, const Value &value)
void defineReadonlyProperty (String *name, const Value &value)
void defineReadonlyConfigurableProperty (const QString &name, const Value &value)
void defineReadonlyConfigurableProperty (StringOrSymbol *name, const Value &value)
void addSymbolSpecies ()
void insertMember (StringOrSymbol *s, const Value &v, PropertyAttributes attributes=Attr_Data)
void insertMember (StringOrSymbol *s, const Property *p, PropertyAttributes attributes)
bool isExtensible () const
bool preventExtensions ()
Heap::Object * getPrototypeOf () const
bool setPrototypeOf (const Object *p)
void setPrototypeUnchecked (const Object *p)
void copyArrayData (Object *other)
bool setArrayLength (uint newLen)
void setArrayLengthUnchecked (uint l)
void arraySet (uint index, const Property *p, PropertyAttributes attributes=Attr_Data)
void arraySet (uint index, const Value &value)
bool arrayPut (uint index, const Value &value)
bool arrayPut (uint index, const Value *values, uint n)
void setArrayAttributes (uint i, PropertyAttributes a)
void push_back (const Value &v)
ArrayData::Type arrayType () const
void setArrayType (ArrayData::Type t)
void arrayReserve (uint n)
void arrayCreate ()
void initSparseArray ()
SparseArrayNodesparseBegin () const
SparseArrayNodesparseEnd () const
bool protoHasArray ()
ReturnedValue get (StringOrSymbol *name, bool *hasProperty=nullptr, const Value *receiver=nullptr) const
ReturnedValue get (uint idx, bool *hasProperty=nullptr, const Value *receiver=nullptr) const
QT_DEPRECATED ReturnedValue getIndexed (uint idx, bool *hasProperty=nullptr) const
ReturnedValue get (PropertyKey id, const Value *receiver=nullptr, bool *hasProperty=nullptr) const
bool put (StringOrSymbol *name, const Value &v, Value *receiver=nullptr)
bool put (uint idx, const Value &v, Value *receiver=nullptr)
QT_DEPRECATED bool putIndexed (uint idx, const Value &v)
bool put (PropertyKey id, const Value &v, Value *receiver=nullptr)
bool setIndexed (uint idx, const Value &v, ThrowOnFailure shouldThrow)
bool set (StringOrSymbol *name, const Value &v, ThrowOnFailure shouldThrow)
bool deleteProperty (PropertyKey id)
OwnPropertyKeyIteratorownPropertyKeys (Value *target) const
qint64 getLength () const
ReturnedValue instanceOf (const Value &var) const
bool isConcatSpreadable () const
bool isArray () const
const FunctionObjectspeciesConstructor (Scope &scope, const FunctionObject *defaultConstructor) const
bool setProtoFromNewTarget (const Value *newTarget)
ReturnedValue resolveLookupGetter (ExecutionEngine *engine, Lookup *lookup) const
bool resolveLookupSetter (ExecutionEngine *engine, Lookup *lookup, const Value &value)
int metacall (QMetaObject::Call call, int index, void **a)
Public Member Functions inherited from QV4::Managed
Heap::InternalClassinternalClass () const
const VTablevtable () const
ExecutionEngineengine () const
bool isV4SequenceType () const
bool isV4QObjectWrapper () const
bool isQmlListPropertyType () const
bool isArrayLike () const
bool isArrayObject () const
bool isStringObject () const
bool isSymbolObject () const
QString className () const
bool isEqualTo (const Managed *other) const
bool inUse () const
bool markBit () const
void mark (MarkStack *markStack)
Q_ALWAYS_INLINE Heap::BaseheapObject () const
template<typename T>
T * cast ()
template<typename T>
const T * cast () const
Public Member Functions inherited from QV4::Value
bool isString () const
bool isStringOrSymbol () const
bool isSymbol () const
bool isObject () const
bool isFunctionObject () const
QML_NEARLY_ALWAYS_INLINE StringstringValue () const
QML_NEARLY_ALWAYS_INLINE StringOrSymbolstringOrSymbolValue () const
QML_NEARLY_ALWAYS_INLINE SymbolsymbolValue () const
QML_NEARLY_ALWAYS_INLINE ObjectobjectValue () const
QML_NEARLY_ALWAYS_INLINE ManagedPtr managed () const
QML_NEARLY_ALWAYS_INLINE Value::HeapBasePtr heapObject () const
int toUInt16 () const
int toInt32 () const
unsigned int toUInt32 () const
qint64 toLength () const
qint64 toIndex () const
bool toBoolean () const
double toInteger () const
ReturnedValue convertedToNumber () const
double toNumber () const
double toNumberImpl () const
QString toQStringNoThrow () const
QString toQString () const
QString toQString (bool *ok) const
Heap::StringtoString (ExecutionEngine *e) const
QV4::PropertyKey toPropertyKey (ExecutionEngine *e) const
Heap::Object * toObject (ExecutionEngine *e) const
bool isPrimitive () const
template<typename T>
const T * as () const
template<typename T>
T * as ()
template<typename T>
T * cast ()
template<typename T>
const T * cast () const
uint asArrayLength (bool *ok) const
bool sameValue (Value other) const
bool sameValueZero (Value other) const
void mark (MarkStack *markStack)
Valueoperator= (const ScopedValue &v)
Valueoperator= (ReturnedValue v)
Valueoperator= (ManagedPtr m)
Valueoperator= (HeapBasePtr o)
template<typename T>
Valueoperator= (const Scoped< T > &t)
template<>
const ArrayObjectas () const
template<>
const FunctionObjectas () const
template<>
const StringOrSymbolas () const
template<>
const Stringas () const
template<>
const DateObjectas () const
template<>
const Managedas () const
template<>
const Objectas () const
template<>
const ErrorObjectas () const
template<>
const UrlObjectas () const
template<>
const UrlSearchParamsObjectas () const
Public Member Functions inherited from QV4::StaticValue
 StaticValue ()=default
constexpr StaticValue (quint64 val)
StaticValueoperator= (ReturnedValue v)
template<typename Value>
StaticValueoperator= (const Value &)
template<typename Value>
const ValueasValue () const
template<typename Value>
ValueasValue ()
QV4_NEARLY_ALWAYS_INLINE constexpr quint64rawValueRef ()
QV4_NEARLY_ALWAYS_INLINE constexpr quint64 rawValue () const
QV4_NEARLY_ALWAYS_INLINE constexpr void setRawValue (quint64 raw)
QV4_NEARLY_ALWAYS_INLINE constexpr void setTagValue (quint32 tag, quint32 value)
QV4_NEARLY_ALWAYS_INLINE constexpr quint32 value () const
QV4_NEARLY_ALWAYS_INLINE constexpr quint32 tag () const
QV4_NEARLY_ALWAYS_INLINE constexpr void setTag (quint32 tag)
QV4_NEARLY_ALWAYS_INLINE constexpr int int_32 () const
QV4_NEARLY_ALWAYS_INLINE constexpr void setInt_32 (int i)
QV4_NEARLY_ALWAYS_INLINE uint uint_32 () const
QV4_NEARLY_ALWAYS_INLINE constexpr void setEmpty ()
Type type () const
quint64 quickType () const
bool isEmpty () const
bool isNull () const
bool isBoolean () const
bool isInteger () const
bool isNullOrUndefined () const
bool isUndefined () const
bool isDouble () const
bool isNumber () const
bool isManagedOrUndefined () const
bool isManaged () const
bool isIntOrBool () const
bool integerCompatible () const
bool isNaN () const
bool isPositiveInt () const
QV4_NEARLY_ALWAYS_INLINE double doubleValue () const
QV4_NEARLY_ALWAYS_INLINE void setDouble (double d)
bool isInt32 ()
double asDouble () const
bool booleanValue () const
int integerValue () const
bool tryIntegerConversion ()
bool toBoolean () const
int toInt32 () const
ReturnedValuedata_ptr ()
constexpr ReturnedValue asReturnedValue () const
template<>
StaticValueoperator= (const Value &value)
template<typename Managed>
StaticValueoperator= (const Managed &m)
template<>
ValueasValue ()
template<>
const ValueasValue () const
Public Attributes inherited from QV4::StaticValue
quint64 _val
Static Public Attributes inherited from QV4::StaticValue
static constexpr quint64 ExponentMask = 0b0111111111110000ull << 48
static constexpr quint64 Top1Mask = 0b1000000000000000ull << 48
static constexpr quint64 Upper3Mask = 0b0000000000001110ull << 48
static constexpr quint64 Lower5Mask = 0b0000000000011111ull
static constexpr quint64 ManagedMask = ExponentMask | quint64(TagBit::Unmanaged) << Tag_Shift
static constexpr quint64 DoubleMask = ManagedMask | quint64(TagBit::Special) << Tag_Shift
static constexpr quint64 NumberMask = ManagedMask | quint64(TagBit::Number) << Tag_Shift
static constexpr quint64 IntOrBoolMask = ManagedMask | quint64(TagBit::IntOrBool) << Tag_Shift
static constexpr quint64 IntCompatMask = ManagedMask | quint64(TagBit::IntCompat) << Tag_Shift
static constexpr quint64 EncodeMask = DoubleMask | NumberMask
static constexpr quint64 DoubleDiscriminator = ((quint64(TagBit::Unmanaged) | quint64(TagBit::Special)) << Tag_Shift)
static constexpr quint64 NumberDiscriminator = ((quint64(TagBit::Unmanaged) | quint64(TagBit::Number)) << Tag_Shift)
Static Protected Member Functions inherited from QV4::Object
static ReturnedValue virtualGet (const Managed *m, PropertyKey id, const Value *receiver, bool *hasProperty)
static bool virtualPut (Managed *m, PropertyKey id, const Value &value, Value *receiver)
static bool virtualDeleteProperty (Managed *m, PropertyKey id)
static bool virtualHasProperty (const Managed *m, PropertyKey id)
static PropertyAttributes virtualGetOwnProperty (const Managed *m, PropertyKey id, Property *p)
static bool virtualDefineOwnProperty (Managed *m, PropertyKey id, const Property *p, PropertyAttributes attrs)
static bool virtualIsExtensible (const Managed *m)
static bool virtualPreventExtensions (Managed *)
static Heap::Object * virtualGetPrototypeOf (const Managed *)
static bool virtualSetPrototypeOf (Managed *, const Object *)
static OwnPropertyKeyIteratorvirtualOwnPropertyKeys (const Object *m, Value *target)
static qint64 virtualGetLength (const Managed *m)
static ReturnedValue virtualInstanceOf (const Object *typeObject, const Value &var)
static ReturnedValue virtualResolveLookupGetter (const Object *object, ExecutionEngine *engine, Lookup *lookup)
static bool virtualResolveLookupSetter (Object *object, ExecutionEngine *engine, Lookup *lookup, const Value &value)
static int virtualMetacall (Object *object, QMetaObject::Call call, int index, void **a)
Static Protected Member Functions inherited from QV4::Managed
static bool virtualIsEqualTo (Managed *m, Managed *other)
Static Protected Attributes inherited from QV4::VTableBase
static constexpr VTable::Destroy virtualDestroy = nullptr
static constexpr VTable::IsEqualTo virtualIsEqualTo = nullptr
static constexpr VTable::Get virtualGet = nullptr
static constexpr VTable::Put virtualPut = nullptr
static constexpr VTable::DeleteProperty virtualDeleteProperty = nullptr
static constexpr VTable::HasProperty virtualHasProperty = nullptr
static constexpr VTable::GetOwnProperty virtualGetOwnProperty = nullptr
static constexpr VTable::DefineOwnProperty virtualDefineOwnProperty = nullptr
static constexpr VTable::IsExtensible virtualIsExtensible = nullptr
static constexpr VTable::PreventExtensions virtualPreventExtensions = nullptr
static constexpr VTable::GetPrototypeOf virtualGetPrototypeOf = nullptr
static constexpr VTable::SetPrototypeOf virtualSetPrototypeOf = nullptr
static constexpr VTable::GetLength virtualGetLength = nullptr
static constexpr VTable::OwnPropertyKeys virtualOwnPropertyKeys = nullptr
static constexpr VTable::InstanceOf virtualInstanceOf = nullptr
static constexpr VTable::Call virtualCall = nullptr
static constexpr VTable::CallAsConstructor virtualCallAsConstructor = nullptr
static constexpr VTable::CallWithMetaTypes virtualCallWithMetaTypes = nullptr
static constexpr VTable::CallWithMetaTypes virtualConvertAndCall = nullptr
static constexpr VTable::ResolveLookupGetter virtualResolveLookupGetter = nullptr
static constexpr VTable::ResolveLookupSetter virtualResolveLookupSetter = nullptr
static constexpr VTable::Metacall virtualMetacall = nullptr

Detailed Description

Definition at line 525 of file qquickcontext2d.cpp.

Member Function Documentation

◆ method_get_fillRule() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_fillRule ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
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

Note
Unlike QPainterPath, the Canvas API uses the winding fill as the default fill rule. The fillRule property is part of the context rendering state.
See also
fillStyle

Definition at line 1498 of file qquickcontext2d.cpp.

◆ method_get_fillRule() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_fillRule ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_fillStyle() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_fillStyle ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
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

  • 'rgb(red, green, blue)' - for example: 'rgb(255, 100, 55)' or 'rgb(100%, 70%, 30%)'
  • 'rgba(red, green, blue, alpha)' - for example: 'rgb(255, 100, 55, 1.0)' or 'rgb(100%, 70%, 30%, 0.5)'
  • 'hsl(hue, saturation, lightness)'
  • 'hsla(hue, saturation, lightness, alpha)'
  • '#RRGGBB' - for example: '#00FFCC'
  • Qt.rgba(red, green, blue, alpha) - for example: Qt.rgba(0.3, 0.7, 1, 1.0) \endlist If the 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'.

See also
createLinearGradient()
createRadialGradient()
createPattern()
strokeStyle

Definition at line 1430 of file qquickcontext2d.cpp.

◆ method_get_fillStyle() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_fillStyle ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_font() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_font ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
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

  • font-style (optional): normal | italic | oblique
  • font-variant (optional): normal | small-caps
  • font-weight (optional): normal | bold | 1 ... 1000
  • font-size: Npx | Npt (where N is a positive number)
  • font-family: See \l {http://www.w3.org/TR/CSS2/fonts.html#propdef-font-family} \endlist
Note
The font-size and font-family properties are mandatory and must be in the order they are shown in above. In addition, a font family with spaces in its name must be quoted.

The default font value is "10px sans-serif".

Definition at line 2838 of file qquickcontext2d.cpp.

◆ method_get_font() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_font ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_globalAlpha() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_globalAlpha ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
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 1270 of file qquickcontext2d.cpp.

◆ method_get_globalAlpha() [2/2]

V4_NEEDS_DESTROY QV4::ReturnedValue QQuickJSContext2D::method_get_globalAlpha ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_globalCompositeOperation() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_globalCompositeOperation ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
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 1376 of file qquickcontext2d.cpp.

◆ method_get_globalCompositeOperation() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_globalCompositeOperation ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_lineCap() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_lineCap ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
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 1873 of file qquickcontext2d.cpp.

◆ method_get_lineCap() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_lineCap ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_lineDashOffset() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_lineDashOffset ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

\qmlproperty real QtQuick::Context2D::lineDashOffset

Since
QtQuick 2.11

Holds the current line dash offset. The default line dash offset value is 0.

See also
getLineDash(), setLineDash()

Definition at line 2129 of file qquickcontext2d.cpp.

◆ method_get_lineDashOffset() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_lineDashOffset ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_lineJoin() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_lineJoin ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
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 1934 of file qquickcontext2d.cpp.

◆ method_get_lineJoin() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_lineJoin ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_lineWidth() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_lineWidth ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
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 1983 of file qquickcontext2d.cpp.

◆ method_get_lineWidth() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_lineWidth ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_miterLimit() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_miterLimit ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

\qmlproperty real QtQuick::Context2D::miterLimit Holds the current miter limit ratio.

The default miter limit value is 10.0.

Definition at line 2012 of file qquickcontext2d.cpp.

◆ method_get_miterLimit() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_miterLimit ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_shadowBlur() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_shadowBlur ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

\qmlproperty real QtQuick::Context2D::shadowBlur Holds the current level of blur applied to shadows

Definition at line 2159 of file qquickcontext2d.cpp.

◆ method_get_shadowBlur() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_shadowBlur ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_shadowColor() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_shadowColor ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

\qmlproperty string QtQuick::Context2D::shadowColor Holds the current shadow color.

Definition at line 2187 of file qquickcontext2d.cpp.

◆ method_get_shadowColor() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_shadowColor ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_shadowOffsetX() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_shadowOffsetX ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

\qmlproperty real QtQuick::Context2D::shadowOffsetX Holds the current shadow offset in the positive horizontal distance.

See also
shadowOffsetY

Definition at line 2220 of file qquickcontext2d.cpp.

◆ method_get_shadowOffsetX() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_shadowOffsetX ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_shadowOffsetY() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_shadowOffsetY ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

\qmlproperty real QtQuick::Context2D::shadowOffsetY Holds the current shadow offset in the positive vertical distance.

See also
shadowOffsetX

Definition at line 2248 of file qquickcontext2d.cpp.

◆ method_get_shadowOffsetY() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_shadowOffsetY ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_strokeStyle() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_strokeStyle ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
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'.

See also
createLinearGradient()
createRadialGradient()
createPattern()
fillStyle

Definition at line 1540 of file qquickcontext2d.cpp.

◆ method_get_strokeStyle() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_strokeStyle ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_textAlign() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_textAlign ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
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 2878 of file qquickcontext2d.cpp.

References QQuickContext2D::Start.

◆ method_get_textAlign() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_textAlign ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_get_textBaseline() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_textBaseline ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
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 2945 of file qquickcontext2d.cpp.

◆ method_get_textBaseline() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_get_textBaseline ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_fillRule() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_fillRule ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 1507 of file qquickcontext2d.cpp.

◆ method_set_fillRule() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_fillRule ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_fillStyle() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_fillStyle ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 1451 of file qquickcontext2d.cpp.

◆ method_set_fillStyle() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_fillStyle ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_font() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_font ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 2847 of file qquickcontext2d.cpp.

◆ method_set_font() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_font ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_globalAlpha() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_globalAlpha ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 1279 of file qquickcontext2d.cpp.

◆ method_set_globalAlpha() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_globalAlpha ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_globalCompositeOperation() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_globalCompositeOperation ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 1385 of file qquickcontext2d.cpp.

◆ method_set_globalCompositeOperation() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_globalCompositeOperation ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_lineCap() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_lineCap ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 1891 of file qquickcontext2d.cpp.

◆ method_set_lineCap() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_lineCap ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_lineDashOffset() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_lineDashOffset ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 2138 of file qquickcontext2d.cpp.

◆ method_set_lineDashOffset() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_lineDashOffset ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_lineJoin() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_lineJoin ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 1952 of file qquickcontext2d.cpp.

◆ method_set_lineJoin() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_lineJoin ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_lineWidth() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_lineWidth ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 1992 of file qquickcontext2d.cpp.

◆ method_set_lineWidth() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_lineWidth ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_miterLimit() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_miterLimit ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 2021 of file qquickcontext2d.cpp.

◆ method_set_miterLimit() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_miterLimit ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_shadowBlur() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_shadowBlur ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 2168 of file qquickcontext2d.cpp.

◆ method_set_shadowBlur() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_shadowBlur ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_shadowColor() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_shadowColor ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 2196 of file qquickcontext2d.cpp.

◆ method_set_shadowColor() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_shadowColor ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_shadowOffsetX() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_shadowOffsetX ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 2229 of file qquickcontext2d.cpp.

◆ method_set_shadowOffsetX() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_shadowOffsetX ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_shadowOffsetY() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_shadowOffsetY ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 2257 of file qquickcontext2d.cpp.

◆ method_set_shadowOffsetY() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_shadowOffsetY ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_strokeStyle() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_strokeStyle ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 1561 of file qquickcontext2d.cpp.

◆ method_set_strokeStyle() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_strokeStyle ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_textAlign() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_textAlign ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_textAlign() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_textAlign ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

◆ method_set_textBaseline() [1/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_textBaseline ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

Definition at line 2967 of file qquickcontext2d.cpp.

◆ method_set_textBaseline() [2/2]

QV4::ReturnedValue QQuickJSContext2D::method_set_textBaseline ( const QV4::FunctionObject * b,
const QV4::Value * thisObject,
const QV4::Value * argv,
int argc )
static

The documentation for this struct was generated from the following file: