namespace Dali {
-public class PixelData : BaseHandle {
+internal class PixelData : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal PixelData(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PixelData_SWIGUpcast(cPtr), cMemoryOwn) {
}
public override void Dispose() {
- if (!Stage.IsInstalled()) {
+ if (!Window.IsInstalled()) {
DisposeQueue.Instance.Add(this);
return;
}
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public PixelData(PixelData handle) : this(NDalicPINVOKE.new_PixelData__SWIG_1(PixelData.getCPtr(handle)), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public PixelData Assign(PixelData rhs) {
- PixelData ret = new PixelData(NDalicPINVOKE.PixelData_Assign(swigCPtr, PixelData.getCPtr(rhs)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
public uint GetWidth() {
uint ret = NDalicPINVOKE.PixelData_GetWidth(swigCPtr);