Lines Matching refs:info
229 bool SkAnimatorScript::EvalMemberCommon(SkScriptEngine* engine, const SkMemberInfo* info,
232 SkDisplayTypes type = original = (SkDisplayTypes) info->getType();
233 if (info->fType == SkType_Array)
242 SkASSERT(info->getCount() == 1);
243 if (info->fType != SkType_MemberProperty && info->fType != SkType_MemberFunction)
244 value->fOperand.fS32 = *(int32_t*) info->memberData(displayable); // OK for SkScalar too
252 if (info->fType != SkType_MemberProperty && info->fType != SkType_MemberFunction) {
253 info->getString(displayable, &displayableString);
258 SkASSERT(info->fType != SkType_MemberProperty); // !!! incomplete
259 SkTDOperandArray* displayableArray = (SkTDOperandArray*) info->memberData(displayable);
291 const SkMemberInfo* info = displayable->getMember(name.c_str());
292 if (info == NULL)
294 if (info->fType == SkType_MemberProperty) {
295 if (displayable->getProperty(info->propertyIndex(), value) == false) {
300 return EvalMemberCommon(engine, info, displayable, value);
308 const SkMemberInfo* info = displayable->getMember(name.c_str());
309 SkASSERT(info != NULL); /* !!! error handling unimplemented */
310 if (info->fType != SkType_MemberFunction) {
314 displayable->executeFunction(displayable, info->functionIndex(), params, info->getType(),
316 return EvalMemberCommon(engine, info, displayable, value);