juno.media.constants Module

Licence
See licence.txt for use and distribution terms.

enum KnownColor;

Specifies the known system colors.

ActiveBorder
ActiveCaption
ActiveCaptionText
AppWorkspace
Control
ControlDark
ControlDarkDark
ControlLight
ControlLightLight
ControlText
Desktop
GrayText
Highlight
HighlightText
HotTrack
InactiveBorder
InactiveCaption
InactiveCaptionText
Info
InfoText
Menu
MenuText
ScrollBar
Window
WindowFrame
WindowText
Transparent
AliceBlue
AntiqueWhite
Aqua
Aquamarine
Azure
Beige
Bisque
Black
BlanchedAlmond
Blue
BlueViolet
Brown
BurlyWood
CadetBlue
Chartreuse
Chocolate
Coral
CornflowerBlue
Cornsilk
Crimson
Cyan
DarkBlue
DarkCyan
DarkGoldenrod
DarkGray
DarkGreen
DarkKhaki
DarkMagenta
DarkOliveGreen
DarkOrange
DarkOrchid
DarkRed
DarkSalmon
DarkSeaGreen
DarkSlateBlue
DarkSlateGray
DarkTurquoise
DarkViolet
DeepPink
DeepSkyBlue
DimGray
DodgerBlue
Firebrick
FloralWhite
ForestGreen
Fuchsia
Gainsboro
GhostWhite
Gold
Goldenrod
Gray
Green
GreenYellow
Honeydew
HotPink
IndianRed
Indigo
Ivory
Khaki
Lavender
LavenderBlush
LawnGreen
LemonChiffon
LightBlue
LightCoral
LightCyan
LightGoldenrodYellow
LightGray
LightGreen
LightPink
LightSalmon
LightSeaGreen
LightSkyBlue
LightSlateGray
LightSteelBlue
LightYellow
Lime
LimeGreen
Linen
Magenta
Maroon
MediumAquamarine
MediumBlue
MediumOrchid
MediumPurple
MediumSeaGreen
MediumSlateBlue
MediumSpringGreen
MediumTurquoise
MediumVioletRed
MidnightBlue
MintCream
MistyRose
Moccasin
NavajoWhite
Navy
OldLace
Olive
OliveDrab
Orange
OrangeRed
Orchid
PaleGoldenrod
PaleGreen
PaleTurquoise
PaleVioletRed
PapayaWhip
PeachPuff
Peru
Pink
Plum
PowderBlue
Purple
Red
RosyBrown
RoyalBlue
SaddleBrown
Salmon
SandyBrown
SeaGreen
SeaShell
Sienna
Silver
SkyBlue
SlateBlue
SlateGray
Snow
SpringGreen
SteelBlue
Tan
Teal
Thistle
Tomato
Turquoise
Violet
Wheat
White
WhiteSmoke
Yellow
YellowGreen
ButtonFace
ButtonHighlight
ButtonShadow
GradientActiveCaption
GradientInactiveCaption
MenuBar
MenuHighlight

A system-defined color.

enum CombineMode;

Specifies how different clipping regions can be combined.

Replace

One clipping region is replaced by another.

Intersect

Two clipping regions are combined by taking their intersection.

Union

Two clipping regions are combined by taking the union of both.

Xor

Two clipping regions are combined by taking only the areas enclosed by one or other region.

Exclude

The existing region is excluded from the new region.

Complement

The new region is excluded from the existing region.

enum FlushIntention;

Specifies whether commands in the graphics stack are flushed immediately.

Flush

The stack of all graphics operations in flushed immediately.

Sync

All graphics operations on the stack are executed as soon as possible, thus synchronizing the graphics state.

enum MatrixOrder;

Specifies the order for matrix transform operations.

Prepend

The new operation is applied before the old operation.

Append

The new operation is applied after the old operation.

enum GraphicsUnit;

Specifies the unit of measure for given data.

World

Specifies the world unit as the unit of measure.

Display

Specifies 1/75 inch as the unit of measure.

Pixel

Specifies a device pixel as the unit of measure.

Point

Specifies a printer's point (1/72 inch) as the unit of measure.

