2 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 %define DALI_RECTINTEGER_PROPERTY_PARAM(NameSpace,ClassName)
19 %typemap(cscode) NameSpace::ClassName %{
23 NDalicPINVOKE.RectInteger_x_set(swigCPtr, value);
24 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
27 int ret = NDalicPINVOKE.RectInteger_x_get(swigCPtr);
28 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
35 NDalicPINVOKE.RectInteger_y_set(swigCPtr, value);
36 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
39 int ret = NDalicPINVOKE.RectInteger_y_get(swigCPtr);
40 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
47 NDalicPINVOKE.RectInteger_width_set(swigCPtr, value);
48 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
51 int ret = NDalicPINVOKE.RectInteger_width_get(swigCPtr);
52 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
59 NDalicPINVOKE.RectInteger_height_set(swigCPtr, value);
60 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
63 int ret = NDalicPINVOKE.RectInteger_height_get(swigCPtr);
64 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
75 DALI_RECTINTEGER_PROPERTY_PARAM( Dali, Rect<int>);