VCL RAD DirectX for C++ Builder

Welcome to

www.tdxlibrary.org

Home of the
the TDx_Library...

=- RAD DirectX =-

"RAD DirectX"
for
C++ Builder

...

Welcome to tdxlibrary.org Latest News

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

Register our Tools Available Downloads

Frequently Asked Questions Links to other sites Information about the tdxlibrary.org website


    TDx_Draw_Library v2.00 Component Reference

    -= Click to navigate the reference =-
    Go to the Welcome Page

    [ TDx_DrawSurface::Blt() ]     [ next: BltFast() ]     [ prev: AddAttachedSurface() ]

    public:

         virtual bool __fastcall Blt( TRect* pDestRect, TDx_DrawSurface* pSrcSurface, TRect* pSrcRect, dword pFlags, TDDBltFX* pBltFx );





    -= Go to the TDx_DrawSurface description =-    TDX_DRAWSURFACE::BLT()   [ component method ]

    • Description
    • Parameters

        DestRect
        The DestRect parameter references a TRect defining the target of the blit on the destination surface.
        Set this parameter to NULL to blit to the entire destination surface.

        This parameter is defined so that the right and bottom members are exclusive. Thus the right value minus the left value will equal the width, not one less than the width.

        SrcSurface
        The SrcSurface parameter references the surface that is to be the source for the blit.

        SrcRect
        The SrcRect parameter references a TRect defining the source rectangle of the blit.
        Set this parameter to NULL to blit from the entire source surface.

        This parameter is defined so that the right and bottom members are exclusive. Thus the right value minus the left value will equal the width, not one less than the width.

        Flags
        The Flags parameter defines flags indicating what effect information the blit is to use and from where that information is to be retrieved.
        The described effect applies when the flag is set.

          DDBLT_ASYNC
          The blit will be performed asynchronously through the FIFO hardware.
          When the FIFO hardware is already full the blit will fail.

          DDBLT_COLORFILL
          The blit will use the TDDBltFX::FillColor referenced by the BltFX parameter of this method as the color that fills the destination rectangle before the blit occurs.

          DDBLT_DDFX
          The blit will use the TDDBltFX::FX referenced by the BltFX parameter of this method to specify the blit effects used.

          DDBLT_DDROPS
          The blit will use the TDDBltFX::DDRops referenced by the BltFX parameter of this method to specify non standard raster operations.

          DDBLT_DEPTHFILL
          The blit will use the TDDBltFX::FillDepth referenced by the BltFX parameter of this method as the depth value that fills the destination rectangle of the z-buffer surface before the blit occurs.

          DDBLT_KEYDEST
          The blit will use the destination surface color key for transparency.

          DDBLT_KEYDESTOVERRIDE
          The blit will use the TDDBltFX::DestColorKey referenced by the BltFX parameter of this method as the destination color key.

          DDBLT_KEYSRC
          The blit will use the source surface color key for transparency effects.

          DDBLT_KEYSRCOVERRIDE
          The blit will use the TDDBltFX::SrcColorKey referenced by the BltFX parameter of this method as the source color key.

          DDBLT_ROP
          The blit will use the TDDBltFX::ROP referenced by the BltFX parameter of this method to define its standard raster operation.
          The possible ROP's are detailed in the Win32 API.

          DDBLT_ROTATIONANGLE
          The blit will use the TDDBltFX::RotationAngle referenced by the BltFX parameteer of this method is to be used as the amount of rotation, in 1/100ths of a degree, applied to the blit.

          DDBLT_WAIT
          The blit will wait for the blitter to accept the command unless an error other than DDERR_WASSTILLDRAWING occurs.

        BltFx
        The BltFx parameter references a TDDBltFX component holding the settings that are to be used when blitting if the corresponding flags are set within the Flags parameter of this method.


    • See Also
    • Top





    If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Links |  Site Information

This page is Copyright © 2019 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.