Typedefs | Enumerations

GraphicsTypes.h File Reference

This reference page is linked to from the following overview topics: Porting Object Plug-ins to Nitrous.


#include <WTypes.h>

Go to the source code of this file.

Typedefs

typedef BOOL(*  HitFunc )(int, int, void *)
typedef void(*  GFX_ESCAPE_FN )(void *)

Enumerations

enum   CameraType { PERSP_CAM, ORTHO_CAM }
 

Camera Types.

More...
enum   ColorType { LINE_COLOR, FILL_COLOR, TEXT_COLOR, CLEAR_COLOR }
 

Color types (used by setColor)

More...
enum   MarkerType {
  POINT_MRKR, HOLLOW_BOX_MRKR, PLUS_SIGN_MRKR, ASTERISK_MRKR,
  X_MRKR, BIG_BOX_MRKR, CIRCLE_MRKR, TRIANGLE_MRKR,
  DIAMOND_MRKR, SM_HOLLOW_BOX_MRKR, SM_CIRCLE_MRKR, SM_TRIANGLE_MRKR,
  SM_DIAMOND_MRKR, DOT_MRKR, SM_DOT_MRKR, BOX2_MRKR,
  BOX3_MRKR, BOX4_MRKR, BOX5_MRKR, BOX6_MRKR,
  BOX7_MRKR, DOT2_MRKR, DOT3_MRKR, DOT4_MRKR,
  DOT5_MRKR, DOT6_MRKR, DOT7_MRKR
}
 

Marker types.

More...
enum   FacingType { kFrontFacing, kSideFacing, kBackFacing }
 

Facing type.

More...

Typedef Documentation

typedef BOOL(* HitFunc)(int, int, void *)

Definition at line 13 of file GraphicsTypes.h.

typedef void(* GFX_ESCAPE_FN)(void *)

Definition at line 14 of file GraphicsTypes.h.


Enumeration Type Documentation

enum CameraType

Camera Types.

Enumerator:
PERSP_CAM 

Perspective view camera type.

ORTHO_CAM 

Orthographic projection camera type.

Definition at line 17 of file GraphicsTypes.h.

enum ColorType

Color types (used by setColor)

Enumerator:
LINE_COLOR 

Line drawing color.

FILL_COLOR 

Polygon fill color.

TEXT_COLOR 

Text drawing color.

CLEAR_COLOR 

The color that the viewport is cleared to when you call clearScreen()

Definition at line 24 of file GraphicsTypes.h.

enum MarkerType

Marker types.

See also:
GraphicsWindow::hMarker()
Enumerator:
POINT_MRKR 

A single pixel on the display.

HOLLOW_BOX_MRKR 

A small box centered on the point.

PLUS_SIGN_MRKR 

A plug sign (+) at the point.

ASTERISK_MRKR 

An asterisk (*) at the point.

X_MRKR 

An X at the point.

BIG_BOX_MRKR 

A large box centered on the point.

CIRCLE_MRKR 

A circle at the point.

TRIANGLE_MRKR 

A triangle centered on the point.

DIAMOND_MRKR 

A diamond centered on the point.

SM_HOLLOW_BOX_MRKR 

A hollow box at the point.

SM_CIRCLE_MRKR 

A small circle at the point.

SM_TRIANGLE_MRKR 

A small triangle centered on the point.

SM_DIAMOND_MRKR 

A small diamond centered on the point.

DOT_MRKR 

A large dot.

SM_DOT_MRKR 

A smaller dot.

BOX2_MRKR 
BOX3_MRKR 
BOX4_MRKR 
BOX5_MRKR 
BOX6_MRKR 
BOX7_MRKR 
DOT2_MRKR 
DOT3_MRKR 
DOT4_MRKR 
DOT5_MRKR 
DOT6_MRKR 
DOT7_MRKR 

Definition at line 33 of file GraphicsTypes.h.

enum FacingType

Facing type.

Enumerator:
kFrontFacing 
kSideFacing 
kBackFacing 

Definition at line 65 of file GraphicsTypes.h.