Beispiel #1
0
 /// <summary>
 /// Set the color model.
 /// </summary>
 public void SetColorModel(CefColorModel colorModel)
 {
     cef_print_settings_t.set_color_model(_self, colorModel);
 }
 public static void set_color_model(cef_print_settings_t* self, CefColorModel model)
 {
     set_color_model_delegate d;
     var p = self->_set_color_model;
     if (p == _p14) { d = _d14; }
     else
     {
         d = (set_color_model_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_color_model_delegate));
         if (_p14 == IntPtr.Zero) { _d14 = d; _p14 = p; }
     }
     d(self, model);
 }