Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgreadscreensize.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgreadscreensize.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgreadscreensize.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgreadscreensize.html on line 8
Determine the memory requirements for reading an image from the screen
unsigned long PgReadScreenSize( PhRect_t *rect );
ph
This function determines how much memory is required to store an image
that would be generated by a corresponding call to
PgReadScreen().
This function is useful only if you plan to allocate an image storage buffer
yourself.
The
PhRect_t
structure pointed to by rect specifies the target area
(in absolute Photon
coordinates).
|
You must target this function at a specific card by calling
PdSetTargetDevice().
PgReadScreenSize() blocks until the operation is complete. |
The number of bytes required to store the image, including palette data
(if applicable), or 0 if an error occurred.
See
PgReadScreen().
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PgReadScreen(),
PhRect_t
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgreadscreensize.html on line 115
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgreadscreensize.html on line 115