{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- internal DefaultRuler(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.DefaultRuler_SWIGUpcast(cPtr), cMemoryOwn)
+ internal DefaultRuler(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.Ruler.DefaultRuler_SWIGUpcast(cPtr), cMemoryOwn)
{
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
if (swigCMemOwn)
{
swigCMemOwn = false;
- NDalicPINVOKE.delete_DefaultRuler(swigCPtr);
+ Interop.Ruler.delete_DefaultRuler(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
base.Dispose(type);
}
- public DefaultRuler() : this(NDalicPINVOKE.new_DefaultRuler(), true)
+ public DefaultRuler() : this(Interop.Ruler.new_DefaultRuler(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
public override float Snap(float x, float bias)
{
- float ret = NDalicPINVOKE.DefaultRuler_Snap(swigCPtr, x, bias);
+ float ret = Interop.Ruler.DefaultRuler_Snap(swigCPtr, x, bias);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override float GetPositionFromPage(uint page, out uint volume, bool wrap)
{
- float ret = NDalicPINVOKE.DefaultRuler_GetPositionFromPage(swigCPtr, page, out volume, wrap);
+ float ret = Interop.Ruler.DefaultRuler_GetPositionFromPage(swigCPtr, page, out volume, wrap);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override uint GetPageFromPosition(float position, bool wrap)
{
- uint ret = NDalicPINVOKE.DefaultRuler_GetPageFromPosition(swigCPtr, position, wrap);
+ uint ret = Interop.Ruler.DefaultRuler_GetPageFromPosition(swigCPtr, position, wrap);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override uint GetTotalPages()
{
- uint ret = NDalicPINVOKE.DefaultRuler_GetTotalPages(swigCPtr);
+ uint ret = Interop.Ruler.DefaultRuler_GetTotalPages(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}