X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-script-v8%2Fsrc%2Factors%2Fimage-actor-api.cpp;h=d8644a5f233bd1e67aac09f874bec1c13285f6bb;hp=9a30b21a04b21489dd9ad82adc5439011d1a67f9;hb=c386ab67713f45fadefd131e047bcab65a00e8da;hpb=49d19ee29f45a10b3af4250aefc66985ea6a0b17 diff --git a/plugins/dali-script-v8/src/actors/image-actor-api.cpp b/plugins/dali-script-v8/src/actors/image-actor-api.cpp index 9a30b21..d8644a5 100644 --- a/plugins/dali-script-v8/src/actors/image-actor-api.cpp +++ b/plugins/dali-script-v8/src/actors/image-actor-api.cpp @@ -150,40 +150,6 @@ void ImageActorApi::GetImage( const v8::FunctionCallbackInfo& args ) args.GetReturnValue().Set( localObject ); } -/** - * Query whether a pixel area has been set. - * @for ImageActor - * @method isPixelAreaSet - * @return {Boolean} True if a pixel area has been set. - */ -void ImageActorApi::IsPixelAreaSet( const v8::FunctionCallbackInfo& args ) -{ - v8::Isolate* isolate = args.GetIsolate(); - v8::HandleScope handleScope( isolate ); - ImageActor imageActor = GetImageActor( isolate, args ); - - args.GetReturnValue().Set( v8::Boolean::New( isolate, imageActor.IsPixelAreaSet() ) ); -} - -/** - * Remove any pixel areas specified with SetPixelArea; the entire image will be displayed. - * - * The actor size will change to that of the Image unless a custom size was set, e.g. via - * actor.size - * @for ImageActor - * @method clearPixelArea - */ -void ImageActorApi::ClearPixelArea( const v8::FunctionCallbackInfo& args ) -{ - v8::Isolate* isolate = args.GetIsolate(); - v8::HandleScope handleScope( isolate ); - ImageActor imageActor = GetImageActor( isolate, args ); - - imageActor.ClearPixelArea(); -} - - - } // namespace V8Plugin } // namespace Dali