ID2D1RenderTarget::FillOpacityMask methods
Applies the opacity mask described by the specified bitmap to a brush and uses that brush to paint a region of the render target.
Overload list
Method | Description |
---|---|
FillOpacityMask(ID2D1Bitmap*,ID2D1Brush*,D2D1_OPACITY_MASK_CONTENT,D2D_RECT_F&,D2D_RECT_F&) | Applies the opacity mask described by the specified bitmap to a brush and uses that brush to paint a region of the render target. |
FillOpacityMask(ID2D1Bitmap*,ID2D1Brush*,D2D1_OPACITY_MASK_CONTENT,D2D_RECT_F*,D2D_RECT_F*) | Applies the opacity mask described by the specified bitmap to a brush and uses that brush to paint a region of the render target. |
Remarks
For this method to work properly, the render target must be using the D2D1_ANTIALIAS_MODE_ALIASED antialiasing mode. You can set the antialiasing mode by calling the ID2D1RenderTarget::SetAntialiasMode method.
This method doesn't return an error code if it fails. To determine whether a drawing operation (such as FillOpacityMask) failed, check the result returned by the ID2D1RenderTarget::EndDraw or ID2D1RenderTarget::Flush methods.
Requirements
Requirement | Value |
---|---|
Library |
|
DLL |
|
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για