Prämultiply-Effekt
Verwenden Sie diesen Effekt, um ein Bild von unpremultiplied alpha in premultiplied alpha zu konvertieren. Der Effekt ersetzt jedes Eingabepixel P = {R, G, B, A} P' = {R*A, G*A, B*A, A} durch in der Ausgabe.
Dieser Effekt hat keine Eigenschaften.
Die CLSID für diesen Effekt ist CLSID _ D2D1Premultiply.
Ausgabebitmap
Die Ausgabebitmapgröße entspricht der Größe der Eingabebitmap.
Requirements (Anforderungen)
| Anforderung | Wert |
|---|---|
| Unterstützte Mindestversion (Client) | Windows 8 und Plattformupdate für Windows 7 [ Desktop-Apps | Windows Store Apps] |
| Unterstützte Mindestversion (Server) | Windows 8 und Plattformupdate für Windows 7 [ Desktop-Apps | Windows Store Apps] |
| Header | d2d1effects.h |
| Bibliothek | d2d1.lib, dxguid.lib |