BCB-Tools.com

Home of
RAD DirectX

C++ Builder wrapping DirectX

...

Please Register

So we can
create more

the TDx_Library
the TDx9_Library



Welcome to BCB-Tools.com Latest News

Development Tools Demo Applications Step-by-Step Tutorials Component Reference

Register Here! Available Downloads

Frequently Asked Questions Discussion Forums Receive emails from BCB-Tools.com Send us some Feedback

Links to other sites Information about the BCB-Tools.com website


    GLOSSARY REFERENCE

    Below you will find the glossary reference for 'Color Key'
    Go to the Welcome Page
    If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.



    COLOR KEY

    [ TDx_Draw_Library ]     [ next: Color Range ]     [ prev: Color Control ]

    Color keys are specified color values of a surface's pixel format that are given special treatment depending whether it is a destination or source color key. Color keys are usually specified as a single color, but a color range may be used.
    The destination color key identifies a color or color range that may be overwritten by other image information. This can be used to give a foreground effect because pixel colors outside the destination key range will not be overwritten, potentially giving the appearance of the transferred image moving behind those pixels.
    The source color key identifies a color or color range that will not be copied from the source image and thus not drawn at the destination. This can be used to display images that are not rectangular by drawing all the parts of an image that you dont want transferred in a specific color or color range and then defining that color as the source color key when the image is being transferred to it's destination.





























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Forums |  Feedback |  Mailing List |  Links |  Site Information

This page is Copyright © 2008 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are Trademarks of Borland Corporation.
DirectX, DirectDraw, Windows, etc are Trademarks of Microsoft Corporation.