GraphicsTypes.h File Reference
 
 
 
GraphicsTypes.h File Reference

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


#include <WTypes.h>

Typedefs

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

Enumerations

enum   CameraType { PERSP_CAM, ORTHO_CAM }
  Camera Types. More...
enum   ColorType {
  LINE_COLOR, FILL_COLOR, TEXT_COLOR, CLEAR_COLOR,
  GRADIENT_BOTTOM_COLOR, GRADIENT_TOP_COLOR, COLOR_TYPE_COUNT
}
  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 *)
typedef void(* GFX_ESCAPE_FN)(void *)

Enumeration Type Documentation

enum CameraType

Camera Types.

Enumerator:
PERSP_CAM 

Perspective view camera type.

ORTHO_CAM 

Orthographic projection camera type.

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()

GRADIENT_BOTTOM_COLOR 

The bottom color used for gradient viewport background.

GRADIENT_TOP_COLOR 

The top color used for gradient viewport background.

COLOR_TYPE_COUNT 

the count of the color types

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