* Factory::CreateWrappingDataSourceSurface() – Creates a DataSourceSurface to wrap an existing buffer.
{ Diagram showing relationship between concrete implementations and Each backend provides its own implementation of these interfaces however client code always using Direct2D as an example }the backend-independent interfaces.
The implementation of these interfaces typically takes the following form:
<p style="text-align:center">
[[Image:Source-surface-backend.png|SourceSurfaceD2D implements SourceSurface and DataSourceSurfaceD2D implements DataSourceSurface]]
</p>
=== Draw targets ===