Welcome to
www.tdxlibrary.org
Home of the
t
h
e
T
D
x
_
L
i
b
r
a
r
y
...
"
R
A
D
D
i
r
e
c
t
X
"
for
C++ Builder
...
TDx_Draw_Library v2.00 Component Reference
[
TDx_DrawSurface
::GetPixelFormat() ] [ next:
GetPriority()
] [ prev:
GetPalette()
]
public:
virtual bool __fastcall GetPixelFormat(
TDDPixelFormat
* pPixelFormat );
TD
X_
D
RAW
S
URFACE::
G
ET
P
IXEL
F
ORMAT() [ component method ]
Description
The TDx_DrawSurface::GetPixelFormat method will retrieve the
surface's
color and
pixel format
information.
If the method call fails, the OnError event will be triggered with one of the following values:
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_INVALIDSURFACETYPE
Parameters
PixelFormat
The PixelFormat parameter references a
TDDPixelFormat
component for holding the
surface's
current pixel and color format if this method returns successfully.
See Also
TDx_DrawSurface
TDDPixelFormat
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
.