All Databases
Inside Mac - Index
Picture
Picture
structure
#include <
Quickdraw.h
>
typedef struct
Picture
{
Size Offset Description
short
picSize ; 2 0 Size, in bytes, of this structure
Rect
picFrame ; 8 2 Area in which picture is drawn, in
local coords
n
10 (picture definition; internal
format)
10+
n
(variable length structure)
}
Picture
;
typedef Picture
*PicPtr
;
typedef Picture
**PicHandle
;
Notes: A Picture structure may need to be accessed in order to determine its
unscaled original size; eg, after reading it from a resource. A PicHandle is
used in the following system calls:
DrawPicture
GetPicture
KillPicture
OpenPicture
GetWindowPic
SetWindowPic
The
ClosePicture
function completes the operation of recording a picture
which is started via
OpenPicture
(the picture data is accumulated in the
picSave
handle in the current active
GrafPort
).
PicComment
lets you
insert custom data into the picture's definition. A picture can be stored in a
type 'PICT' resource.
The picSize field may be inaccurate. Use
GetHandleSize
to obtain the
actual size.
A PicHandle may reside in the
windowPic
field of a
WindowRecord
, in
which case the picture is assumed to be the entire contents of a window.
Referenced by (124):
CWindowRecord
Handle
How To Spool a Picture to a File
Printing a Drawing
ProcPtrs
TPrStatus
TopMapHndl
Types.h
WindowRecord
visRgn
yellowColor
Vol 16 Issues (MacTech Index)
Vol 7 Issues (MacTech Index)
CWindowRecord (Inside Mac - Index)
Code Example Orphans (Inside Mac - Index)
Handle (Inside Mac - Index)
How To Spool a Picture to a File (Inside Mac - Index)
ProcPtrs (Inside Mac - Index)
Quickdraw (Inside Mac - Index)
TPrStatus (Inside Mac - Index)
WindowRecord (Inside Mac - Index)
uniqueFonts (Inside Mac - Index)
yellowColor (Inside Mac - Index)
About Color QuickDraw and System 7.0 (Inside Mac - Basic Toolbox)
About the Graphics Overview (Inside Mac - Basic Toolbox)
About the Picture Utilities Package (Inside Mac - Basic Toolbox)
CalcCMask (Inside Mac - Basic Toolbox)
Collecting Information From Multiple Pixel Maps or Pictures (Inside Mac - Basic Toolbox)
Creating Custom Color-Sampling Methods (Inside Mac - Basic Toolbox)
Customizing Your Interface (Inside Mac - Basic Toolbox)
Determining The QuickDraw Version (Inside Mac - Basic Toolbox)
DisposPictInfo (Inside Mac - Basic Toolbox)
DrawPicture (Inside Mac - Basic Toolbox)
Extensions to the Version 2 Picture format (Inside Mac - Basic Toolbox)
GetDItem (Inside Mac - Basic Toolbox)
GetPictInfo (Inside Mac - Basic Toolbox)
GetPicture (Inside Mac - Basic Toolbox)
GetPixMapInfo (Inside Mac - Basic Toolbox)
GetWindowPic (Inside Mac - Basic Toolbox)
Getting Color Information (Inside Mac - Basic Toolbox)
Graphics (Inside Mac - Basic Toolbox)
KillPicture (Inside Mac - Basic Toolbox)
Large PICTs (Inside Mac - Basic Toolbox)
Manipulating Pixel Map Images (Inside Mac - Basic Toolbox)
NewPictInfo (Inside Mac - Basic Toolbox)
OpenCPicture (Inside Mac - Basic Toolbox)
OpenPicture (Inside Mac - Basic Toolbox)
Packages (Inside Mac - Basic Toolbox)
PutScrap (Inside Mac - Basic Toolbox)
RecordPictInfo (Inside Mac - Basic Toolbox)
RecordPixMapInfo (Inside Mac - Basic Toolbox)
RetrievePictInfo (Inside Mac - Basic Toolbox)
SeedCFill (Inside Mac - Basic Toolbox)
SeedFill (Inside Mac - Basic Toolbox)
Clipboard 2 (MacTech Vol 01-1984-5)
Using Windows (MacTech Vol 01-1984-5)
Jan 86 Letters (MacTech Vol 02-1986)
PostScript Print (MacTech Vol 02-1986)
Sep 86 Letters (MacTech Vol 02-1986)
Window Scroller (MacTech Vol 02-1986)
Color Capable (MacTech Vol 03-1987)
MacDraw Files (MacTech Vol 03-1987)
New Debugger (MacTech Vol 03-1987)
Nov 87 Letters (MacTech Vol 03-1987)
PICT to RMaker (MacTech Vol 03-1987)
Video (MacTech Vol 03-1987)
4D Externals (MacTech Vol 04-1988)
HyperCard 1.2 (MacTech Vol 04-1988)
Plotter (MacTech Vol 04-1988)
Screen Dump (MacTech Vol 04-1988)
Serial Port Demo (MacTech Vol 04-1988)
Code generators (MacTech Vol 05-1989)
Designer CDEF (MacTech Vol 05-1989)
Dialoger (MacTech Vol 05-1989)
Quadratic Plotters (code) (MacTech Vol 05-1989)
Bitmaps with ResEdit (MacTech Vol 06-1990)
Designing an Object (MacTech Vol 06-1990)
New Toolbox (MacTech Vol 06-1990)
Printing Windows (MacTech Vol 06-1990)
Serius89, HyperBASIC (MacTech Vol 06-1990)
Animate PICS (MacTech Vol 07-1991)
OOP Architectures 1 (MacTech Vol 07-1991)
PICTScavenger (MacTech Vol 07-1991)
History of Icons (MacTech Vol 08-1992)
Rotten Apple (MacTech Vol 08-1992)
ScreenPicker (MacTech Vol 08-1992)
Separate Data, Code (MacTech Vol 08-1992)
Color Animation (MacTech Vol 09-1993)
Feb 93 Tips, Tidbits (MacTech Vol 09-1993)
PictButton (MacTech Vol 09-1993)
PictPack (MacTech Vol 09-1993)
Dylan Application (MacTech Vol 10-1994)
Dylan Language (MacTech Vol 11-1995)
Nov 95 Viewpoint (MacTech Vol 11-1995)
Oct 95 Crabbs Apple (MacTech Vol 11-1995)
Sprocket Menus 2 (MacTech Vol 11-1995)
Sprocket Menus 3 (MacTech Vol 11-1995)
Sprocket Menus 4 (MacTech Vol 11-1995)
Mobbing the Moscone (MacTech Vol 12-1996)
PP Modeless Child Wins (MacTech Vol 12-1996)
Apr 97 Newsbits (MacTech Vol 13-1997)
Desktop Printing Revealed (MacTech Vol 13-1997)
Jul 97 - Macintosh Q and A (MacTech Vol 13-1997)
Jul 97 MacTech Online (MacTech Vol 13-1997)
Jun 97 - Newsbits (MacTech Vol 13-1997)
Introducing QuickTime 3 (MacTech Vol 14-1998)
Jul 98 Getting Started (MacTech Vol 14-1998)
Jul 99 Online (MacTech Vol 15-1999)
Oct 99 Bookshelf (MacTech Vol 15-1999)
BeOS Graphics Tool (MacTech Vol 16-2000)
Mar 00 QTToolkit (MacTech Vol 16-2000)
May 00 Getting Started (MacTech Vol 16-2000)
REALbasic Sprites (MacTech Vol 16-2000)
Vol 16 Issues (MacTech Vol 16-2000)
Dec 00 QTToolkit (MacTech Vol 17-2001)
Mac OS X Public Beta (MacTech Vol 17-2001)
August 92 - MACINTOSH Q & A (develop - 1992)
May 92 - IN SEARCH OF THE OPTIMAL PALETTE (develop - 1992)
June 93 - GRAPHICAL TRUFFLES (develop - 1993)
March 95 - SOMEWHERE IN QUICKTIME (develop - 1995)
December 96 - Print Hints: Safe Travel Through the Printing Jungle (develop - 1996)
June 96 - Connecting Users with QuickTime Conferencing (develop - 1996)
March 96 - Macintosh Q & A (develop - 1996)
September 96 - Letters (develop - 1996)