Searched defs:SkScriptValue (Results 1 – 4 of 4) sorted by relevance
33 struct SkScriptValue { struct34 SkOperand fOperand;35 SkDisplayTypes fType;36 SkTypedArray* getArray() { SkASSERT(fType == SkType_Array); return fOperand.fArray; } in getArray()37 …playable* getDisplayable() { SkASSERT(fType == SkType_Displayable); return fOperand.fDisplayable; } in getDisplayable()38 SkADrawable* getDrawable() { SkASSERT(fType == SkType_Drawable); return fOperand.fDrawable; } in getDrawable()39 … int32_t getS32(SkAnimateMaker* maker) { SkASSERT(fType == SkType_Int || fType == SkType_Boolean || in getS32()41 SkMSec getMSec() { SkASSERT(fType == SkType_MSec); return fOperand.fMSec; } in getMSec()42 SkScalar getScalar() { SkASSERT(fType == SkType_Float); return fOperand.fScalar; } in getScalar()43 SkString* getString() { SkASSERT(fType == SkType_String); return fOperand.fString; } in getString()
90 SkScriptValue* ) { in executeFunction() argument
397 SkTDArray<SkScriptValue>& , SkDisplayTypes, SkScriptValue* ) { in executeFunction() argument505 bool SkDisplayable::setProperty(int index, SkScriptValue& ) { in setProperty() argument
146 bool SkDump::setProperty(int index, SkScriptValue&) { in setProperty() argument