lib_clipmap.h File Reference

Classes

struct   GE_POINT2D
class   GeClipMap

Macros

#define  GE_CM_SRC_MAX_OPACITY

Typedefs

typedef struct _NGV_DRAW_PORT *  NGVH_DP
typedef struct _NGV_RGN *  NGVH_RGN

Enumerations

enum   GE_CM_CLIPREGION {
   EVENODD ,
   WINDING_
}
enum   GE_CM_DRAWMODE {
   COPY ,
   BLEND ,
   MASK
}
enum   GE_CM_BLIT {
   COPY ,
   COL ,
   FG
}
enum   GE_CM_ARCSEGMENT {
   RIGHTTOP ,
   RIGHTBOTTOM ,
   LEFTBOTTOM ,
   LEFTTOP
}
enum   GE_CM_FONTSORT {
   FLAT ,
   HIERARCHICAL
}
enum   GeFontNameType {
   GE_FONT_NAME_DISPLAY ,
   GE_FONT_NAME_FAMILY ,
   GE_FONT_NAME_STYLE ,
   GE_FONT_NAME_POSTSCRIPT
}
enum   GeFontDefaultType {
   GE_FONT_DEFAULT_SYSTEM ,
   GE_FONT_DEFAULT_MONOSPACED
}
enum   GeFontSizeType { GE_FONT_SIZE_INTERNAL }

函数

enum GE_CM_CLIPREGION   MAXON_ENUM_LIST ( GE_CM_CLIPREGION )
enum GE_CM_DRAWMODE   MAXON_ENUM_LIST ( GE_CM_DRAWMODE )
enum GE_CM_BLIT   MAXON_ENUM_LIST ( GE_CM_BLIT )
enum GE_CM_ARCSEGMENT   MAXON_ENUM_LIST ( GE_CM_ARCSEGMENT )
enum GE_CM_FONTSORT   MAXON_ENUM_LIST ( GE_CM_FONTSORT )

变量

  EVENODD
  WINDING_
  COPY
  BLEND
  MASK
  COL
  FG
  RIGHTTOP
  RIGHTBOTTOM
  LEFTBOTTOM
  LEFTTOP
  FLAT
  HIERARCHICAL
struct GE_POINT2D   MAXON_ENUM_LIST
class CINEWARE_SINGLEINHERITANCE   iGeClipMap

Variable Documentation

◆  EVENODD

EVENODD

Enclosed regions of the path alternate between interior and exterior areas as traversed from the outside of the path towards a point inside the region.

◆  WINDING_

WINDING_

If a ray is drawn in any direction from a given point to infinity and the places where the path intersects the ray are examined:
The point is inside of the path if and only if the number of times that the path crosses the ray from left to right does not equal the number of times that the path crosses the ray from right to left.

◆  COPY

COPY

New pixels overwrite old ones.

Source overwrites destination.

◆  BLEND

BLEND

New pixels blend with old ones, taking the alpha value of the new pixels in account as well as the blend factor specified by the parameter.
The value specified by the parameter is the opacity of the source (bitmap). It ranges from 0 to 256 ,其中 256 equals 1.0 and means opaque.

◆  MASK

MASK

New pixels overwrite the old ones at the bits where the mask specified by the parameter equals 1 .

◆  COL

COL

Source overwrites destination everywhere where source does not equal the background color.

◆  FG

FG

Sets pixels to the foreground color if the color is not the background color.

◆  RIGHTTOP

RIGHTTOP

(x1,y1) -> (x2,y1) -> (x2,y2)

◆  RIGHTBOTTOM

RIGHTBOTTOM

(x2,y1) -> (x2,y2) -> (x1,y2)

◆  LEFTBOTTOM

LEFTBOTTOM

(x2,y2) -> (x1,y2) -> (x1,y1)

◆  LEFTTOP

LEFTTOP

(x1,y2) -> (x1,y1) -> (x2,y1)

◆  FLAT

FLAT

The font families are sorted alphabetically.

For each font family a BaseContainer is stored and will hold a description for each font of this family (one BaseContainer per font).

◆  HIERARCHICAL

HIERARCHICAL

One BaseContainer per font, no order guaranteed.