Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Please Vote! Binary Installation & Configuration [ Win · Mac · Nix ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix ] Distribution Issues

# SIconDrawer

  Copies icons to a pixel array.

[ Mac | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

## Quick Index

  DESCRIPTION

## Class Summary

class SIconDrawer
{
public:

  typedef enum tageWhichIcon eWhichIcon;
  static ErrCode initializeIconDrawer( void );
  static void disposeIconDrawer( void );
  static ErrCode plotIcon( eWhichIcon which, long width, long height, Handle hSuite, long xform, long align, unsigned long *data );
  enum eIconDims;

protected:

}; // SIconDrawer

Back to the top of SIconDrawer

### DESCRIPTION

Copies icons to a pixel array.

Back to the top of SIconDrawer

### typedef enum tageWhichIcon eWhichIcon;

Plot the small or large icon.

    	typedef enum tageWhichIcon {
    		kPlotLargeIcon = 1,
    		kPlotSmallIcon = 2
    	} eWhichIcon;

Back to the top of SIconDrawer

### ErrCode initializeIconDrawer( void );

Must be called before any use of the 'plotIcon' method.

    	static	ErrCode initializeIconDrawer( void );

Back to the top of SIconDrawer

### void disposeIconDrawer( void );

Must be called when done using the 'plotIcon' method.

    	static	void disposeIconDrawer( void );

Back to the top of SIconDrawer

### ErrCode plotIcon( eWhichIcon which, long width, long height, Handle hSuite, long xform, long align, unsigned long *data );

Puts the pixel data of an icon into 'data'.

    	static	ErrCode plotIcon( eWhichIcon which, long width, long height,
    							Handle hSuite, long xform, long align, unsigned long *data );

Back to the top of SIconDrawer

### enum eIconDims;

Dimensions for small and large icons.

    	enum {
    		kPlotLargeIconWidth = 32,
    		kPlotLargeIconHeight = 32,
    		kPlotSmallIconWidth = 16,
    		kPlotSmallIconHeight = 16
    	} eIconDims;

Back to the top of SIconDrawer

## All Members

public:
  typedef enum tageWhichIcon eWhichIcon;
  static ErrCode initializeIconDrawer( void );
  static void disposeIconDrawer( void );
  static ErrCode plotIcon( eWhichIcon which, long width, long height, Handle hSuite, long xform, long align, unsigned long *data );
  enum eIconDims;
protected:

Back to the top of SIconDrawer

## Ancestors

Class does not inherit from any other class.

Back to the top of SIconDrawer

## Descendants

Class is not inherited by any others.

Back to the top of SIconDrawer

Generated from source by the Cocoon utilities on Mon May 28 10:11:11 2001 .

Main Page · JConfig · ImageMeister · System Properties Repository · WordMeister · Free Samples · Java Freeware · Contact Us · FAQ · Links

Copyright (c) 1997,1998,1999,2000 Samizdat Productions. All Rights Reserved.
WarpMovie, TileMovie, JConfig, ImageMeister and MovieShredder are Trademarks of Samizdat Productions.