|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| No
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| wingdi.h
| Unicode
| Win95
| Platform Notes
| None
|
|
|
LOGCOLORSPACE
The LOGCOLORSPACE structure contains information that defines a logical color space.
typedef struct tagLOGCOLORSPACE {
DWORD lcsSignature;
DWORD lcsVersion;
DWORD lcsSize;
LCSCSTYPE lcsCSType;
LCSGAMUTMATCH lcsIntent;
CIEXYZTRIPLE lcsEndpoints;
DWORD lcsGammaRed;
DWORD lcsGammaGreen;
DWORD lcsGammaBlue;
TCHAR lcsFilename[MAX_PATH];
} LOGCOLORSPACE, *LPLOGCOLORSPACE;
Members
lcsSignature
Color space signature.
lcsVersion
Version number; must be 0x400.
lcsSize
Size of this structure, in bytes.
lcsCSType
Color space type. Can be one of the following values:
Value
| Meaning
| LCS_DEVICE_RGB
| Color values are device RGB values. The values are passed to the device
without translation.
| LCS_DEVICE_CMYK
| Color values are device CMYK values. The values are passed to the device
without translation
| LCS_CALIBRATED_RGB
| Color values are calibrated RGB values. The values are translated using the
endpoints specified by the lcsEndpoints member before being passed to the device.
|
If LCS_CALIBRATED_RGB is not specified, the lcsEndpoints member is ignored.
lcsIntent
The gamut matching method. Can be one of the following values:
LCS_GM_BUSINESS
| Maintain saturation. Used for business charts and other situations in which
undithered colors are required.
| LCS_GM_GRAPHICS
| Maintain colormetric match. Used for graphic designs and named colors.
| LCS_GM_IMAGES
| Maintain contrast. Used for photographs and natural images.
|
lcsEndpoints
Red, green, blue endpoints.
lcsGammaRed
Scale of the red coordinate.
lcsGammaGreen
Scale of the green coordinate.
lcsGammaBlue
Scale of the blue coordinate.
lcsFilename
A null-terminated string that names a color profile file. This member is
typically set to zero, but may be used to set the color space to be exactly as
specified by the color profile. This is useful for devices that input color values
for a specific printer, or when using an installable image color matcher. If a
color profile is specified, all other members of this structure should be set to
reasonable values, even if the values are not 100 percent accurate.
See Also
RGB, CMYK
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|