# develop-01 9001 January 1990 — source transcripts, page 2

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-develop-01-9001-january-1990-39ce13/2)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### PDF page 12

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-01-9001-january-1990-39ce13/2#scan-104c636b5ab08cd91b119a992803411ff74e5e470aa98e28c0392c3ab66be98e)

Transcribed text:

1 0   ___________________________________________________________________________________
d e v e l o p   January 1990
QD32Exists()
{
short error;
Boolean result = False;   /*   Assume not there   */
SysEnvRec theWorld;
error = SysEnvirons (2, &theWorld);
if (theWorld.hasColorQD)
result = (NGetTrapAddress (QD32Trap, ToolTrap) !=
NGetTrapAddress (UnImplTrap, ToolTrap));
return result;
}
main()
{
Boolean QD32IsImplemented;
QD32IsImplemented = QD32Exists();
if (!QD32IsImplemented)
PutUpInformativeMessage();
}
Direct pixMaps   32-Bit QuickDraw supports two new pixel formats,
corresponding to 32-bit pixels and 16-bit pixels. In each case, the pixel’s color is
specified by the pixel value directly.   The pixel value is not an index into a
color look-up table. In a   pixMap , this is specified by setting the   pixelType
field to   RGBDirect   =   16.
Before 32-Bit QuickDraw, when each pixel was a single value representing an
index into a color table, the   cmpCount   field was always equal to 1.   With
RGBDirect   pixels, each pixel contains three components, one each for the
intensities of red, green, and blue; therefore,   cmpCount   should be set to 3.
31   24   23   16   15   8   7   0
Red   Green   Blue
pixelType   =   16;   {RGBDirect}
pixelSize   =   32 ;   {Must be a power of 2}
cmpCount   =   3;   {Three components: Red, Green, Blue}
cmpSize   =   8 ;   {8 bits for each component}
pmVersion   =   0;   {Must be set for future compatibility}
pmTable   {Handle to color table with 1 entry}

Reading notes: Source appears to be a developer documentation page with code listings; no advertised products or prices are present.

Printed dates: January 1990

Languages: English

[Original PDF page 12](https://www.vintageapple.net/files/16a727e97954b98e395f283bf3399d7d8437787039fedde3abd63f8d29274c46/develop-01_9001_January_1990.pdf#page=12)

[Previous transcribed scans](https://www.vintageapple.net/transcripts/media/va-develop-01-9001-january-1990-39ce13/1.md)
