Пример #1
0
        public void draw(DrawRequest r)
        {
            ADLDrawRequest nativeR = r.toNative();

            nativeR.rendererId   = _rendererId;
            nativeR.windowHandle = r.hdc;
            NativeAPI.adl_draw(_platformHandle, ref nativeR);
        }
Пример #2
0
 internal ADLDrawRequest toNative()
 {
     ADLDrawRequest nReq = new ADLDrawRequest();
     nReq.bottom = bottom;
     nReq.top = top;
     nReq.left = left;
     nReq.right = right;
     nReq.windowHandle = hdc;
     return nReq;
 }
Пример #3
0
        internal ADLDrawRequest toNative()
        {
            ADLDrawRequest nReq = new ADLDrawRequest();

            nReq.bottom       = bottom;
            nReq.top          = top;
            nReq.left         = left;
            nReq.right        = right;
            nReq.windowHandle = hdc;
            return(nReq);
        }
 public static extern void adl_draw(ADLH handle,
     ref ADLDrawRequest request);
 public static extern void adl_draw(ADLH handle,
                                    ref ADLDrawRequest request);