Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This enumeration is used to describe the properties of an image source.

Syntax

enum SinkFlags {
  SinkFlagsScalable		= ImageFlagsScalable,
  SinkFlagsHasAlpha		= ImageFlagsHasAlpha,
  SinkFlagsPartiallyScalable = ImageFlagsPartiallyScalable,
  SinkFlagsTopDown		 = 0x00010000,
  SinkFlagsBottomUp		= 0x00020000,
  SinkFlagsFullWidth		 = 0x00040000,
  SinkFlagsMultipass		 = 0x00080000,
  SinkFlagsComposite		 = 0x00100000,
  SinkFlagsWantProps		 = 0x00200000
};

Elements

SinkFlagsScalable

Indicates that the source image is fully scaleable.

SinkFlagsHasAlpha

Indicates that the source image contains transparency.

SinkFlagsPartiallyScalable

Indicates that the source image is partially scaleable.

SinkFlagsTopDown

Indicates that the source prefers to supply image data from top to bottom.

SinkFlagsBottomUp

Indicates that the source prefers to supply image data from bottom to top.

SinkFlagsFullWidth

Indicates that the source prefers to supply complete scan lines of image data.

SinkFlagsMultipass

Indicates that the source prefers to supply image data by using multiple passes.

SinkFlagsComposite

Indicates that the source prefers to composite over existing image data in the sink.

SinkFlagsWantProps

Indicates that the source requires property information.

Remarks

The SinkFlags enumeration is divided into two categories, values from the lower byte and values from the upper byte:

  • Values from the lower byte are shared with ImageFlags enumeration and represent properties that are inherent to the image.   

  • Values from the upper byte represent hints that an application can use to work with the image as efficiently as possible.

Requirements

Header imaging.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also