public static DDPicture Wrapper(Func <int> getHandle, int w, int h) { DDPicture.PictureInfo info = new DDPicture.PictureInfo() { Handle = -1, W = w, H = h, }; return(new PictureWrapper() { Func_GetHandle = getHandle, Info = info, }); }
public static void ReleaseInfo(DDPicture.PictureInfo info) { ReleaseGraphicHandle(info.Handle); }