Platform Namespace
Namespace Avalonia.Platform
Types
- AlphaFormat - Describes how to interpret the alpha component of a pixel.
- AndroidWebViewEnvironmentRequestedEventArgs
- AppleWKWebViewEnvironmentRequestedEventArgs
- AssetLoader - Loads assets compiled into the application binary.
- ColorContrastPreference - System high contrast preference.
- DefaultPlatformSettings - A default implementation of Avalonia.Platform.IPlatformSettings for platforms.
- DetailedWebViewAdapterInfo
- DrawingContextImplExtensions
- FormFactorType
- GtkWebViewEnvironmentRequestedEventArgs
- IAndroidWebViewPlatformHandle
- IAppleWKWebViewPlatformHandle
- IAssetLoader - Loads assets compiled into the application binary.
- IBitmapImpl - Defines the platform-specific interface for a Avalonia.Media.Imaging.Bitmap.
- ICursorFactory
- ICursorImpl - Represents a platform implementation of a Avalonia.Input.Cursor.
- IDrawingContextImpl - Defines the interface through which drawing occurs.
- IDrawingContextImplWithEffects
- IDrawingContextLayerImpl
- IDrawingContextLayerWithRenderContextAffinityImpl
- IDrawingContextWithAcrylicLikeSupport
- IExternalObjectsHandleWrapRenderInterfaceContextFeature - This interface allows proper management of ref-counted platform handles. If we immediately wrap the handle, the caller can destroy its copy immediately after the call This is needed for MoltenVK-based users that can e.g. get an MTLSharedEvent from a VkSemaphore. This does NOT actually increase the ref-counter of MTLSharedEvent, since it's declared as __unsafe_unretained in vulkan headers. Same happens with exporting an IOSurfaceRef from a VkImage. So in a case when the VkSemaphore or VkImage is destroyed, the "handle" which is actually a pointer will be pointing to a dead object. To prevent this we need to increase the reference counter in a handle-specific means synchronously before returning control back to the user.
This is not needed for fds or DXGI handles, since those are created on demand as proper NT handles
- IExternalObjectsRenderInterfaceContextFeature
- IExternalObjectsWrappedGpuHandle
- IFontManagerImpl
- IGeometryContext - Describes a geometry using drawing commands.
- IGeometryImpl - Defines the platform-specific interface for a Avalonia.Media.Geometry.
- IGlyphRunImpl - An immutable platform representation of a Avalonia.Media.GlyphRun.
- IGtkWebViewPlatformHandle
- ILockedFramebuffer
- IMacOSTopLevelPlatformHandle
- INativePlatformHandleSurface
- IPlatformBehaviorInhibition - Allows to inhibit platform specific behavior.
- IPlatformGraphics
- IPlatformGraphicsContext
- IPlatformGraphicsReadyStateFeature
- IPlatformGraphicsWithFeatures
- IPlatformHandle - Represents a platform-specific handle.
- IPlatformIconLoader
- IPlatformLifetimeEventsImpl
- IPlatformRenderInterface - Defines the main platform-specific interface for the rendering subsystem.
- IPlatformRenderInterfaceContext
- IPlatformRenderInterfaceImportedImage
- IPlatformRenderInterfaceImportedObject
- IPlatformRenderInterfaceImportedSemaphore
- IPlatformRenderInterfaceRegion
- IPlatformSettings - The Avalonia.Platform.IPlatformSettings interface represents a contract for accessing platform-specific settings and information. Some of these settings might be changed by used globally in the OS in runtime.
- IPlatformThreadingInterface - Provides platform-specific services relating to threading.
- IPopupImpl - Defines a platform-specific popup window implementation.
- IReadableBitmapImpl
- IRenderTarget - Defines a render target
- IRenderTargetBitmapImpl - Defines the platform-specific interface for a Avalonia.Media.Imaging.RenderTargetBitmap.
- IRuntimePlatform
- IScopedResource<T>
- IScreenImpl
- IStreamGeometryContextImpl - Describes a geometry using drawing commands.
- IStreamGeometryImpl - Defines the platform-specific interface for a Avalonia.Media.StreamGeometry.
- ISystemNavigationManagerImpl
- ITextShaperImpl - An abstraction that is used produce shaped text.
- ITopLevelImpl - Defines a platform-specific top-level window implementation.
- ITransformedGeometryImpl - Represents a geometry with a transform applied.
- ITrayIconImpl
- ITrayIconWithIsTemplateImpl
- IWindowBaseImpl
- IWindowIconImpl
- IWindowImpl - Defines a platform-specific window implementation.
- IWindowingPlatform
- IWindowsWebView1PlatformHandle
- IWindowsWebView2PlatformHandle
- IWriteableBitmapImpl - Defines the platform-specific interface for a Avalonia.Media.Imaging.WriteableBitmap.
- KnownPlatformGraphicsExternalImageHandleTypes - Describes various GPU memory handle types that are currently supported by Avalonia graphics backends
- KnownPlatformGraphicsExternalSemaphoreHandleTypes - Describes various GPU semaphore handle types that are currently supported by Avalonia graphics backends
- LockedFramebuffer
- LtrbPixelRect - This struct is essentially the same thing as RECT from win32 API Unlike our "normal" PixelRect which is more human-readable and human-usable this struct is optimized for actual processing that doesn't really care about Width and Height but pretty much always only cares about Right and Bottom edge coordinates
Not having to constantly convert between Width/Height and Right/Bottom for no actual reason saves us some perf
This structure is intended to be mostly internal, but it's exposed as a PrivateApi type so it can be passed to the drawing backend when needed
- LtrbRect - This struct is essentially the same thing as MilRectD Unlike our "normal" Rect which is more human-readable and human-usable this struct is optimized for actual processing that doesn't really care about Width and Height but pretty much always only cares about Right and Bottom edge coordinates
Not having to constantly convert between Width/Height and Right/Bottom for no actual reason saves us some perf
This structure is intended to be mostly internal, but it's exposed as a PrivateApi type so it can be passed to the drawing backend when needed
- PixelFormat
- PixelFormats
- PlatformColorValues - Information about current system color values, including information about dark mode and accent colors.
- PlatformGraphicsContextLostException
- PlatformGraphicsDeviceAdapterDescription
- PlatformGraphicsExternalImageFormat
- PlatformGraphicsExternalImageProperties
- PlatformHandle - Represents a platform-specific handle.
- PlatformScreen
- PlatformThemeVariant - System theme variant or mode.
- RenderTargetDrawingContextProperties
- RenderTargetProperties
- RuntimePlatformInfo
- ScopedResource<T>
- Screen - Represents a single display screen.
- ScreenOrientation - Describes the orientation of a screen.
- ScreensBase<TKey, TScreen>
- StandardAssetLoader - Loads assets compiled into the application binary.
- StandardRuntimePlatform
- SurfaceOrientation
- WebViewAdapterInfo
- WebViewAdapterType
- WebViewEmbeddingScenario
- WebViewEngine
- WebViewPrintOrientation
- WebViewPrintSettings
- WindowsWebView1EnvironmentRequestedEventArgs
- WindowsWebView2EnvironmentRequestedEventArgs