mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-04-05 17:37:51 +08:00
22 lines
442 B
C#
22 lines
442 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace CPF.Skia
|
|
{
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
internal struct XVisualInfo
|
|
{
|
|
public IntPtr visual;
|
|
public IntPtr visualid;
|
|
public int screen;
|
|
public int depth;
|
|
public XVisualClass c_class;
|
|
public ulong red_mask;
|
|
public ulong green_mask;
|
|
public ulong blue_mask;
|
|
public int colormap_size;
|
|
public int bits_per_rgb;
|
|
}
|
|
}
|