windows_graphics library

Provides access to WinRT APIs from the Windows.Graphics namespace using FFI.

Classes

BitmapBounds
Specifies a bounding rectangle.
BitmapBuffer
Represents the pixel data buffer of a bitmap.
BitmapCodecInformation
Provides access to information about a decoder or encoder.
BitmapDecoder
Provides read access to bitmap container data as well as data from the first frame.
BitmapFrame
Provides read access to data within a single frame.
BitmapPlaneDescription
Defines the format of a bitmap plane.
BitmapPropertiesView
Provides read access to image properties and metadata. A particular instance of BitmapPropertiesView may represent the entire contents of the frame metadata, or any nested metadata block within the frame.
BitmapPropertySet
Represents a property set of BitmapTypedValue objects.
BitmapSize
Represents the size of a bitmap, in pixels.
BitmapTransform
Contains transformations that can be applied to pixel data.
BitmapTypedValue
A value along with an enumeration specifying its data type.
Direct3DMultisampleDescription
This is a Windows Runtime equivalent of the Desktop DXGI_SAMPLE_DESC structure.
Direct3DSurfaceDescription
This is a Windows Runtime equivalent of the Desktop DXGI_SURFACE_DESC structure. Describes an IDirect3DSurface.
DisplayAdapterId
Corresponds to the LUID (Locally Unique Identifier) associated with a graphics adapter.
HolographicStereoTransform
Contains view or projection transforms for stereo rendering. One transform is for the left display, and the other is for the right display.
IBitmapBuffer
IBitmapCodecInformation
IBitmapDecoder
IBitmapFrame
IBitmapFrameWithSoftwareBitmap
IBitmapPropertiesView
IBitmapTransform
IBitmapTypedValue
IDirect3DDevice
This represents an IDXGIDevice, and can be used to interop between Windows Runtime components that need to exchange IDXGIDevice references.
IDirect3DSurface
This represents an IDXGISurface and can be used to interop between Windows Runtime components that need to exchange IDXGISurface references.
ImageStream
An implementation of IRandomAccessStreamWithContent type used in the Imaging namespace.
IPixelDataProvider
IPrinting3DMultiplePropertyMaterial
ISoftwareBitmap
NitRange
Describes the minimum, maximum, and step size you can use when using nits to describe brightness on a device.
PixelDataProvider
Provides access to the pixel data from a bitmap frame.
Printing3DMultiplePropertyMaterial
Represents a combination of properties and/or materials from the material groups specified in MaterialGroupIndices.
RectInt32
Defines the size and location of a rectangular surface.
SizeInt32
Defines the height and wide of a surface in a two-dimensional plane.
SoftwareBitmap
Represents an uncompressed bitmap.

Enums

BitmapAlphaMode
Specifies the alpha mode of pixel data.
BitmapBufferAccessMode
Specifies the access mode of a BitmapBuffer.
BitmapFlip
Specifies the flip operation to be performed on pixel data.
BitmapInterpolationMode
Specifies the interpolation mode used for scaling pixel data.
BitmapPixelFormat
Specifies the pixel format of pixel data. Each enumeration value defines a channel ordering, bit depth, and data type.
BitmapRotation
Specifies the rotation operation to be performed on pixel data.
ColorManagementMode
Specifies the color management behavior when obtaining pixel data.
DirectXPixelFormat
Specifies pixel formats, which includes fully-typed and type-less formats. This is a Windows Runtime equivalent of the Desktop DXGI_FORMAT enumeration.
ExifOrientationMode
Specifies the EXIF orientation flag behavior when obtaining pixel data.
PrintColorMode
Specifies the color mode option.