Inch

Specifies the inch as the unit of measure.

Document

Specifies the document unit (1/300 inch) as the unit of measure.

Millimeter

Specifies the millimeter as the unit of measure.

enum QualityMode;

Specifies the quality when rendering GDI+ objects.

Invalid

Specifies an invalid mode.

Default

Specifies the default mode.

Low

Specifies low quality, high speed rendering.

High

Specifies high quality, low speed rendering.

enum SmoothingMode;

Specifies whether smoothing (antialiasing) is applied to lines, curves and the edges of filled areas.

Invalid

Specifies an invalid mode.

Default

Specifies the default mode.

HighSpeed

Specifies high speed, low quality rendering.

HighQuality

Specifies high quality, low speed rendering.

None

Specifies no antialiasing.

AntiAlias

Specifies antialiased rendering.

enum InterpolationMode;

Specifies how data is interpolated between endpoints.

Invalid

Specifies an invalid mode.

Default

Specifies the default mode.

Low

Specifies low quality interpolation.

High

Specifies high quality interpolation.

Bilinear

Specifies bilinear interpolation.

Bicubic

Specifies bicubic interpolation.

NearestNeighbor

Specifies nearest-neighbor interpolation.

HighQualityBilinear

Specifies high quality bilinear interpolation.

HighQualityBicubic

Specifies high quality bicubic interpolation.

enum CompositingMode;

Specifies how the source colors are combined with the background colors.

SourceOver

Specifies that the color is blended with the background color.

SourceCopy

Specifies that the color overwrites the background color.

enum CompositingQuality;

Specifies the quality level to use during compositing.

Invalid

Invalid quality.

Default

Default quality.

HighSpeed

High speed, low quality.

HighQuality

High quality, low speed.

GammaCorrected

Gamma correction is used.

AssumeLinear

Assume linear values.

enum PixelOffsetMode;

Specifies how pixels are offset during rendering.

Invalid

Specifies an invalid mode.

Default

Specifies the default mode.

HighSpeed

Specifies high speed, low quality rendering.

HighQuality

Specifies high quality, low speed rendering.

None

Specifies no pixel offset.

Half

Specifies that pixels are offset by -.5 units for high speed antialiasing.

enum PixelFormat;

Specifies the format of the color data for each pixel in the image.

Undefined

The pixel format is undefined.

DontCare

No pixel format is specified.

Indexed

The pixel data contains color-indexed values.

Gdi

The pixel data contains GDI colors.

Alpha

The pixel data contains alpha values that are not premultiplied.

PAlpha

The pixel data contains premultiplied alpha values.

Extended

Reserved.

Canonical

Reserved.

Format1bppIndexed

Specifies that the pixel format is 1 bit per pixel and that it uses indexed color.

Format4bppIndexed

Specifies that the format is 4 bits per pixel, indexed.

Format8bppIndexed

Specifies that the format is 8 bits per pixel, indexed.

Format16bppGrayScale

The pixel format is 16 bits per pixel. The color information specifies 65536 shades of gray.

Format16bppRgb555

Specifies that the format is 16 bits per pixel; 5 bits each are used for the red, green, and blue components.

Format16bppRgb565

Specifies that the format is 16 bits per pixel; 5 bits are used for the red component, 6 bits are used for the green component, and 5 bits are used for the blue component.

Format16bppArgb1555

The pixel format is 16 bits per pixel. The color information specifies 32,768 shades of color, of which 5 bits are red, 5 bits are green, 5 bits are blue, and 1 bit is alpha.

Format24bppRgb

Specifies that the format is 24 bits per pixel; 8 bits each are used for the red, green, and blue components.

Format32bppRgb

Specifies that the format is 32 bits per pixel; 8 bits each are used for the red, green, and blue components.

Format32bppArgb

Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components.

Format32bppPArgb

Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied according to the alpha component.

Format48bppRgb

Specifies that the format is 48 bits per pixel; 16 bits each are used for the red, green, and blue components.

Format64bppArgb

Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components.

Format64bppPArgb

Specifies that the format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied according to the alpha component.