Compartilhar via


SinkFlags

A version of this page is also available for

Windows Embedded CE 6.0 R3

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

Reference

Imaging Enumerations
ImageFlags