Harlinn.Windows 0.1
|
This class performs all the same functions as the DeviceContext2 class, plus it enables functionality for creating and drawing sprite batches. More...
#include <HWGraphics.h>
Private Member Functions | |
void | CreateSpriteBatch (ID2D1SpriteBatch **spriteBatch) const |
Creates a new, empty sprite batch. After creating a sprite batch, use SpriteBatch::AddSprites to add sprites to it, then use DeviceContext3::DrawSpriteBatch to draw it. | |
SpriteBatch | CreateSpriteBatch () const |
void | DrawSpriteBatch (_In_ ID2D1SpriteBatch *spriteBatch, UINT32 startIndex, UINT32 spriteCount, _In_ ID2D1Bitmap *bitmap, D2D1_BITMAP_INTERPOLATION_MODE interpolationMode=D2D1_BITMAP_INTERPOLATION_MODE_LINEAR, D2D1_SPRITE_OPTIONS spriteOptions=D2D1_SPRITE_OPTIONS_NONE) const |
Renders all sprites in the given sprite batch to the device context using the specified drawing options. | |
void | DrawSpriteBatch (const SpriteBatch &spriteBatch, UINT32 startIndex, UINT32 spriteCount, const Bitmap &bitmap, D2D1_BITMAP_INTERPOLATION_MODE interpolationMode=D2D1_BITMAP_INTERPOLATION_MODE_LINEAR, D2D1_SPRITE_OPTIONS spriteOptions=D2D1_SPRITE_OPTIONS_NONE) const |
void | DrawSpriteBatch (_In_ ID2D1SpriteBatch *spriteBatch, _In_ ID2D1Bitmap *bitmap, D2D1_BITMAP_INTERPOLATION_MODE interpolationMode=D2D1_BITMAP_INTERPOLATION_MODE_LINEAR, D2D1_SPRITE_OPTIONS spriteOptions=D2D1_SPRITE_OPTIONS_NONE) const |
Draws all sprites in a sprite batch. | |
void | DrawSpriteBatch (const SpriteBatch &spriteBatch, const Bitmap &bitmap, D2D1_BITMAP_INTERPOLATION_MODE interpolationMode=D2D1_BITMAP_INTERPOLATION_MODE_LINEAR, D2D1_SPRITE_OPTIONS spriteOptions=D2D1_SPRITE_OPTIONS_NONE) const |
Additional Inherited Members | |
![]() | |
using | Base = DeviceContext1 |
![]() | |
using | Base = DeviceContext |
![]() | |
typedef RenderTarget | Base |
![]() | |
typedef Resource | Base |
![]() | |
typedef IUnknown | InterfaceType |
![]() | |
void | CreateInk (const D2D1_INK_POINT *startPoint, ID2D1Ink **ink) const |
Creates a new ID2D1Ink object that starts at the given point. | |
void | CreateInk (const D2D1_INK_POINT &startPoint, ID2D1Ink **ink) const |
Ink | CreateInk (const D2D1_INK_POINT *startPoint) const |
Ink | CreateInk (const D2D1_INK_POINT &startPoint) const |
void | CreateInkStyle (const D2D1_INK_STYLE_PROPERTIES *inkStyleProperties, ID2D1InkStyle **inkStyle) const |
Creates a new ID2D1InkStyle object, for use with ink rendering methods such as DrawInk. | |
void | CreateInkStyle (const D2D1_INK_STYLE_PROPERTIES &inkStyleProperties, ID2D1InkStyle **inkStyle) const |
void | CreateInkStyle (ID2D1InkStyle **inkStyle) const |
InkStyle | CreateInkStyle (const D2D1_INK_STYLE_PROPERTIES *inkStyleProperties=nullptr) const |
InkStyle | CreateInkStyle (const D2D1_INK_STYLE_PROPERTIES &inkStyleProperties) const |
void | CreateGradientMesh (const D2D1_GRADIENT_MESH_PATCH *patches, UINT32 patchesCount, ID2D1GradientMesh **gradientMesh) const |
Creates a new GradientMesh (ID2D1GradientMesh) instance using the given array of patches. | |
GradientMesh | CreateGradientMesh (const D2D1_GRADIENT_MESH_PATCH *patches, UINT32 patchesCount) const |
void | CreateImageSourceFromWic (IWICBitmapSource *wicBitmapSource, D2D1_IMAGE_SOURCE_LOADING_OPTIONS loadingOptions, D2D1_ALPHA_MODE alphaMode, ID2D1ImageSourceFromWic **imageSource) const |
HW_EXPORT void | CreateImageSourceFromWic (const Imaging::BitmapSource &wicBitmapSource, D2D1_IMAGE_SOURCE_LOADING_OPTIONS loadingOptions, D2D1_ALPHA_MODE alphaMode, ID2D1ImageSourceFromWic **imageSource) const |
ImageSourceFromWic | CreateImageSourceFromWic (IWICBitmapSource *wicBitmapSource, D2D1_IMAGE_SOURCE_LOADING_OPTIONS loadingOptions=D2D1_IMAGE_SOURCE_LOADING_OPTIONS_NONE, D2D1_ALPHA_MODE alphaMode=D2D1_ALPHA_MODE_UNKNOWN) const |
HW_EXPORT ImageSourceFromWic | CreateImageSourceFromWic (const Imaging::BitmapSource &wicBitmapSource, D2D1_IMAGE_SOURCE_LOADING_OPTIONS loadingOptions=D2D1_IMAGE_SOURCE_LOADING_OPTIONS_NONE, D2D1_ALPHA_MODE alphaMode=D2D1_ALPHA_MODE_UNKNOWN) const |
void | CreateLookupTable3D (D2D1_BUFFER_PRECISION precision, const UINT32 *extents, const BYTE *data, UINT32 dataCount, const UINT32 *strides, ID2D1LookupTable3D **lookupTable) const |
Creates a 3D lookup table for mapping a 3-channel input to a 3-channel output. The table data must be provided in 4-channel format. | |
LookupTable3D | CreateLookupTable3D (D2D1_BUFFER_PRECISION precision, const UINT32 *extents, const BYTE *data, UINT32 dataCount, const UINT32 *strides) const |
void | CreateImageSourceFromDxgi (IDXGISurface **surfaces, UINT32 surfaceCount, DXGI_COLOR_SPACE_TYPE colorSpace, D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS options, ID2D1ImageSource **imageSource) const |
Creates an image source from a set of DXGI surface(s). The YCbCr surface(s) are converted to RGBA automatically during subsequent drawing. | |
ImageSource | CreateImageSourceFromDxgi (IDXGISurface **surfaces, UINT32 surfaceCount, DXGI_COLOR_SPACE_TYPE colorSpace=DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709, D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS options=D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_NONE) const |
ImageSource | CreateImageSourceFromDxgi (const DXGI::Surface &surface, DXGI_COLOR_SPACE_TYPE colorSpace=DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709, D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS options=D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_NONE) const |
ImageSource | CreateImageSourceFromDxgi (const DXGI::Surface *surfaces, UINT32 surfaceCount, DXGI_COLOR_SPACE_TYPE colorSpace=DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709, D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS options=D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_NONE) const |
void | GetGradientMeshWorldBounds (ID2D1GradientMesh *gradientMesh, D2D1_RECT_F *bounds) const |
Retrieves the world-space bounds in DIPs of the gradient mesh using the device context DPI. | |
void | GetGradientMeshWorldBounds (ID2D1GradientMesh *gradientMesh, D2D1_RECT_F &bounds) const |
void | GetGradientMeshWorldBounds (const GradientMesh &gradientMesh, D2D1_RECT_F *bounds) const |
void | GetGradientMeshWorldBounds (const GradientMesh &gradientMesh, D2D1_RECT_F &bounds) const |
void | DrawInk (ID2D1Ink *ink, ID2D1Brush *brush, ID2D1InkStyle *inkStyle=nullptr) const |
Renders the given ink object using the given brush and ink style. | |
void | DrawInk (const Ink &ink, ID2D1Brush *brush, ID2D1InkStyle *inkStyle=nullptr) const |
void | DrawInk (const Ink &ink, const Brush &brush, ID2D1InkStyle *inkStyle=nullptr) const |
void | DrawInk (const Ink &ink, const Brush &brush, const InkStyle &inkStyle) const |
void | DrawGradientMesh (ID2D1GradientMesh *gradientMesh) const |
Renders a given gradient mesh to the target. | |
void | DrawGradientMesh (const GradientMesh &gradientMesh) const |
void | DrawGdiMetafile (ID2D1GdiMetafile *gdiMetafile, const D2D1_RECT_F *destinationRectangle=nullptr, const D2D1_RECT_F *sourceRectangle=nullptr) const |
Draws a metafile to the device context using the given source and destination rectangles. | |
void | DrawGdiMetafile (const GdiMetafile &gdiMetafile, const D2D1_RECT_F *destinationRectangle=nullptr, const D2D1_RECT_F *sourceRectangle=nullptr) const |
void | DrawGdiMetafile (ID2D1GdiMetafile *gdiMetafile, const D2D1_RECT_F &destinationRectangle, const D2D1_RECT_F *sourceRectangle=nullptr) const |
void | DrawGdiMetafile (const GdiMetafile &gdiMetafile, const D2D1_RECT_F &destinationRectangle, const D2D1_RECT_F *sourceRectangle=nullptr) const |
void | DrawGdiMetafile (ID2D1GdiMetafile *gdiMetafile, const D2D1_RECT_F &destinationRectangle, const D2D1_RECT_F &sourceRectangle) const |
void | DrawGdiMetafile (const GdiMetafile &gdiMetafile, const D2D1_RECT_F &destinationRectangle, const D2D1_RECT_F &sourceRectangle) const |
void | CreateTransformedImageSource (ID2D1ImageSource *imageSource, const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES *properties, ID2D1TransformedImageSource **transformedImageSource) const |
Creates an image source which shares resources with an original. | |
void | CreateTransformedImageSource (ID2D1ImageSource *imageSource, const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES &properties, ID2D1TransformedImageSource **transformedImageSource) const |
void | CreateTransformedImageSource (const ImageSource &imageSource, const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES *properties, ID2D1TransformedImageSource **transformedImageSource) const |
void | CreateTransformedImageSource (const ImageSource &imageSource, const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES &properties, ID2D1TransformedImageSource **transformedImageSource) const |
TransformedImageSource | CreateTransformedImageSource (ID2D1ImageSource *imageSource, const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES *properties) const |
TransformedImageSource | CreateTransformedImageSource (ID2D1ImageSource *imageSource, const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES &properties) const |
TransformedImageSource | CreateTransformedImageSource (const ImageSource &imageSource, const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES *properties) const |
TransformedImageSource | CreateTransformedImageSource (const ImageSource &imageSource, const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES &properties) const |
![]() | |
void | CreateFilledGeometryRealization (ID2D1Geometry *geometry, FLOAT flatteningTolerance, ID2D1GeometryRealization **geometryRealization) const |
Creates a device-dependent representation of the fill of the geometry that can be subsequently rendered. | |
void | CreateFilledGeometryRealization (const Geometry &geometry, FLOAT flatteningTolerance, ID2D1GeometryRealization **geometryRealization) const |
GeometryRealization | CreateFilledGeometryRealization (ID2D1Geometry *geometry, FLOAT flatteningTolerance=D2D1_DEFAULT_FLATTENING_TOLERANCE) const |
GeometryRealization | CreateFilledGeometryRealization (const Geometry &geometry, FLOAT flatteningTolerance=D2D1_DEFAULT_FLATTENING_TOLERANCE) const |
void | CreateStrokedGeometryRealization (ID2D1Geometry *geometry, FLOAT flatteningTolerance, FLOAT strokeWidth, ID2D1StrokeStyle *strokeStyle, ID2D1GeometryRealization **geometryRealization) const |
Creates a device-dependent representation of the stroke of a geometry that can be subsequently rendered. | |
void | CreateStrokedGeometryRealization (const Geometry &geometry, FLOAT flatteningTolerance, FLOAT strokeWidth, const StrokeStyle &strokeStyle, ID2D1GeometryRealization **geometryRealization) const |
void | CreateStrokedGeometryRealization (ID2D1Geometry *geometry, FLOAT flatteningTolerance, FLOAT strokeWidth, ID2D1GeometryRealization **geometryRealization) const |
void | CreateStrokedGeometryRealization (const Geometry &geometry, FLOAT flatteningTolerance, FLOAT strokeWidth, ID2D1GeometryRealization **geometryRealization) const |
GeometryRealization | CreateStrokedGeometryRealization (ID2D1Geometry *geometry, FLOAT flatteningTolerance, FLOAT strokeWidth, ID2D1StrokeStyle *strokeStyle=nullptr) const |
GeometryRealization | CreateStrokedGeometryRealization (const Geometry &geometry, FLOAT flatteningTolerance, FLOAT strokeWidth, ID2D1StrokeStyle *strokeStyle=nullptr) const |
GeometryRealization | CreateStrokedGeometryRealization (const Geometry &geometry, FLOAT flatteningTolerance, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
GeometryRealization | CreateStrokedGeometryRealization (ID2D1Geometry *geometry, FLOAT strokeWidth, ID2D1StrokeStyle *strokeStyle=nullptr) const |
GeometryRealization | CreateStrokedGeometryRealization (const Geometry &geometry, FLOAT strokeWidth, ID2D1StrokeStyle *strokeStyle=nullptr) const |
GeometryRealization | CreateStrokedGeometryRealization (const Geometry &geometry, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawGeometryRealization (ID2D1GeometryRealization *geometryRealization, ID2D1Brush *brush) const |
Renders a given geometry realization to the target with the specified brush. | |
void | DrawGeometryRealization (ID2D1GeometryRealization *geometryRealization, const Brush &brush) const |
void | DrawGeometryRealization (const GeometryRealization &geometryRealization, ID2D1Brush *brush) const |
void | DrawGeometryRealization (const GeometryRealization &geometryRealization, const Brush &brush) const |
![]() | |
void | CreateBitmap (const D2D1_SIZE_U &size, const void *sourceData, UINT32 pitch, const D2D1_BITMAP_PROPERTIES1 *bitmapProperties, ID2D1Bitmap1 **bitmap) const |
Creates a bitmap that can be used as a target surface, for reading back to the CPU, or as a source for the DrawBitmap and BitmapBrush APIs. In addition, color context information can be passed to the bitmap. | |
void | CreateBitmap (const D2D1_SIZE_U &size, const void *sourceData, UINT32 pitch, const D2D1_BITMAP_PROPERTIES1 &bitmapProperties, ID2D1Bitmap1 **bitmap) const |
void | CreateBitmap (const D2D1_SIZE_U &size, const void *sourceData, const D2D1_BITMAP_PROPERTIES1 *bitmapProperties, ID2D1Bitmap1 **bitmap) const |
void | CreateBitmap (const D2D1_SIZE_U &size, const void *sourceData, const D2D1_BITMAP_PROPERTIES1 &bitmapProperties, ID2D1Bitmap1 **bitmap) const |
void | CreateBitmap (const D2D1_SIZE_U &size, UINT32 pitch, const D2D1_BITMAP_PROPERTIES1 *bitmapProperties, ID2D1Bitmap1 **bitmap) const |
void | CreateBitmap (const D2D1_SIZE_U &size, UINT32 pitch, const D2D1_BITMAP_PROPERTIES1 &bitmapProperties, ID2D1Bitmap1 **bitmap) const |
void | CreateBitmap (const D2D1_SIZE_U &size, const D2D1_BITMAP_PROPERTIES1 *bitmapProperties, ID2D1Bitmap1 **bitmap) const |
void | CreateBitmap (const D2D1_SIZE_U &size, const D2D1_BITMAP_PROPERTIES1 &bitmapProperties, ID2D1Bitmap1 **bitmap) const |
void | CreateBitmap (const D2D1_SIZE_U &size, const void *sourceData, UINT32 pitch, const D2D1_BITMAP_PROPERTIES1 &bitmapProperties, ID2D1Bitmap1 **bitmap) |
Bitmap1 | CreateBitmap (const D2D1_SIZE_U &size, const void *sourceData, UINT32 pitch, const D2D1_BITMAP_PROPERTIES1 *bitmapProperties) const |
Bitmap1 | CreateBitmap (const D2D1_SIZE_U &size, const void *sourceData, UINT32 pitch, const D2D1_BITMAP_PROPERTIES1 &bitmapProperties) const |
Bitmap1 | CreateBitmap (const D2D1_SIZE_U &size, const void *sourceData, const D2D1_BITMAP_PROPERTIES1 *bitmapProperties) const |
Bitmap1 | CreateBitmap (const D2D1_SIZE_U &size, const void *sourceData, const D2D1_BITMAP_PROPERTIES1 &bitmapProperties) const |
Bitmap1 | CreateBitmap (const D2D1_SIZE_U &size, UINT32 pitch, const D2D1_BITMAP_PROPERTIES1 *bitmapProperties) const |
Bitmap1 | CreateBitmap (const D2D1_SIZE_U &size, UINT32 pitch, const D2D1_BITMAP_PROPERTIES1 &bitmapProperties) const |
Bitmap1 | CreateBitmap (const D2D1_SIZE_U &size, const D2D1_BITMAP_PROPERTIES1 *bitmapProperties) const |
Bitmap1 | CreateBitmap (const D2D1_SIZE_U &size, const D2D1_BITMAP_PROPERTIES1 &bitmapProperties) const |
void | CreateBitmapFromWicBitmap (IWICBitmapSource *wicBitmapSource, D2D1_BITMAP_PROPERTIES1 *bitmapProperties, ID2D1Bitmap1 **bitmap) const |
Create a D2D bitmap by copying a WIC bitmap. | |
void | CreateBitmapFromWicBitmap (IWICBitmapSource *wicBitmapSource, D2D1_BITMAP_PROPERTIES1 &bitmapProperties, ID2D1Bitmap1 **bitmap) const |
void | CreateBitmapFromWicBitmap (IWICBitmapSource *wicBitmapSource, ID2D1Bitmap1 **bitmap) const |
Bitmap1 | CreateBitmapFromWicBitmap (IWICBitmapSource *wicBitmapSource, D2D1_BITMAP_PROPERTIES1 *bitmapProperties=nullptr) const |
Bitmap1 | CreateBitmapFromWicBitmap (IWICBitmapSource *wicBitmapSource, D2D1_BITMAP_PROPERTIES1 &bitmapProperties) const |
HW_EXPORT void | CreateBitmapFromWicBitmap (const Imaging::BitmapSource &wicBitmapSource, D2D1_BITMAP_PROPERTIES1 *bitmapProperties, ID2D1Bitmap1 **bitmap) const |
HW_EXPORT void | CreateBitmapFromWicBitmap (const Imaging::BitmapSource &wicBitmapSource, D2D1_BITMAP_PROPERTIES1 &bitmapProperties, ID2D1Bitmap1 **bitmap) const |
HW_EXPORT void | CreateBitmapFromWicBitmap (const Imaging::BitmapSource &wicBitmapSource, ID2D1Bitmap1 **bitmap) const |
HW_EXPORT Bitmap1 | CreateBitmapFromWicBitmap (const Imaging::BitmapSource &wicBitmapSource, D2D1_BITMAP_PROPERTIES1 *bitmapProperties=nullptr) const |
HW_EXPORT Bitmap1 | CreateBitmapFromWicBitmap (const Imaging::BitmapSource &wicBitmapSource, D2D1_BITMAP_PROPERTIES1 &bitmapProperties) const |
void | CreateColorContext (D2D1_COLOR_SPACE space, CONST BYTE *profile, UINT32 profileSize, ID2D1ColorContext **colorContext) const |
Creates a color context from a color space. If the space is Custom, the context is initialized from the profile/profileSize arguments. Otherwise the context is initialized with the profile bytes associated with the space and profile/profileSize are ignored. | |
void | CreateColorContext (D2D1_COLOR_SPACE space, ID2D1ColorContext **colorContext) const |
void | CreateColorContext (ID2D1ColorContext **colorContext) const |
ColorContext | CreateColorContext (D2D1_COLOR_SPACE space=D2D1_COLOR_SPACE_SRGB, CONST BYTE *profile=nullptr, UINT32 profileSize=0) const |
void | CreateColorContextFromFilename (PCWSTR filename, ID2D1ColorContext **colorContext) const |
Creates a color context by loading it from the specified filename. The profile bytes are the contents of the file specified by Filename. | |
ColorContext | CreateColorContextFromFilename (PCWSTR filename) const |
void | CreateColorContextFromWicColorContext (IWICColorContext *wicColorContext, ID2D1ColorContext **colorContext) const |
Creates a color context from an IWICColorContext. | |
ColorContext | CreateColorContextFromWicColorContext (IWICColorContext *wicColorContext) const |
HW_EXPORT void | CreateColorContextFromWicColorContext (const Imaging::ColorContext &wicColorContext, ID2D1ColorContext **colorContext) const |
HW_EXPORT ColorContext | CreateColorContextFromWicColorContext (const Imaging::ColorContext &wicColorContext) const |
void | CreateBitmapFromDxgiSurface (IDXGISurface *surface, const D2D1_BITMAP_PROPERTIES1 *bitmapProperties, ID2D1Bitmap1 **bitmap) const |
Creates a bitmap from a DXGI surface that can be set as a target surface or have additional color context information specified. | |
void | CreateBitmapFromDxgiSurface (IDXGISurface *surface, const D2D1_BITMAP_PROPERTIES1 &bitmapProperties, ID2D1Bitmap1 **bitmap) const |
template<typename T > requires std::is_base_of_v<DXGI::Surface, T> | |
void | CreateBitmapFromDxgiSurface (const T &surface, const D2D1_BITMAP_PROPERTIES1 *bitmapProperties, ID2D1Bitmap1 **bitmap) const |
template<typename T > requires std::is_base_of_v<DXGI::Surface, T> | |
void | CreateBitmapFromDxgiSurface (const T &surface, const D2D1_BITMAP_PROPERTIES1 &bitmapProperties, ID2D1Bitmap1 **bitmap) const |
void | CreateBitmapFromDxgiSurface (IDXGISurface *surface, ID2D1Bitmap1 **bitmap) const |
template<typename T > requires std::is_base_of_v<DXGI::Surface, T> | |
void | CreateBitmapFromDxgiSurface (const T &surface, ID2D1Bitmap1 **bitmap) const |
Bitmap1 | CreateBitmapFromDxgiSurface (IDXGISurface *surface, const D2D1_BITMAP_PROPERTIES1 *bitmapProperties=nullptr) const |
Bitmap1 | CreateBitmapFromDxgiSurface (IDXGISurface *surface, const D2D1_BITMAP_PROPERTIES1 &bitmapProperties) const |
template<typename T > requires std::is_base_of_v<DXGI::Surface, T> | |
Bitmap1 | CreateBitmapFromDxgiSurface (const T &surface, const D2D1_BITMAP_PROPERTIES1 *bitmapProperties=nullptr) const |
template<typename T > requires std::is_base_of_v<DXGI::Surface, T> | |
Bitmap1 | CreateBitmapFromDxgiSurface (const T &surface, const D2D1_BITMAP_PROPERTIES1 &bitmapProperties) const |
void | CreateEffect (REFCLSID effectId, ID2D1Effect **effect) const |
Create a new effect, the effect must either be built in or previously registered through ID2D1Factory1::RegisterEffectFromStream or ID2D1Factory1::RegisterEffectFromString. | |
Effect | CreateEffect (REFCLSID effectId) const |
void | CreateGradientStopCollection (CONST D2D1_GRADIENT_STOP *straightAlphaGradientStops, UINT32 straightAlphaGradientStopsCount, D2D1_COLOR_SPACE preInterpolationSpace, D2D1_COLOR_SPACE postInterpolationSpace, D2D1_BUFFER_PRECISION bufferPrecision, D2D1_EXTEND_MODE extendMode, D2D1_COLOR_INTERPOLATION_MODE colorInterpolationMode, ID2D1GradientStopCollection1 **gradientStopCollection1) const |
A gradient stop collection represents a set of stops in an ideal unit length. This is the source resource for a linear gradient and radial gradient brush. | |
GradientStopCollection1 | CreateGradientStopCollection (CONST D2D1_GRADIENT_STOP *straightAlphaGradientStops, UINT32 straightAlphaGradientStopsCount, D2D1_COLOR_SPACE preInterpolationSpace=D2D1_COLOR_SPACE_SRGB, D2D1_COLOR_SPACE postInterpolationSpace=D2D1_COLOR_SPACE_SRGB, D2D1_BUFFER_PRECISION bufferPrecision=D2D1_BUFFER_PRECISION_8BPC_UNORM, D2D1_EXTEND_MODE extendMode=D2D1_EXTEND_MODE_CLAMP, D2D1_COLOR_INTERPOLATION_MODE colorInterpolationMode=D2D1_COLOR_INTERPOLATION_MODE_PREMULTIPLIED) const |
void | CreateImageBrush (ID2D1Image *image, const D2D1_IMAGE_BRUSH_PROPERTIES *imageBrushProperties, const D2D1_BRUSH_PROPERTIES *brushProperties, ID2D1ImageBrush **imageBrush) const |
Creates an image brush. The input image can be any type of image, including a bitmap, effect, or a command list. | |
void | CreateImageBrush (const Image &image, const D2D1_IMAGE_BRUSH_PROPERTIES *imageBrushProperties, const D2D1_BRUSH_PROPERTIES *brushProperties, ID2D1ImageBrush **imageBrush) const |
void | CreateImageBrush (ID2D1Image *image, const D2D1_IMAGE_BRUSH_PROPERTIES *imageBrushProperties, ID2D1ImageBrush **imageBrush) const |
void | CreateImageBrush (const Image &image, const D2D1_IMAGE_BRUSH_PROPERTIES *imageBrushProperties, ID2D1ImageBrush **imageBrush) const |
void | CreateImageBrush (ID2D1Image *image, const D2D1_IMAGE_BRUSH_PROPERTIES &imageBrushProperties, ID2D1ImageBrush **imageBrush) const |
void | CreateImageBrush (const Image &image, const D2D1_IMAGE_BRUSH_PROPERTIES &imageBrushProperties, ID2D1ImageBrush **imageBrush) const |
void | CreateImageBrush (ID2D1Image *image, const D2D1_IMAGE_BRUSH_PROPERTIES &imageBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, ID2D1ImageBrush **imageBrush) const |
void | CreateImageBrush (const Image &image, const D2D1_IMAGE_BRUSH_PROPERTIES &imageBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, ID2D1ImageBrush **imageBrush) const |
ImageBrush | CreateImageBrush (ID2D1Image *image, const D2D1_IMAGE_BRUSH_PROPERTIES *imageBrushProperties, const D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
ImageBrush | CreateImageBrush (const Image &image, const D2D1_IMAGE_BRUSH_PROPERTIES *imageBrushProperties, const D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
ImageBrush | CreateImageBrush (ID2D1Image *image, const D2D1_IMAGE_BRUSH_PROPERTIES &imageBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
ImageBrush | CreateImageBrush (const Image &image, const D2D1_IMAGE_BRUSH_PROPERTIES &imageBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
ImageBrush | CreateImageBrush (ID2D1Image *image, const D2D1_IMAGE_BRUSH_PROPERTIES &imageBrushProperties, const D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
ImageBrush | CreateImageBrush (const Image &image, const D2D1_IMAGE_BRUSH_PROPERTIES &imageBrushProperties, const D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
void | CreateBitmapBrush (ID2D1Bitmap *bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 *bitmapBrushProperties, const D2D1_BRUSH_PROPERTIES *brushProperties, ID2D1BitmapBrush1 **bitmapBrush) const |
Creates a bitmap brush, the input image is a Direct2D bitmap object. | |
template<typename T > requires std::is_base_of_v<Bitmap,T> | |
void | CreateBitmapBrush (const T &bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 *bitmapBrushProperties, const D2D1_BRUSH_PROPERTIES *brushProperties, ID2D1BitmapBrush1 **bitmapBrush) const |
void | CreateBitmapBrush (ID2D1Bitmap *bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 &bitmapBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, ID2D1BitmapBrush1 **bitmapBrush) const |
template<typename T > requires std::is_base_of_v<Bitmap, T> | |
void | CreateBitmapBrush (const T &bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 &bitmapBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, ID2D1BitmapBrush1 **bitmapBrush) const |
void | CreateBitmapBrush (ID2D1Bitmap *bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 *bitmapBrushProperties, ID2D1BitmapBrush1 **bitmapBrush) const |
template<typename T > requires std::is_base_of_v<Bitmap, T> | |
void | CreateBitmapBrush (const T &bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 *bitmapBrushProperties, ID2D1BitmapBrush1 **bitmapBrush) const |
void | CreateBitmapBrush (ID2D1Bitmap *bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 &bitmapBrushProperties, ID2D1BitmapBrush1 **bitmapBrush) const |
template<typename T > requires std::is_base_of_v<Bitmap, T> | |
void | CreateBitmapBrush (const T &bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 &bitmapBrushProperties, ID2D1BitmapBrush1 **bitmapBrush) const |
void | CreateBitmapBrush (ID2D1Bitmap *bitmap, ID2D1BitmapBrush1 **bitmapBrush) const |
template<typename T > requires std::is_base_of_v<Bitmap, T> | |
void | CreateBitmapBrush (const T &bitmap, ID2D1BitmapBrush1 **bitmapBrush) const |
BitmapBrush1 | CreateBitmapBrush (ID2D1Bitmap *bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 *bitmapBrushProperties=nullptr, const D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
template<typename T > requires std::is_base_of_v<Bitmap, T> | |
BitmapBrush1 | CreateBitmapBrush (const T &bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 *bitmapBrushProperties=nullptr, const D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
BitmapBrush1 | CreateBitmapBrush (ID2D1Bitmap *bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 &bitmapBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
template<typename T > requires std::is_base_of_v<Bitmap, T> | |
BitmapBrush1 | CreateBitmapBrush (const T &bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 &bitmapBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
BitmapBrush1 | CreateBitmapBrush (ID2D1Bitmap *bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 &bitmapBrushProperties, const D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
template<typename T > requires std::is_base_of_v<Bitmap, T> | |
BitmapBrush1 | CreateBitmapBrush (const T &bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES1 &bitmapBrushProperties, const D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
void | CreateCommandList (ID2D1CommandList **commandList) const |
Creates a new command list. | |
CommandList | CreateCommandList () const |
bool | IsDxgiFormatSupported (DXGI_FORMAT format) const |
Indicates whether the format is supported by D2D. | |
bool | IsBufferPrecisionSupported (D2D1_BUFFER_PRECISION bufferPrecision) const |
Indicates whether the buffer precision is supported by D2D. | |
void | GetImageLocalBounds (ID2D1Image *image, D2D1_RECT_F *localBounds) const |
Gets the bounds of an image without the world transform of the context applied. | |
void | GetImageLocalBounds (const Image &image, D2D1_RECT_F *localBounds) const |
void | GetImageLocalBounds (ID2D1Image *image, D2D1_RECT_F &localBounds) const |
void | GetImageLocalBounds (const Image &image, D2D1_RECT_F &localBounds) const |
void | GetImageWorldBounds (ID2D1Image *image, D2D1_RECT_F *worldBounds) const |
Gets the bounds of an image with the world transform of the context applied. | |
void | GetImageWorldBounds (const Image &image, D2D1_RECT_F *worldBounds) const |
void | GetImageWorldBounds (ID2D1Image *image, D2D1_RECT_F &worldBounds) const |
void | GetImageWorldBounds (const Image &image, D2D1_RECT_F &worldBounds) const |
void | GetGlyphRunWorldBounds (const D2D1_POINT_2F &baselineOrigin, const DWRITE_GLYPH_RUN *glyphRun, DWRITE_MEASURING_MODE measuringMode, D2D1_RECT_F *bounds) const |
Gets the world-space bounds in DIPs of the glyph run using the device context DPI. | |
void | GetGlyphRunWorldBounds (const D2D1_POINT_2F &baselineOrigin, const DWRITE_GLYPH_RUN &glyphRun, DWRITE_MEASURING_MODE measuringMode, D2D1_RECT_F &bounds) const |
void | GetDevice (_Outptr_ ID2D1Device **device) const |
Retrieves the device associated with this device context. | |
Device | GetDevice () const |
void | SetTarget (ID2D1Image *image) const |
The bitmap or command list to which the Direct2D device context will now render. | |
void | SetTarget (const Image &image) const |
void | GetTarget (ID2D1Image **image) const |
Gets the target currently associated with the device context. | |
Image | GetTarget () const |
void | SetRenderingControls (const D2D1_RENDERING_CONTROLS *renderingControls) const |
Sets tuning parameters for internal rendering inside the device context. | |
void | SetRenderingControls (const D2D1_RENDERING_CONTROLS &renderingControls) const |
void | GetRenderingControls (D2D1_RENDERING_CONTROLS *renderingControls) const |
Gets the rendering controls that have been applied to the context. | |
void | GetRenderingControls (D2D1_RENDERING_CONTROLS &renderingControls) const |
void | SetPrimitiveBlend (D2D1_PRIMITIVE_BLEND primitiveBlend=D2D1_PRIMITIVE_BLEND_SOURCE_OVER) const |
Changes the primitive blending mode for all of the rendering operations. | |
D2D1_PRIMITIVE_BLEND | GetPrimitiveBlend () const |
Returns the primitive blend currently selected into the device context. | |
void | SetUnitMode (D2D1_UNIT_MODE unitMode) const |
Sets what units will be used to interpret values passed into the device context. | |
D2D1_UNIT_MODE | GetUnitMode () const |
Returns the unit mode currently set on the device context. | |
void | DrawGlyphRun (const D2D1_POINT_2F &baselineOrigin, const DWRITE_GLYPH_RUN *glyphRun, const DWRITE_GLYPH_RUN_DESCRIPTION *glyphRunDescription, ID2D1Brush *foregroundBrush, DWRITE_MEASURING_MODE measuringMode=DWRITE_MEASURING_MODE_NATURAL) const |
Draws the glyph run with an extended description to describe the glyphs. | |
void | DrawGlyphRun (const D2D1_POINT_2F &baselineOrigin, const DWRITE_GLYPH_RUN *glyphRun, const DWRITE_GLYPH_RUN_DESCRIPTION *glyphRunDescription, const Brush &foregroundBrush, DWRITE_MEASURING_MODE measuringMode=DWRITE_MEASURING_MODE_NATURAL) const |
void | DrawGlyphRun (const D2D1_POINT_2F &baselineOrigin, const DWRITE_GLYPH_RUN &glyphRun, const DWRITE_GLYPH_RUN_DESCRIPTION &glyphRunDescription, ID2D1Brush *foregroundBrush, DWRITE_MEASURING_MODE measuringMode=DWRITE_MEASURING_MODE_NATURAL) const |
void | DrawGlyphRun (const D2D1_POINT_2F &baselineOrigin, const DWRITE_GLYPH_RUN &glyphRun, const DWRITE_GLYPH_RUN_DESCRIPTION &glyphRunDescription, const Brush &foregroundBrush, DWRITE_MEASURING_MODE measuringMode=DWRITE_MEASURING_MODE_NATURAL) const |
void | DrawImage (ID2D1Image *image, const D2D1_POINT_2F *targetOffset=nullptr, const D2D1_RECT_F *imageRectangle=nullptr, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
Draw an image to the device context. The image represents either a concrete bitmap or the output of an effect graph. | |
void | DrawImage (const Image &image, const D2D1_POINT_2F *targetOffset=nullptr, const D2D1_RECT_F *imageRectangle=nullptr, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
void | DrawImage (ID2D1Effect *effect, const D2D1_POINT_2F *targetOffset=nullptr, const D2D1_RECT_F *imageRectangle=nullptr, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
void | DrawImage (const Effect &effect, const D2D1_POINT_2F *targetOffset=nullptr, const D2D1_RECT_F *imageRectangle=nullptr, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
void | DrawImage (ID2D1Image *image, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) |
void | DrawImage (const Image &image, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) |
void | DrawImage (ID2D1Effect *effect, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
void | DrawImage (const Effect &effect, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
void | DrawImage (ID2D1Image *image, const D2D1_POINT_2F &targetOffset, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
void | DrawImage (const Image &image, const D2D1_POINT_2F &targetOffset, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
void | DrawImage (ID2D1Effect *effect, const D2D1_POINT_2F &targetOffset, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
void | DrawImage (const Effect &effect, const D2D1_POINT_2F &targetOffset, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
void | DrawImage (ID2D1Image *image, const D2D1_POINT_2F &targetOffset, const D2D1_RECT_F &imageRectangle, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
void | DrawImage (const Image &image, const D2D1_POINT_2F &targetOffset, const D2D1_RECT_F &imageRectangle, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
void | DrawImage (ID2D1Effect *effect, const D2D1_POINT_2F &targetOffset, const D2D1_RECT_F &imageRectangle, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
void | DrawImage (const Effect &effect, const D2D1_POINT_2F &targetOffset, const D2D1_RECT_F &imageRectangle, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, D2D1_COMPOSITE_MODE compositeMode=D2D1_COMPOSITE_MODE_SOURCE_OVER) const |
void | DrawGdiMetafile (ID2D1GdiMetafile *gdiMetafile, const D2D1_POINT_2F *targetOffset=nullptr) const |
Draw a metafile to the device context. | |
void | DrawGdiMetafile (const GdiMetafile &gdiMetafile, const D2D1_POINT_2F *targetOffset=nullptr) const |
void | DrawGdiMetafile (ID2D1GdiMetafile *gdiMetafile, const D2D1_POINT_2F &targetOffset) const |
void | DrawGdiMetafile (const GdiMetafile &gdiMetafile, const D2D1_POINT_2F &targetOffset) const |
void | DrawBitmap (ID2D1Bitmap *bitmap, const D2D1_RECT_F *destinationRectangle, FLOAT opacity, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, const D2D1_RECT_F *sourceRectangle=nullptr, const D2D1_MATRIX_4X4_F *perspectiveTransform=nullptr) const |
Draws a bitmap to the render target. | |
void | DrawBitmap (const Bitmap &bitmap, const D2D1_RECT_F *destinationRectangle, FLOAT opacity, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, const D2D1_RECT_F *sourceRectangle=nullptr, const D2D1_MATRIX_4X4_F *perspectiveTransform=nullptr) const |
void | DrawBitmap (ID2D1Bitmap *bitmap, const D2D1_RECT_F &destinationRectangle, FLOAT opacity, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, const D2D1_RECT_F *sourceRectangle=nullptr, const D2D1_MATRIX_4X4_F *perspectiveTransform=nullptr) const |
void | DrawBitmap (const Bitmap &bitmap, const D2D1_RECT_F &destinationRectangle, FLOAT opacity, D2D1_INTERPOLATION_MODE interpolationMode=D2D1_INTERPOLATION_MODE_LINEAR, const D2D1_RECT_F *sourceRectangle=nullptr, const D2D1_MATRIX_4X4_F *perspectiveTransform=nullptr) const |
void | DrawBitmap (ID2D1Bitmap *bitmap, const D2D1_RECT_F &destinationRectangle, FLOAT opacity, D2D1_INTERPOLATION_MODE interpolationMode, const D2D1_RECT_F &sourceRectangle, const D2D1_MATRIX_4X4_F *perspectiveTransform=nullptr) const |
void | DrawBitmap (const Bitmap &bitmap, const D2D1_RECT_F &destinationRectangle, FLOAT opacity, D2D1_INTERPOLATION_MODE interpolationMode, const D2D1_RECT_F &sourceRectangle, const D2D1_MATRIX_4X4_F *perspectiveTransform=nullptr) const |
void | DrawBitmap (ID2D1Bitmap *bitmap, const D2D1_RECT_F &destinationRectangle, FLOAT opacity, D2D1_INTERPOLATION_MODE interpolationMode, const D2D1_RECT_F &sourceRectangle, const D2D1_MATRIX_4X4_F &perspectiveTransform) const |
void | DrawBitmap (const Bitmap &bitmap, const D2D1_RECT_F &destinationRectangle, FLOAT opacity, D2D1_INTERPOLATION_MODE interpolationMode, const D2D1_RECT_F &sourceRectangle, const D2D1_MATRIX_4X4_F &perspectiveTransform) const |
void | PushLayer (const D2D1_LAYER_PARAMETERS1 *layerParameters, ID2D1Layer *layer=nullptr) const |
Push a layer onto the clip and layer stack of the device context. | |
void | PushLayer (const D2D1_LAYER_PARAMETERS1 *layerParameters, const Layer &layer) const |
void | PushLayer (const D2D1_LAYER_PARAMETERS1 &layerParameters, ID2D1Layer *layer=nullptr) const |
void | PushLayer (const D2D1_LAYER_PARAMETERS1 &layerParameters, const Layer &layer) const |
void | InvalidateEffectInputRectangle (ID2D1Effect *effect, UINT32 input, const D2D1_RECT_F *inputRectangle) const |
void | InvalidateEffectInputRectangle (ID2D1Effect *effect, UINT32 input, const D2D1_RECT_F &inputRectangle) const |
void | InvalidateEffectInputRectangle (const Effect &effect, UINT32 input, const D2D1_RECT_F *inputRectangle) const |
void | InvalidateEffectInputRectangle (const Effect &effect, UINT32 input, const D2D1_RECT_F &inputRectangle) const |
void | GetEffectInvalidRectangleCount (ID2D1Effect *effect, UINT32 *rectangleCount) const |
Gets the number of invalid output rectangles that have accumulated on the effect. | |
void | GetEffectInvalidRectangleCount (const Effect &effect, UINT32 *rectangleCount) const |
UINT32 | GetEffectInvalidRectangleCount (ID2D1Effect *effect) const |
UINT32 | GetEffectInvalidRectangleCount (const Effect &effect) const |
void | GetEffectInvalidRectangles (ID2D1Effect *effect, D2D1_RECT_F *rectangles, UINT32 rectanglesCount) const |
Gets the invalid rectangles that have accumulated since the last time the effect was drawn and EndDraw was then called on the device context. | |
void | GetEffectInvalidRectangles (const Effect &effect, D2D1_RECT_F *rectangles, UINT32 rectanglesCount) const |
void | GetEffectRequiredInputRectangles (ID2D1Effect *renderEffect, const D2D1_RECT_F *renderImageRectangle, const D2D1_EFFECT_INPUT_DESCRIPTION *inputDescriptions, D2D1_RECT_F *requiredInputRects, UINT32 inputCount) const |
Returns the input rectangles that are required to be supplied by the caller to produce the given output rectangle. | |
void | GetEffectRequiredInputRectangles (const Effect &renderEffect, const D2D1_RECT_F *renderImageRectangle, const D2D1_EFFECT_INPUT_DESCRIPTION *inputDescriptions, D2D1_RECT_F *requiredInputRects, UINT32 inputCount) const |
void | FillOpacityMask (ID2D1Bitmap *opacityMask, ID2D1Brush *brush, const D2D1_RECT_F *destinationRectangle=nullptr, const D2D1_RECT_F *sourceRectangle=nullptr) const |
Fill using the alpha channel of the supplied opacity mask bitmap. The brush opacity will be modulated by the mask. The render target anti-aliasing mode must be set to aliased. | |
void | FillOpacityMask (const Bitmap &opacityMask, const Brush &brush, const D2D1_RECT_F *destinationRectangle=nullptr, const D2D1_RECT_F *sourceRectangle=nullptr) const |
void | FillOpacityMask (ID2D1Bitmap *opacityMask, ID2D1Brush *brush, const D2D1_RECT_F &destinationRectangle, const D2D1_RECT_F *sourceRectangle=nullptr) const |
void | FillOpacityMask (const Bitmap &opacityMask, const Brush &brush, const D2D1_RECT_F &destinationRectangle, const D2D1_RECT_F *sourceRectangle=nullptr) const |
void | FillOpacityMask (ID2D1Bitmap *opacityMask, ID2D1Brush *brush, const D2D1_RECT_F &destinationRectangle, const D2D1_RECT_F &sourceRectangle) const |
void | FillOpacityMask (const Bitmap &opacityMask, const Brush &brush, const D2D1_RECT_F &destinationRectangle, const D2D1_RECT_F &sourceRectangle) const |
void | CreateBitmap (D2D1_SIZE_U size, _In_opt_ CONST void *srcData, UINT32 pitch, _In_ CONST D2D1_BITMAP_PROPERTIES *bitmapProperties, _COM_Outptr_ ID2D1Bitmap **bitmap) const |
Creates a Direct2D bitmap from a pointer to in-memory source data. | |
Bitmap | CreateBitmap (D2D1_SIZE_U size, const void *srcData, UINT32 pitch, const D2D1_BITMAP_PROPERTIES *bitmapProperties) const |
Bitmap | CreateBitmap (D2D1_SIZE_U size, const void *srcData, UINT32 pitch, const D2D1_BITMAP_PROPERTIES &bitmapProperties) const |
Bitmap | CreateBitmap (D2D1_SIZE_U size, const D2D1_BITMAP_PROPERTIES *bitmapProperties) const |
Bitmap | CreateBitmap (D2D1_SIZE_U size, const D2D1_BITMAP_PROPERTIES &bitmapProperties) const |
void | CreateBitmapFromWicBitmap (_In_ IWICBitmapSource *wicBitmapSource, _In_opt_ CONST D2D1_BITMAP_PROPERTIES *bitmapProperties, _COM_Outptr_ ID2D1Bitmap **bitmap) const |
Creates an ID2D1Bitmap by copying the specified Microsoft Windows Imaging Component (WIC) bitmap. | |
HW_EXPORT void | CreateBitmapFromWicBitmap (const Imaging::BitmapSource &wicBitmapSource, _In_opt_ CONST D2D1_BITMAP_PROPERTIES *bitmapProperties, _COM_Outptr_ ID2D1Bitmap **bitmap) const |
HW_EXPORT void | CreateBitmapFromWicBitmap (const Imaging::BitmapSource &wicBitmapSource, const D2D1_BITMAP_PROPERTIES &bitmapProperties, _COM_Outptr_ ID2D1Bitmap **bitmap) const |
Bitmap | CreateBitmapFromWicBitmap (IWICBitmapSource *wicBitmapSource, const D2D1_BITMAP_PROPERTIES *bitmapProperties=nullptr) const |
HW_EXPORT Bitmap | CreateBitmapFromWicBitmap (const Imaging::BitmapSource &wicBitmapSource, const D2D1_BITMAP_PROPERTIES *bitmapProperties=nullptr) const |
Bitmap | CreateBitmapFromWicBitmap (IWICBitmapSource *wicBitmapSource, const D2D1_BITMAP_PROPERTIES &bitmapProperties) const |
HW_EXPORT Bitmap | CreateBitmapFromWicBitmap (const Imaging::BitmapSource &wicBitmapSource, const D2D1_BITMAP_PROPERTIES &bitmapProperties) const |
void | CreateGradientStopCollection (_In_reads_(gradientStopsCount) CONST D2D1_GRADIENT_STOP *gradientStops, _In_range_(>=, 1) UINT32 gradientStopsCount, D2D1_GAMMA colorInterpolationGamma, D2D1_EXTEND_MODE extendMode, _COM_Outptr_ ID2D1GradientStopCollection **gradientStopCollection) const |
Creates an ID2D1GradientStopCollection from the specified array of D2D1_GRADIENT_STOP structures. | |
GradientStopCollection | CreateGradientStopCollection (_In_reads_(gradientStopsCount) CONST D2D1_GRADIENT_STOP *gradientStops, _In_range_(>=, 1) UINT32 gradientStopsCount, D2D1_GAMMA colorInterpolationGamma=D2D1_GAMMA_2_2, D2D1_EXTEND_MODE extendMode=D2D1_EXTEND_MODE_CLAMP) const |
void | CreateBitmapBrush (_In_ ID2D1Bitmap *bitmap, _In_opt_ CONST D2D1_BITMAP_BRUSH_PROPERTIES *bitmapBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _COM_Outptr_ ID2D1BitmapBrush **bitmapBrush) const |
Creates an ID2D1BitmapBrush from the specified bitmap. | |
void | CreateBitmapBrush (const Bitmap &bitmap, _In_opt_ CONST D2D1_BITMAP_BRUSH_PROPERTIES *bitmapBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _COM_Outptr_ ID2D1BitmapBrush **bitmapBrush) const |
BitmapBrush | CreateBitmapBrush (_In_ ID2D1Bitmap *bitmap, _In_opt_ CONST D2D1_BITMAP_BRUSH_PROPERTIES *bitmapBrushProperties=nullptr, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
BitmapBrush | CreateBitmapBrush (const Bitmap &bitmap, _In_opt_ CONST D2D1_BITMAP_BRUSH_PROPERTIES *bitmapBrushProperties=nullptr, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
BitmapBrush | CreateBitmapBrush (_In_ ID2D1Bitmap *bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES &bitmapBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
BitmapBrush | CreateBitmapBrush (const Bitmap &bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES &bitmapBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
BitmapBrush | CreateBitmapBrush (_In_ ID2D1Bitmap *bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES &bitmapBrushProperties) const |
BitmapBrush | CreateBitmapBrush (const Bitmap &bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES &bitmapBrushProperties) const |
BitmapBrush | CreateBitmapBrush (_In_ ID2D1Bitmap *bitmap, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
BitmapBrush | CreateBitmapBrush (const Bitmap &bitmap, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
void | DrawGlyphRun (const D2D1_POINT_2F &baselineOrigin, const DWRITE_GLYPH_RUN *glyphRun, ID2D1Brush *foregroundBrush, DWRITE_MEASURING_MODE measuringMode=DWRITE_MEASURING_MODE_NATURAL) const |
Draws the specified glyphs. | |
void | DrawGlyphRun (const D2D1_POINT_2F &baselineOrigin, const DWRITE_GLYPH_RUN *glyphRun, const Brush &foregroundBrush, DWRITE_MEASURING_MODE measuringMode=DWRITE_MEASURING_MODE_NATURAL) const |
void | DrawBitmap (ID2D1Bitmap *bitmap, const D2D1_RECT_F *destinationRectangle, FLOAT opacity=1.0f, D2D1_BITMAP_INTERPOLATION_MODE interpolationMode=D2D1_BITMAP_INTERPOLATION_MODE_LINEAR, const D2D1_RECT_F *sourceRectangle=nullptr) const |
Draws the specified bitmap after scaling it to the size of the specified rectangle. | |
void | DrawBitmap (const Bitmap &bitmap, const D2D1_RECT_F *destinationRectangle, FLOAT opacity=1.0f, D2D1_BITMAP_INTERPOLATION_MODE interpolationMode=D2D1_BITMAP_INTERPOLATION_MODE_LINEAR, const D2D1_RECT_F *sourceRectangle=nullptr) const |
void | PushLayer (const D2D1_LAYER_PARAMETERS *layerParameters, ID2D1Layer *layer=nullptr) const |
Adds the specified layer to the render target so that it receives all subsequent drawing operations until PopLayer is called. | |
void | PushLayer (const D2D1_LAYER_PARAMETERS &layerParameters, ID2D1Layer *layer=nullptr) const |
void | FillOpacityMask (ID2D1Bitmap *opacityMask, ID2D1Brush *brush, D2D1_OPACITY_MASK_CONTENT content=D2D1_OPACITY_MASK_CONTENT_GRAPHICS, const D2D1_RECT_F *destinationRectangle=nullptr, const D2D1_RECT_F *sourceRectangle=nullptr) const |
Applies the opacity mask described by the specified bitmap to a brush and uses that brush to paint a region of the render target. | |
void | FillOpacityMask (const Bitmap &opacityMask, ID2D1Brush *brush, D2D1_OPACITY_MASK_CONTENT content=D2D1_OPACITY_MASK_CONTENT_GRAPHICS, const D2D1_RECT_F *destinationRectangle=nullptr, const D2D1_RECT_F *sourceRectangle=nullptr) const |
void | FillOpacityMask (const Bitmap &opacityMask, const Brush &brush, D2D1_OPACITY_MASK_CONTENT content=D2D1_OPACITY_MASK_CONTENT_GRAPHICS, const D2D1_RECT_F *destinationRectangle=nullptr, const D2D1_RECT_F *sourceRectangle=nullptr) const |
![]() | |
void | CreateBitmap (D2D1_SIZE_U size, _In_opt_ CONST void *srcData, UINT32 pitch, _In_ CONST D2D1_BITMAP_PROPERTIES *bitmapProperties, _COM_Outptr_ ID2D1Bitmap **bitmap) const |
Creates a Direct2D bitmap from a pointer to in-memory source data. | |
Bitmap | CreateBitmap (D2D1_SIZE_U size, const void *srcData, UINT32 pitch, const D2D1_BITMAP_PROPERTIES *bitmapProperties) const |
Bitmap | CreateBitmap (D2D1_SIZE_U size, const void *srcData, UINT32 pitch, const D2D1_BITMAP_PROPERTIES &bitmapProperties) const |
Bitmap | CreateBitmap (D2D1_SIZE_U size, const D2D1_BITMAP_PROPERTIES *bitmapProperties) const |
Bitmap | CreateBitmap (D2D1_SIZE_U size, const D2D1_BITMAP_PROPERTIES &bitmapProperties) const |
void | CreateBitmapFromWicBitmap (_In_ IWICBitmapSource *wicBitmapSource, _In_opt_ CONST D2D1_BITMAP_PROPERTIES *bitmapProperties, _COM_Outptr_ ID2D1Bitmap **bitmap) const |
Creates an ID2D1Bitmap by copying the specified Microsoft Windows Imaging Component (WIC) bitmap. | |
HW_EXPORT void | CreateBitmapFromWicBitmap (const Imaging::BitmapSource &wicBitmapSource, _In_opt_ CONST D2D1_BITMAP_PROPERTIES *bitmapProperties, _COM_Outptr_ ID2D1Bitmap **bitmap) const |
HW_EXPORT void | CreateBitmapFromWicBitmap (const Imaging::BitmapSource &wicBitmapSource, const D2D1_BITMAP_PROPERTIES &bitmapProperties, _COM_Outptr_ ID2D1Bitmap **bitmap) const |
Bitmap | CreateBitmapFromWicBitmap (IWICBitmapSource *wicBitmapSource, const D2D1_BITMAP_PROPERTIES *bitmapProperties=nullptr) const |
HW_EXPORT Bitmap | CreateBitmapFromWicBitmap (const Imaging::BitmapSource &wicBitmapSource, const D2D1_BITMAP_PROPERTIES *bitmapProperties=nullptr) const |
Bitmap | CreateBitmapFromWicBitmap (IWICBitmapSource *wicBitmapSource, const D2D1_BITMAP_PROPERTIES &bitmapProperties) const |
HW_EXPORT Bitmap | CreateBitmapFromWicBitmap (const Imaging::BitmapSource &wicBitmapSource, const D2D1_BITMAP_PROPERTIES &bitmapProperties) const |
void | CreateSharedBitmap (REFIID riid, _Inout_ void *data, _In_opt_ CONST D2D1_BITMAP_PROPERTIES *bitmapProperties, _COM_Outptr_ ID2D1Bitmap **bitmap) const |
Creates an ID2D1Bitmap whose data is shared with another resource. | |
Bitmap | CreateSharedBitmap (REFIID riid, void *data, const D2D1_BITMAP_PROPERTIES *bitmapProperties=nullptr) const |
Bitmap | CreateSharedBitmap (REFIID riid, void *data, const D2D1_BITMAP_PROPERTIES &bitmapProperties) const |
void | CreateBitmapBrush (_In_ ID2D1Bitmap *bitmap, _In_opt_ CONST D2D1_BITMAP_BRUSH_PROPERTIES *bitmapBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _COM_Outptr_ ID2D1BitmapBrush **bitmapBrush) const |
Creates an ID2D1BitmapBrush from the specified bitmap. | |
void | CreateBitmapBrush (const Bitmap &bitmap, _In_opt_ CONST D2D1_BITMAP_BRUSH_PROPERTIES *bitmapBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _COM_Outptr_ ID2D1BitmapBrush **bitmapBrush) const |
BitmapBrush | CreateBitmapBrush (_In_ ID2D1Bitmap *bitmap, _In_opt_ CONST D2D1_BITMAP_BRUSH_PROPERTIES *bitmapBrushProperties=nullptr, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
BitmapBrush | CreateBitmapBrush (const Bitmap &bitmap, _In_opt_ CONST D2D1_BITMAP_BRUSH_PROPERTIES *bitmapBrushProperties=nullptr, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
BitmapBrush | CreateBitmapBrush (_In_ ID2D1Bitmap *bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES &bitmapBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
BitmapBrush | CreateBitmapBrush (const Bitmap &bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES &bitmapBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
BitmapBrush | CreateBitmapBrush (_In_ ID2D1Bitmap *bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES &bitmapBrushProperties) const |
BitmapBrush | CreateBitmapBrush (const Bitmap &bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES &bitmapBrushProperties) const |
BitmapBrush | CreateBitmapBrush (_In_ ID2D1Bitmap *bitmap, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
BitmapBrush | CreateBitmapBrush (const Bitmap &bitmap, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
void | CreateSolidColorBrush (_In_ CONST D2D1_COLOR_F *color, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _COM_Outptr_ ID2D1SolidColorBrush **solidColorBrush) const |
Creates a new ID2D1SolidColorBrush that can be used to paint areas with a solid color. | |
void | CreateSolidColorBrush (const D2D1_COLOR_F &color, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _COM_Outptr_ ID2D1SolidColorBrush **solidColorBrush) const |
void | CreateSolidColorBrush (_In_ CONST D2D1_COLOR_F *color, const D2D1_BRUSH_PROPERTIES &brushProperties, _COM_Outptr_ ID2D1SolidColorBrush **solidColorBrush) const |
void | CreateSolidColorBrush (const D2D1_COLOR_F &color, const D2D1_BRUSH_PROPERTIES &brushProperties, _COM_Outptr_ ID2D1SolidColorBrush **solidColorBrush) const |
SolidColorBrush | CreateSolidColorBrush (_In_ CONST D2D1_COLOR_F *color, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
SolidColorBrush | CreateSolidColorBrush (_In_ CONST D2D1_COLOR_F *color, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
SolidColorBrush | CreateSolidColorBrush (const D2D1_COLOR_F &color, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties=nullptr) const |
SolidColorBrush | CreateSolidColorBrush (const D2D1_COLOR_F &color, const D2D1_BRUSH_PROPERTIES &brushProperties) const |
void | CreateGradientStopCollection (_In_reads_(gradientStopsCount) CONST D2D1_GRADIENT_STOP *gradientStops, _In_range_(>=, 1) UINT32 gradientStopsCount, D2D1_GAMMA colorInterpolationGamma, D2D1_EXTEND_MODE extendMode, _COM_Outptr_ ID2D1GradientStopCollection **gradientStopCollection) const |
Creates an ID2D1GradientStopCollection from the specified array of D2D1_GRADIENT_STOP structures. | |
GradientStopCollection | CreateGradientStopCollection (_In_reads_(gradientStopsCount) CONST D2D1_GRADIENT_STOP *gradientStops, _In_range_(>=, 1) UINT32 gradientStopsCount, D2D1_GAMMA colorInterpolationGamma=D2D1_GAMMA_2_2, D2D1_EXTEND_MODE extendMode=D2D1_EXTEND_MODE_CLAMP) const |
void | CreateLinearGradientBrush (_In_ CONST D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *linearGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection, _COM_Outptr_ ID2D1LinearGradientBrush **linearGradientBrush) const |
Creates an ID2D1LinearGradientBrush object for painting areas with a linear gradient. | |
void | CreateLinearGradientBrush (_In_ CONST D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *linearGradientBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection, _COM_Outptr_ ID2D1LinearGradientBrush **linearGradientBrush) const |
void | CreateLinearGradientBrush (const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES &linearGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection, _COM_Outptr_ ID2D1LinearGradientBrush **linearGradientBrush) const |
void | CreateLinearGradientBrush (const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES &linearGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES &brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection, _COM_Outptr_ ID2D1LinearGradientBrush **linearGradientBrush) const |
void | CreateLinearGradientBrush (_In_ CONST D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *linearGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, const GradientStopCollection &gradientStopCollection, _COM_Outptr_ ID2D1LinearGradientBrush **linearGradientBrush) const |
void | CreateLinearGradientBrush (_In_ CONST D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *linearGradientBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, const GradientStopCollection &gradientStopCollection, _COM_Outptr_ ID2D1LinearGradientBrush **linearGradientBrush) const |
void | CreateLinearGradientBrush (const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES &linearGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, const GradientStopCollection &gradientStopCollection, _COM_Outptr_ ID2D1LinearGradientBrush **linearGradientBrush) const |
void | CreateLinearGradientBrush (const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES &linearGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES &brushProperties, const GradientStopCollection &gradientStopCollection, _COM_Outptr_ ID2D1LinearGradientBrush **linearGradientBrush) const |
LinearGradientBrush | CreateLinearGradientBrush (_In_ CONST D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *linearGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection) const |
LinearGradientBrush | CreateLinearGradientBrush (_In_ CONST D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *linearGradientBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection) const |
LinearGradientBrush | CreateLinearGradientBrush (const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES &linearGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection) const |
LinearGradientBrush | CreateLinearGradientBrush (const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES &linearGradientBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection) const |
LinearGradientBrush | CreateLinearGradientBrush (_In_ CONST D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *linearGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, const GradientStopCollection &gradientStopCollection) const |
LinearGradientBrush | CreateLinearGradientBrush (_In_ CONST D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *linearGradientBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, const GradientStopCollection &gradientStopCollection) const |
LinearGradientBrush | CreateLinearGradientBrush (const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES &linearGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, const GradientStopCollection &gradientStopCollection) const |
LinearGradientBrush | CreateLinearGradientBrush (const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES &linearGradientBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, const GradientStopCollection &gradientStopCollection) const |
LinearGradientBrush | CreateLinearGradientBrush (_In_ CONST D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *linearGradientBrushProperties, ID2D1GradientStopCollection *gradientStopCollection) const |
LinearGradientBrush | CreateLinearGradientBrush (_In_ CONST D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *linearGradientBrushProperties, const GradientStopCollection &gradientStopCollection) const |
LinearGradientBrush | CreateLinearGradientBrush (_In_ CONST D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES &linearGradientBrushProperties, const GradientStopCollection &gradientStopCollection) const |
LinearGradientBrush | CreateLinearGradientBrush (const D2D1_POINT_2F &startPoint, const D2D1_POINT_2F &endPoint, ID2D1GradientStopCollection *gradientStopCollection) const |
LinearGradientBrush | CreateLinearGradientBrush (const D2D1_POINT_2F &startPoint, const D2D1_POINT_2F &endPoint, const GradientStopCollection &gradientStopCollection) const |
void | CreateRadialGradientBrush (_In_ CONST D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *radialGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection, _COM_Outptr_ ID2D1RadialGradientBrush **radialGradientBrush) const |
Creates an ID2D1RadialGradientBrush object that can be used to paint areas with a radial gradient. | |
void | CreateRadialGradientBrush (_In_ CONST D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *radialGradientBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection, _COM_Outptr_ ID2D1RadialGradientBrush **radialGradientBrush) const |
void | CreateRadialGradientBrush (const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &radialGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection, _COM_Outptr_ ID2D1RadialGradientBrush **radialGradientBrush) const |
void | CreateRadialGradientBrush (const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &radialGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES &brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection, _COM_Outptr_ ID2D1RadialGradientBrush **radialGradientBrush) const |
void | CreateRadialGradientBrush (_In_ CONST D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *radialGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, const GradientStopCollection &gradientStopCollection, _COM_Outptr_ ID2D1RadialGradientBrush **radialGradientBrush) const |
void | CreateRadialGradientBrush (_In_ CONST D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *radialGradientBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, const GradientStopCollection &gradientStopCollection, _COM_Outptr_ ID2D1RadialGradientBrush **radialGradientBrush) const |
void | CreateRadialGradientBrush (const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &radialGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, const GradientStopCollection &gradientStopCollection, _COM_Outptr_ ID2D1RadialGradientBrush **radialGradientBrush) const |
void | CreateRadialGradientBrush (const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &radialGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES &brushProperties, const GradientStopCollection &gradientStopCollection, _COM_Outptr_ ID2D1RadialGradientBrush **radialGradientBrush) const |
RadialGradientBrush | CreateRadialGradientBrush (_In_ CONST D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *radialGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection) const |
RadialGradientBrush | CreateRadialGradientBrush (_In_ CONST D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *radialGradientBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection) const |
RadialGradientBrush | CreateRadialGradientBrush (const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &radialGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection) const |
RadialGradientBrush | CreateRadialGradientBrush (const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &radialGradientBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, _In_ ID2D1GradientStopCollection *gradientStopCollection) const |
RadialGradientBrush | CreateRadialGradientBrush (_In_ CONST D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *radialGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, const GradientStopCollection &gradientStopCollection) const |
RadialGradientBrush | CreateRadialGradientBrush (_In_ CONST D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *radialGradientBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, const GradientStopCollection &gradientStopCollection) const |
RadialGradientBrush | CreateRadialGradientBrush (const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &radialGradientBrushProperties, _In_opt_ CONST D2D1_BRUSH_PROPERTIES *brushProperties, const GradientStopCollection &gradientStopCollection) const |
RadialGradientBrush | CreateRadialGradientBrush (const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES &radialGradientBrushProperties, const D2D1_BRUSH_PROPERTIES &brushProperties, const GradientStopCollection &gradientStopCollection) const |
RadialGradientBrush | CreateRadialGradientBrush (_In_ CONST D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *radialGradientBrushProperties, ID2D1GradientStopCollection *gradientStopCollection) const |
RadialGradientBrush | CreateRadialGradientBrush (_In_ CONST D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *radialGradientBrushProperties, const GradientStopCollection &gradientStopCollection) const |
RadialGradientBrush | CreateRadialGradientBrush (const D2D1_POINT_2F ¢er, const D2D1_POINT_2F &gradientOriginOffset, FLOAT radiusX, FLOAT radiusY, _In_ ID2D1GradientStopCollection *gradientStopCollection) const |
RadialGradientBrush | CreateRadialGradientBrush (const D2D1_POINT_2F ¢er, const D2D1_POINT_2F &gradientOriginOffset, FLOAT radiusX, FLOAT radiusY, const GradientStopCollection &gradientStopCollection) const |
void | CreateCompatibleRenderTarget (_In_opt_ CONST D2D1_SIZE_F *desiredSize, _In_opt_ CONST D2D1_SIZE_U *desiredPixelSize, _In_opt_ CONST D2D1_PIXEL_FORMAT *desiredFormat, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options, _COM_Outptr_ ID2D1BitmapRenderTarget **bitmapRenderTarget) const |
Creates a bitmap render target for use during intermediate off-screen drawing that is compatible with the current render target. | |
BitmapRenderTarget | CreateCompatibleRenderTarget (_In_opt_ CONST D2D1_SIZE_F *desiredSize=nullptr, _In_opt_ CONST D2D1_SIZE_U *desiredPixelSize=nullptr, _In_opt_ CONST D2D1_PIXEL_FORMAT *desiredFormat=nullptr, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options=D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS::D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE) const |
BitmapRenderTarget | CreateCompatibleRenderTarget (_In_opt_ CONST D2D1_SIZE_F *desiredSize, _In_opt_ CONST D2D1_SIZE_U *desiredPixelSize, const D2D1_PIXEL_FORMAT &desiredFormat, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options=D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS::D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE) const |
BitmapRenderTarget | CreateCompatibleRenderTarget (_In_opt_ CONST D2D1_SIZE_F *desiredSize, const D2D1_SIZE_U &desiredPixelSize, _In_opt_ CONST D2D1_PIXEL_FORMAT *desiredFormat, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options=D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS::D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE) const |
BitmapRenderTarget | CreateCompatibleRenderTarget (const D2D1_SIZE_F &desiredSize, _In_opt_ CONST D2D1_SIZE_U *desiredPixelSize, _In_opt_ CONST D2D1_PIXEL_FORMAT *desiredFormat, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options=D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS::D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE) const |
BitmapRenderTarget | CreateCompatibleRenderTarget (_In_opt_ CONST D2D1_SIZE_F *desiredSize, const D2D1_SIZE_U &desiredPixelSize, const D2D1_PIXEL_FORMAT &desiredFormat, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options=D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS::D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE) const |
BitmapRenderTarget | CreateCompatibleRenderTarget (const D2D1_SIZE_F &desiredSize, _In_opt_ CONST D2D1_SIZE_U *desiredPixelSize, const D2D1_PIXEL_FORMAT &desiredFormat, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options=D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS::D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE) const |
BitmapRenderTarget | CreateCompatibleRenderTarget (const D2D1_SIZE_F &desiredSize, const D2D1_SIZE_U &desiredPixelSize, const D2D1_PIXEL_FORMAT &desiredFormat, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options=D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS::D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE) const |
BitmapRenderTarget | CreateCompatibleRenderTarget (const D2D1_SIZE_F &desiredSize, const D2D1_SIZE_U *desiredPixelSize) const |
BitmapRenderTarget | CreateCompatibleRenderTarget (const D2D1_SIZE_F &desiredSize, const D2D1_SIZE_U &desiredPixelSize) const |
BitmapRenderTarget | CreateCompatibleRenderTarget (const D2D1_SIZE_F &desiredSize, const D2D1_PIXEL_FORMAT *desiredFormat) const |
BitmapRenderTarget | CreateCompatibleRenderTarget (const D2D1_SIZE_F &desiredSize, const D2D1_PIXEL_FORMAT &desiredFormat) const |
BitmapRenderTarget | CreateCompatibleRenderTarget (const D2D1_SIZE_F &desiredSize) const |
void | CreateLayer (const D2D1_SIZE_F *size, ID2D1Layer **layer) const |
Creates a layer resource that can be used with this render target and its compatible render targets. | |
Layer | CreateLayer (const D2D1_SIZE_F *size=nullptr) const |
Layer | CreateLayer (const D2D1_SIZE_F &size) const |
void | CreateMesh (ID2D1Mesh **mesh) const |
Create a mesh that uses triangles to describe a shape. | |
Mesh | CreateMesh () const |
void | DrawLine (const D2D1_POINT_2F &point0, const D2D1_POINT_2F &point1, ID2D1Brush *brush, FLOAT strokeWidth=1.0f, ID2D1StrokeStyle *strokeStyle=nullptr) const |
Draws a line between the specified points using the specified stroke style. | |
void | DrawLine (const D2D1_POINT_2F &point0, const D2D1_POINT_2F &point1, ID2D1Brush *brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawLine (const D2D1_POINT_2F &point0, const D2D1_POINT_2F &point1, const Brush &brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawLine (const D2D1_POINT_2F &point0, const D2D1_POINT_2F &point1, const Brush &brush, FLOAT strokeWidth=1.0f) const |
void | DrawRectangle (const D2D1_RECT_F *rect, ID2D1Brush *brush, FLOAT strokeWidth=1.0f, ID2D1StrokeStyle *strokeStyle=nullptr) const |
Draws the outline of a rectangle that has the specified dimensions and stroke style. | |
void | DrawRectangle (const D2D1_RECT_F &rect, ID2D1Brush *brush, FLOAT strokeWidth=1.0f, ID2D1StrokeStyle *strokeStyle=nullptr) const |
void | DrawRectangle (const D2D1_RECT_F *rect, ID2D1Brush *brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawRectangle (const D2D1_RECT_F *rect, const Brush &brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawRectangle (const D2D1_RECT_F *rect, const Brush &brush, FLOAT strokeWidth=1.0f) const |
void | DrawRectangle (const D2D1_RECT_F &rect, ID2D1Brush *brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawRectangle (const D2D1_RECT_F &rect, const Brush &brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawRectangle (const D2D1_RECT_F &rect, const Brush &brush, FLOAT strokeWidth=1.0f) const |
void | FillRectangle (const D2D1_RECT_F *rect, ID2D1Brush *brush) const |
Paints the interior of the specified rectangle. | |
void | FillRectangle (const D2D1_RECT_F &rect, ID2D1Brush *brush) const |
void | FillRectangle (const D2D1_RECT_F *rect, const Brush &brush) const |
void | FillRectangle (const D2D1_RECT_F &rect, const Brush &brush) const |
void | DrawRoundedRectangle (const D2D1_ROUNDED_RECT *roundedRect, ID2D1Brush *brush, FLOAT strokeWidth=1.0f, ID2D1StrokeStyle *strokeStyle=nullptr) const |
Draws the outline of the specified rounded rectangle using the specified stroke style. | |
void | DrawRoundedRectangle (const D2D1_ROUNDED_RECT &roundedRect, ID2D1Brush *brush, FLOAT strokeWidth=1.0f, ID2D1StrokeStyle *strokeStyle=nullptr) const |
void | DrawRoundedRectangle (const D2D1_ROUNDED_RECT *roundedRect, ID2D1Brush *brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawRoundedRectangle (const D2D1_ROUNDED_RECT *roundedRect, const Brush &brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawRoundedRectangle (const D2D1_ROUNDED_RECT *roundedRect, const Brush &brush, FLOAT strokeWidth=1.0f) const |
void | DrawRoundedRectangle (const D2D1_ROUNDED_RECT &roundedRect, ID2D1Brush *brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawRoundedRectangle (const D2D1_ROUNDED_RECT &roundedRect, const Brush &brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawRoundedRectangle (const D2D1_ROUNDED_RECT &roundedRect, const Brush &brush, FLOAT strokeWidth=1.0f) const |
void | FillRoundedRectangle (const D2D1_ROUNDED_RECT *roundedRect, ID2D1Brush *brush) const |
Paints the interior of the specified rounded rectangle. | |
void | FillRoundedRectangle (const D2D1_ROUNDED_RECT &roundedRect, ID2D1Brush *brush) const |
void | FillRoundedRectangle (const D2D1_ROUNDED_RECT *roundedRect, const Brush &brush) const |
void | FillRoundedRectangle (const D2D1_ROUNDED_RECT &roundedRect, const Brush &brush) const |
void | DrawEllipse (const D2D1_ELLIPSE *ellipse, ID2D1Brush *brush, FLOAT strokeWidth=1.0f, ID2D1StrokeStyle *strokeStyle=nullptr) const |
Draws the outline of the specified ellipse using the specified stroke style. | |
void | DrawEllipse (const D2D1_ELLIPSE &ellipse, ID2D1Brush *brush, FLOAT strokeWidth=1.0f, ID2D1StrokeStyle *strokeStyle=nullptr) const |
void | DrawEllipse (const D2D1_ELLIPSE *ellipse, ID2D1Brush *brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawEllipse (const D2D1_ELLIPSE *ellipse, const Brush &brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawEllipse (const D2D1_ELLIPSE *ellipse, const Brush &brush, FLOAT strokeWidth=1.0f) const |
void | DrawEllipse (const D2D1_ELLIPSE &ellipse, ID2D1Brush *brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawEllipse (const D2D1_ELLIPSE &ellipse, const Brush &brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawEllipse (const D2D1_ELLIPSE &ellipse, const Brush &brush, FLOAT strokeWidth=1.0f) const |
void | FillEllipse (const D2D1_ELLIPSE *ellipse, ID2D1Brush *brush) const |
Paints the interior of the specified ellipse. | |
void | FillEllipse (const D2D1_ELLIPSE &ellipse, ID2D1Brush *brush) const |
void | FillEllipse (const D2D1_ELLIPSE *ellipse, const Brush &brush) const |
void | FillEllipse (const D2D1_ELLIPSE &ellipse, const Brush &brush) const |
void | DrawGeometry (ID2D1Geometry *geometry, ID2D1Brush *brush, FLOAT strokeWidth=1.0f, ID2D1StrokeStyle *strokeStyle=nullptr) const |
Draws the outline of the specified geometry using the specified stroke style. | |
void | DrawGeometry (const Geometry &geometry, ID2D1Brush *brush, FLOAT strokeWidth=1.0f, ID2D1StrokeStyle *strokeStyle=nullptr) const |
void | DrawGeometry (ID2D1Geometry *geometry, ID2D1Brush *brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawGeometry (ID2D1Geometry *geometry, const Brush &brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawGeometry (ID2D1Geometry *geometry, const Brush &brush, FLOAT strokeWidth=1.0f) const |
void | DrawGeometry (const Geometry &geometry, ID2D1Brush *brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawGeometry (const Geometry &geometry, const Brush &brush, FLOAT strokeWidth, const StrokeStyle &strokeStyle) const |
void | DrawGeometry (const Geometry &geometry, const Brush &brush, FLOAT strokeWidth=1.0f) const |
void | FillGeometry (ID2D1Geometry *geometry, ID2D1Brush *brush, ID2D1Brush *opacityBrush=nullptr) const |
Paints the interior of the specified geometry. | |
void | FillGeometry (ID2D1Geometry *geometry, ID2D1Brush *brush, const Brush &opacityBrush) const |
void | FillGeometry (ID2D1Geometry *geometry, const Brush &brush, const Brush &opacityBrush) const |
void | FillGeometry (ID2D1Geometry *geometry, const Brush &brush, ID2D1Brush *opacityBrush=nullptr) const |
void | FillGeometry (const Geometry &geometry, const Brush &brush, ID2D1Brush *opacityBrush=nullptr) const |
void | FillGeometry (const Geometry &geometry, const Brush &brush, const Brush &opacityBrush) const |
void | FillMesh (ID2D1Mesh *mesh, ID2D1Brush *brush) const |
Paints the interior of the specified mesh. | |
void | FillMesh (ID2D1Mesh *mesh, const Brush &brush) const |
void | FillMesh (const Mesh &mesh, ID2D1Brush *brush) const |
void | FillMesh (const Mesh &mesh, const Brush &brush) const |
void | FillOpacityMask (ID2D1Bitmap *opacityMask, ID2D1Brush *brush, D2D1_OPACITY_MASK_CONTENT content=D2D1_OPACITY_MASK_CONTENT_GRAPHICS, const D2D1_RECT_F *destinationRectangle=nullptr, const D2D1_RECT_F *sourceRectangle=nullptr) const |
Applies the opacity mask described by the specified bitmap to a brush and uses that brush to paint a region of the render target. | |
void | FillOpacityMask (const Bitmap &opacityMask, ID2D1Brush *brush, D2D1_OPACITY_MASK_CONTENT content=D2D1_OPACITY_MASK_CONTENT_GRAPHICS, const D2D1_RECT_F *destinationRectangle=nullptr, const D2D1_RECT_F *sourceRectangle=nullptr) const |
void | FillOpacityMask (const Bitmap &opacityMask, const Brush &brush, D2D1_OPACITY_MASK_CONTENT content=D2D1_OPACITY_MASK_CONTENT_GRAPHICS, const D2D1_RECT_F *destinationRectangle=nullptr, const D2D1_RECT_F *sourceRectangle=nullptr) const |
void | DrawBitmap (ID2D1Bitmap *bitmap, const D2D1_RECT_F *destinationRectangle, FLOAT opacity=1.0f, D2D1_BITMAP_INTERPOLATION_MODE interpolationMode=D2D1_BITMAP_INTERPOLATION_MODE_LINEAR, const D2D1_RECT_F *sourceRectangle=nullptr) const |
Draws the specified bitmap after scaling it to the size of the specified rectangle. | |
void | DrawBitmap (const Bitmap &bitmap, const D2D1_RECT_F *destinationRectangle, FLOAT opacity=1.0f, D2D1_BITMAP_INTERPOLATION_MODE interpolationMode=D2D1_BITMAP_INTERPOLATION_MODE_LINEAR, const D2D1_RECT_F *sourceRectangle=nullptr) const |
void | DrawText (const WCHAR *string, UINT32 stringLength, IDWriteTextFormat *textFormat, const D2D1_RECT_F *layoutRect, ID2D1Brush *defaultForegroundBrush, D2D1_DRAW_TEXT_OPTIONS options=D2D1_DRAW_TEXT_OPTIONS_NONE, DWRITE_MEASURING_MODE measuringMode=DWRITE_MEASURING_MODE_NATURAL) const |
Draws the specified text using the format information provided by an IDWriteTextFormat object. | |
void | DrawText (const WCHAR *string, UINT32 stringLength, const DirectWrite::TextFormat &textFormat, const D2D1_RECT_F *layoutRect, const Brush &defaultForegroundBrush, D2D1_DRAW_TEXT_OPTIONS options=D2D1_DRAW_TEXT_OPTIONS_NONE, DWRITE_MEASURING_MODE measuringMode=DWRITE_MEASURING_MODE_NATURAL) const |
void | DrawText (const WideString &text, IDWriteTextFormat *textFormat, const D2D1_RECT_F *layoutRect, ID2D1Brush *defaultForegroundBrush, D2D1_DRAW_TEXT_OPTIONS options=D2D1_DRAW_TEXT_OPTIONS_NONE, DWRITE_MEASURING_MODE measuringMode=DWRITE_MEASURING_MODE_NATURAL) const |
void | DrawText (const WideString &text, const DirectWrite::TextFormat &textFormat, const D2D1_RECT_F *layoutRect, const Brush &defaultForegroundBrush, D2D1_DRAW_TEXT_OPTIONS options=D2D1_DRAW_TEXT_OPTIONS_NONE, DWRITE_MEASURING_MODE measuringMode=DWRITE_MEASURING_MODE_NATURAL) const |
void | DrawTextLayout (const D2D1_POINT_2F &origin, IDWriteTextLayout *textLayout, ID2D1Brush *defaultForegroundBrush, D2D1_DRAW_TEXT_OPTIONS options=D2D1_DRAW_TEXT_OPTIONS_NONE) const |
Draws the formatted text described by the specified IDWriteTextLayout object. | |
void | DrawTextLayout (const D2D1_POINT_2F &origin, const DirectWrite::TextLayout &textLayout, const Brush &defaultForegroundBrush, D2D1_DRAW_TEXT_OPTIONS options=D2D1_DRAW_TEXT_OPTIONS_NONE) const |
void | DrawGlyphRun (const D2D1_POINT_2F &baselineOrigin, const DWRITE_GLYPH_RUN *glyphRun, ID2D1Brush *foregroundBrush, DWRITE_MEASURING_MODE measuringMode=DWRITE_MEASURING_MODE_NATURAL) const |
Draws the specified glyphs. | |
void | DrawGlyphRun (const D2D1_POINT_2F &baselineOrigin, const DWRITE_GLYPH_RUN *glyphRun, const Brush &foregroundBrush, DWRITE_MEASURING_MODE measuringMode=DWRITE_MEASURING_MODE_NATURAL) const |
void | SetTransform (const D2D1_MATRIX_3X2_F *transform) const |
Applies the specified transform to the render target, replacing the existing transformation. All subsequent drawing operations occur in the transformed space. | |
void | SetTransform (const D2D1_MATRIX_3X2_F &transform) const |
void | GetTransform (D2D1_MATRIX_3X2_F *transform) const |
Gets the current transform of the render target. | |
void | GetTransform (D2D1_MATRIX_3X2_F &transform) const |
D2D1_MATRIX_3X2_F | GetTransform () const |
void | SetAntialiasMode (D2D1_ANTIALIAS_MODE antialiasMode) const |
Sets the anti-aliasing mode of the render target. The anti-aliasing mode applies to all subsequent drawing operations, excluding text and glyph drawing operations. | |
D2D1_ANTIALIAS_MODE | GetAntialiasMode () const |
Retrieves the current anti-aliasing mode for non-text drawing operations. | |
void | SetTextAntialiasMode (D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode) const |
Specifies the anti-aliasing mode to use for subsequent text and glyph drawing operations. | |
D2D1_TEXT_ANTIALIAS_MODE | GetTextAntialiasMode () const |
Gets the current anti-aliasing mode for text and glyph drawing operations. | |
void | SetTextRenderingParams (IDWriteRenderingParams *textRenderingParams=nullptr) const |
Specifies text rendering options to be applied to all subsequent text and glyph drawing operations. | |
void | SetTextRenderingParams (const DirectWrite::RenderingParams &textRenderingParams) const |
void | GetTextRenderingParams (IDWriteRenderingParams **textRenderingParams) const |
Retrieves the render target's current text rendering options. | |
DirectWrite::RenderingParams | GetTextRenderingParams () const |
void | SetTags (D2D1_TAG tag1, D2D1_TAG tag2) const |
Specifies a label for subsequent drawing operations. | |
void | GetTags (D2D1_TAG *tag1, D2D1_TAG *tag2) const |
Gets the label for subsequent drawing operations. | |
D2D1_TAG | GetTag1 () const |
D2D1_TAG | GetTag2 () const |
std::pair< D2D1_TAG, D2D1_TAG > | GetTags () const |
void | PushLayer (const D2D1_LAYER_PARAMETERS *layerParameters, ID2D1Layer *layer=nullptr) const |
Adds the specified layer to the render target so that it receives all subsequent drawing operations until PopLayer is called. | |
void | PushLayer (const D2D1_LAYER_PARAMETERS &layerParameters, ID2D1Layer *layer=nullptr) const |
void | PopLayer () const |
Stops redirecting drawing operations to the layer that is specified by the last PushLayer call. | |
void | Flush (D2D1_TAG *tag1=nullptr, D2D1_TAG *tag2=nullptr) const |
Executes all pending drawing commands. | |
void | SaveDrawingState (ID2D1DrawingStateBlock *drawingStateBlock) const |
Saves the current drawing state to the specified ID2D1DrawingStateBlock. | |
void | SaveDrawingState (const DrawingStateBlock &drawingStateBlock) const |
void | RestoreDrawingState (ID2D1DrawingStateBlock *drawingStateBlock) const |
Sets the render target's drawing state to that of the specified ID2D1DrawingStateBlock. | |
void | RestoreDrawingState (const DrawingStateBlock &drawingStateBlock) const |
void | PushAxisAlignedClip (const D2D1_RECT_F *clipRect, D2D1_ANTIALIAS_MODE antialiasMode=D2D1_ANTIALIAS_MODE_PER_PRIMITIVE) const |
Specifies a rectangle to which all subsequent drawing operations are clipped. | |
void | PushAxisAlignedClip (const D2D1_RECT_F &clipRect, D2D1_ANTIALIAS_MODE antialiasMode=D2D1_ANTIALIAS_MODE_PER_PRIMITIVE) const |
void | PopAxisAlignedClip () const |
Removes the last axis-aligned clip from the render target. After this method is called, the clip is no longer applied to subsequent drawing operations. | |
void | Clear (const D2D1_COLOR_F *clearColor=nullptr) const |
Clears the drawing area to the specified color. | |
void | Clear (const D2D1_COLOR_F &clearColor) const |
void | BeginDraw () const |
Initiates drawing on this render target. | |
void | EndDraw (D2D1_TAG *tag1=nullptr, D2D1_TAG *tag2=nullptr) const |
Ends drawing operations on the render target and indicates the current error state and associated tags. | |
D2D1_PIXEL_FORMAT | GetPixelFormat () const |
Retrieves the pixel format and alpha mode of the render target. | |
void | SetDpi (FLOAT dpiX, FLOAT dpiY) const |
Sets the dots per inch (DPI) of the render target. | |
void | SetDpi (const D2D1_SIZE_F &dpi) const |
void | GetDpi (FLOAT *dpiX, FLOAT *dpiY) const |
Return the render target's dots per inch (DPI). | |
void | GetDpi (FLOAT &dpiX, FLOAT &dpiY) const |
D2D1_SIZE_F | GetDpi () const |
D2D1_SIZE_F | GetSize () const |
Returns the size of the render target in device-independent pixels. | |
D2D1_SIZE_U | GetPixelSize () const |
Returns the size of the render target in device pixels. | |
UINT32 | GetMaximumBitmapSize () const |
Gets the maximum size, in device-dependent units (pixels), of any one bitmap dimension supported by the render target. | |
bool | IsSupported (const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties) const |
Indicates whether the render target supports the specified properties. | |
![]() | |
template<typename T = Factory> requires std::is_base_of_v< Factory, T> | |
T | GetFactory () |
![]() | |
constexpr | Unknown () noexcept |
Unknown (IUnknown *unknown, bool addref=false) noexcept | |
Unknown (REFIID iid, const Unknown &unknown, bool throwIfNoInterface=true) | |
Unknown (const Unknown &other) noexcept | |
Unknown (Unknown &&other) noexcept | |
~Unknown () noexcept | |
constexpr | operator bool () const noexcept |
Unknown & | operator= (const Unknown &other) noexcept |
Unknown & | operator= (Unknown &&other) noexcept |
void | swap (Unknown &other) noexcept |
void | ResetPtr (IUnknown *other=nullptr, bool addRef=false) noexcept |
Unknown & | operator= (nullptr_t) |
IUnknown * | Detach () |
template<typename T > requires std::is_base_of_v<Unknown, T > | |
T | As () const |
template<typename T > requires std::is_base_of_v<Unknown, T> | |
bool | Is () const noexcept |
template<typename T > requires std::is_base_of_v<IUnknown, T> | |
ComPtr< T > | As () const |
template<typename T > requires std::is_base_of_v<IUnknown, T> | |
bool | Is () const noexcept |
This function can be used to detect if an object supports a particular COM interface derived from IUnknown. | |
template<typename T = IUnknown> | |
T * | GetInterfacePointer () const noexcept |
bool | QueryInterface (REFIID riid, void **itf) const |
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID). If the COM object implements the interface, then it returns a pointer to that interface after calling IUnknown::AddRef on it. | |
template<typename T > requires std::is_base_of_v<IUnknown, T> | |
bool | QueryInterface (T **itf) const |
constexpr bool | operator== (const Unknown &other) const noexcept |
constexpr bool | operator!= (const Unknown &other) const noexcept |
constexpr bool | operator== (const IUnknown *other) const noexcept |
constexpr bool | operator!= (const IUnknown *other) const noexcept |
![]() | |
template<typename T > requires std::is_base_of_v<Unknown, T> | |
static T | CoCreateInstanceFromClassId (const CLSID &clsid, DWORD classContext=CLSCTX_INPROC_SERVER) |
template<typename T > requires std::is_base_of_v<Unknown, T> | |
static T | CoCreateInstanceFromClassId (const wchar_t *clsid, DWORD classContext=CLSCTX_INPROC_SERVER) |
template<typename T > requires std::is_base_of_v<Unknown, T> | |
static T | CoCreateInstanceFromClassId (const WideString &clsid, DWORD classContext=CLSCTX_INPROC_SERVER) |
template<typename T > requires std::is_base_of_v<Unknown, T> | |
static T | CoCreateInstanceFromProgId (const wchar_t *progId, DWORD classContext=CLSCTX_INPROC_SERVER) |
template<typename T > requires std::is_base_of_v<Unknown, T> | |
static T | CoCreateInstanceFromProgId (const WideString &progId, DWORD classContext=CLSCTX_INPROC_SERVER) |
template<typename T > requires std::is_base_of_v<Unknown, T> | |
static T | CoCreateInstanceFromDll (const ModuleHandle &dll, const CLSID &clsid) |
![]() | |
IUnknown * | unknown_ |
This class performs all the same functions as the DeviceContext2 class, plus it enables functionality for creating and drawing sprite batches.
|
inlineprivate |
|
inlineprivate |
Creates a new, empty sprite batch. After creating a sprite batch, use SpriteBatch::AddSprites to add sprites to it, then use DeviceContext3::DrawSpriteBatch to draw it.
spriteBatch | When this method returns, contains a pointer to a new, empty sprite batch to be populated by the app. |
|
inlineprivate |
Draws all sprites in a sprite batch.
|
inlineprivate |
Renders all sprites in the given sprite batch to the device context using the specified drawing options.
spriteBatch | The sprite batch to draw. |
startIndex | The index of the first sprite in the sprite batch to draw. |
spriteCount | The number of sprites to draw. |
bitmap | The bitmap from which the sprites are to be sourced. Each sprite's source rectangle refers to a portion of this bitmap. |
interpolationMode | The interpolation mode to use when drawing this sprite batch. This determines how Direct2D interpolates pixels within the drawn sprites if scaling is performed. The default is D2D1_BITMAP_INTERPOLATION_MODE_LINEAR. |
spriteOptions | The additional drawing options, if any, to be used for this sprite batch. The default is D2D1_SPRITE_OPTIONS_NONE, |
|
inlineprivate |
|
inlineprivate |