TextureBrush class (gdiplusbrush.h)

The TextureBrush class defines a Brush object that contains an Image object that is used for the fill. The fill image can be transformed by using the local Matrix object contained in the Brush object.

Inheritance

The TextureBrush class implements Brush.

Methods

The TextureBrush class has these methods.

 
TextureBrush::GetImage

The TextureBrush::GetImage method gets a pointer to the Image object that is defined by this texture brush.
TextureBrush::GetTransform

The TextureBrush::GetTransform method gets the transformation matrix of this texture brush.
TextureBrush::GetWrapMode

The TextureBrush::GetWrapMode method gets the wrap mode currently set for this texture brush.
TextureBrush::MultiplyTransform

The TextureBrush::MultiplyTransform method updates this brush's transformation matrix with the product of itself and another matrix.
TextureBrush::ResetTransform

The TextureBrush::ResetTransform method resets the transformation matrix of this texture brush to the identity matrix. This means that no transformation takes place.
TextureBrush::RotateTransform

The TextureBrush::RotateTransform method updates this texture brush's current transformation matrix with the product of itself and a rotation matrix.
TextureBrush::ScaleTransform

The TextureBrush::ScaleTransform method updates this texture brush's current transformation matrix with the product of itself and a scaling matrix.
TextureBrush::SetTransform

The TextureBrush::SetTransform method sets the transformation matrix of this texture brush.
TextureBrush::SetWrapMode

The TextureBrush::SetWrapMode method sets the wrap mode of this texture brush.
TextureBrush::TextureBrush

The TextureBrush::TextureBrush(const TextureBrush &) constructor (gdiplusbrush.h) lists the constructors of the TextureBrush class.
TextureBrush::TextureBrush

Creates a TextureBrush object based on an image, a defining rectangle, and a set of image properties. (overload 1/2)
TextureBrush::TextureBrush

Creates a TextureBrush object based on an image, a defining rectangle, and a set of image properties. (overload 2/2)
TextureBrush::TextureBrush

Creates a TextureBrush object based on an image and a wrap mode. The size of the brush defaults to the size of the image, so the entire image is used by the brush.
TextureBrush::TextureBrush

Creates a TextureBrush object based on an image, a wrap mode, and a defining rectangle. (overload 1/2)
TextureBrush::TextureBrush

Creates a TextureBrush object based on an image, a wrap mode, and a defining rectangle. (overload 2/2)
TextureBrush::TextureBrush

Creates a TextureBrush object based on an image, a wrap mode, and a defining set of coordinates. (overload 1/2)
TextureBrush::TextureBrush

Creates a TextureBrush object based on an image, a wrap mode, and a defining set of coordinates. (overload 2/2)
TextureBrush::TextureBrush

The TextureBrush::TextureBrush~r9 constructor (gdiplusbrush.h) lists the constructors of the TextureBrush class.
TextureBrush::TranslateTransform

The TextureBrush::TranslateTransform method updates this brush's current transformation matrix with the product of itself and a translation matrix.

Requirements

Requirement Value
Target Platform Windows
Header gdiplusbrush.h