PSPlatformContext Struct Reference

Describes the platformContext used in DisplayPixeldProc. More...

#include <PIGeneral.h>

Data Fields

void * fCGContextRef
VRect fScreenRect

Detailed Description

Describes the platformContext used in DisplayPixeldProc.

Used in DisplayPixelsProc. Version 1 02/26/2009 - new for Photoshop CS5 On Mac Cocoa systems, platFormContext parameter is a pointer to the following structure On 32bit Mac Cocoa platrorm, if platForm context is not NULL, Photoshop will cast platformContext to *PSPlatformContext. On 64 bit Mac systems, platformContext cannot be NULL, since QuickDraw is not supported on 64bit Mac systems. On 32 bit Mac systems (Photoshop CS5 and above), if platformContext is NULL, Photoshop will draw to the global QuickDraw port (as in earlier versions). On Carbon systems (photoshop CS4 and earlier), platFormContext parameter is ignored On Windows systems, platFormContext is an HDC. Photoshop will figure out the global rectangle through WindowFromDC ( ) and GetWindowRect ( ) on that HWND. If a memory DC is passed in platformContext, since Photoshop cannot determine the screen bounds through HDC, primary monitor's color profile will be used for color management.


Field Documentation


The documentation for this struct was generated from the following file: