Confirmed users
166
edits
Line 79: | Line 79: | ||
* Factory::CreateWrappingDataSourceSurface() – Creates a DataSourceSurface to wrap an existing buffer. | * Factory::CreateWrappingDataSourceSurface() – Creates a DataSourceSurface to wrap an existing buffer. | ||
Each backend provides its own implementation of these interfaces however client code always using 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 === | === Draw targets === |