Partager via


SinkFlags (Compact 2013)

3/26/2014

This feature is being deprecated for this release. Refer to this component: Windows Imaging Component.

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
    The source image is fully scaleable.
  • SinkFlagsHasAlpha
    The source image contains transparency.
  • SinkFlagsPartiallyScalable
    The source image is partially scaleable.
  • SinkFlagsTopDown
    The source prefers to supply image data from top to bottom.
  • SinkFlagsBottomUp
    The source prefers to supply image data from bottom to top.
  • SinkFlagsFullWidth
    The source prefers to supply complete scan lines of image data.
  • SinkFlagsMultipass
    The source prefers to supply image data by using multiple passes.
  • SinkFlagsComposite
    The source prefers to composite over existing image data in the sink.
  • SinkFlagsWantProps
    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

See Also

Reference

Imaging Enumerations
ImageFlags