5.13 Canvas Draw (cd)

The Canvas Draw portion of EuIup is due to the hard work by Jacques Deschênes. Thanks Jacques.

5.13.1 Canvas Draw Constants

5.13.1.1 CD_QUERY

include cd.e
public constant CD_QUERY

5.13.1.2 CD_ERROR

include cd.e
public constant CD_ERROR

5.13.1.3 CD_OK

include cd.e
public constant CD_OK

5.13.2 Polygon Mode Constants

5.13.2.1 CD_FILL

include cd.e
public constant CD_FILL

5.13.2.2 CD_OPEN_LINES

include cd.e
public constant CD_OPEN_LINES

5.13.2.3 CD_CLOSED_LINES

include cd.e
public constant CD_CLOSED_LINES

5.13.2.4 CD_CLIP

include cd.e
public constant CD_CLIP

5.13.2.5 CD_BEZIER

include cd.e
public constant CD_BEZIER

5.13.2.6 CD_REGION

include cd.e
public constant CD_REGION

5.13.2.7 CD_POLYCUSTOM

include cd.e
public constant CD_POLYCUSTOM

5.13.3 Bitmap Type Constants

These definitions are compatible with the IM library

5.13.3.1 CD_RGB

include cd.e
public constant CD_RGB

5.13.3.2 CD_MAP

include cd.e
public constant CD_MAP

5.13.3.3 CD_RGBA

include cd.e
public constant CD_RGBA

5.13.4 Bitmap Data Constants

5.13.4.1 CD_IRED

include cd.e
public constant CD_IRED

5.13.4.2 CD_IGREEN

include cd.e
public constant CD_IGREEN

5.13.4.3 CD_IBLUE

include cd.e
public constant CD_IBLUE

5.13.4.4 CD_IALPHA

include cd.e
public constant CD_IALPHA

5.13.4.5 CD_INDEX

include cd.e
public constant CD_INDEX

5.13.4.6 CD_COLORS

include cd.e
public constant CD_COLORS

5.13.5 Clip Mode Constants

5.13.5.1 CD_CLIPOFF

include cd.e
public constant CD_CLIPOFF

5.13.5.2 CD_CLIPAREA

include cd.e
public constant CD_CLIPAREA

5.13.5.3 CD_CLIPPOLYGON

include cd.e
public constant CD_CLIPPOLYGON

5.13.5.4 CD_CLIPREGION

include cd.e
public constant CD_CLIPREGION

5.13.6 Region Combine Mode Constants

5.13.6.1 CD_UNION

include cd.e
public constant CD_UNION

5.13.6.2 CD_INTERSECT

include cd.e
public constant CD_INTERSECT

5.13.6.3 CD_DIFFERENCE

include cd.e
public constant CD_DIFFERENCE

5.13.6.4 CD_NOTINTERSECT

include cd.e
public constant CD_NOTINTERSECT

5.13.7 Fill Mode Constants

5.13.7.1 CD_EVENODD

include cd.e
public constant CD_EVENODD

5.13.7.2 CD_WINDING

include cd.e
public constant CD_WINDING

5.13.8 Line Join Constants

5.13.8.1 CD_MITER

include cd.e
public constant CD_MITER

5.13.8.2 CD_BEVEL

include cd.e
public constant CD_BEVEL

5.13.8.3 CD_ROUND

include cd.e
public constant CD_ROUND

5.13.9 Line Cap Constants

5.13.9.1 CD_CAPFLAT

include cd.e
public constant CD_CAPFLAT

5.13.9.2 CD_CAPSQUARE

include cd.e
public constant CD_CAPSQUARE

5.13.9.3 CD_CAPROUND

include cd.e
public constant CD_CAPROUND

5.13.10 Background Opacity Mode Constants

5.13.10.1 CD_OPAQUE

include cd.e
public constant CD_OPAQUE

5.13.10.2 CD_TRANSPARENT

include cd.e
public constant CD_TRANSPARENT

5.13.11 Write Mode Constants

5.13.11.1 CD_REPLACE

include cd.e
public constant CD_REPLACE

5.13.11.2 CD_XOR

include cd.e
public constant CD_XOR

5.13.11.3 CD_NOT_XOR

include cd.e
public constant CD_NOT_XOR

5.13.12 Color Allocation Mode Constants

Pallette

5.13.12.1 CD_POLITE

include cd.e
public constant CD_POLITE

5.13.12.2 CD_FORCE

include cd.e
public constant CD_FORCE

5.13.13 Line Style Constants

5.13.13.1 CD_CONTINUOUS

include cd.e
public constant CD_CONTINUOUS

5.13.13.2 CD_DASHED

include cd.e
public constant CD_DASHED

5.13.13.3 CD_DOTTED

include cd.e
public constant CD_DOTTED

5.13.13.4 CD_DASH_DOT

include cd.e
public constant CD_DASH_DOT

5.13.13.5 CD_DASH_DOT_DOT

include cd.e
public constant CD_DASH_DOT_DOT

5.13.13.6 CD_CUSTOM

include cd.e
public constant CD_CUSTOM

5.13.14 Marker Type Constants

5.13.14.1 CD_PLUS

include cd.e
public constant CD_PLUS

5.13.14.2 CD_STAR

include cd.e
public constant CD_STAR

5.13.14.3 CD_CIRCLE

include cd.e
public constant CD_CIRCLE

5.13.14.4 CD_X

include cd.e
public constant CD_X

5.13.14.5 CD_BOX

include cd.e
public constant CD_BOX

5.13.14.6 CD_DIAMOND

include cd.e
public constant CD_DIAMOND

5.13.14.7 CD_HOLLOW_CIRCLE

include cd.e
public constant CD_HOLLOW_CIRCLE

5.13.14.8 CD_HOLLOW_BOX

include cd.e
public constant CD_HOLLOW_BOX

5.13.14.9 CD_HOLLOW_DIAMOND

include cd.e
public constant CD_HOLLOW_DIAMOND

5.13.15 Hatch Type Constants

5.13.15.1 CD_HORIZONTAL

include cd.e
public constant CD_HORIZONTAL

5.13.15.2 CD_VERTICAL

include cd.e
public constant CD_VERTICAL

5.13.15.3 CD_FDIAGONAL

include cd.e
public constant CD_FDIAGONAL

5.13.15.4 CD_BDIAGONAL

include cd.e
public constant CD_BDIAGONAL

5.13.15.5 CD_CROSS

include cd.e
public constant CD_CROSS

5.13.15.6 CD_DIAGCROSS

include cd.e
public constant CD_DIAGCROSS

5.13.16 Interior Style Constants

5.13.16.1 CD_SOLID

include cd.e
public constant CD_SOLID

5.13.16.2 CD_HATCH

include cd.e
public constant CD_HATCH

5.13.16.3 CD_STIPPLE

include cd.e
public constant CD_STIPPLE

5.13.16.4 CD_PATTERN

include cd.e
public constant CD_PATTERN

5.13.16.5 CD_HOLLOW

include cd.e
public constant CD_HOLLOW

5.13.17 Text Alignment Constants

5.13.17.1 CD_NORTH

include cd.e
public constant CD_NORTH

5.13.17.2 CD_SOUTH

include cd.e
public constant CD_SOUTH

5.13.17.3 CD_EAST

include cd.e
public constant CD_EAST

5.13.17.4 CD_WEST

include cd.e
public constant CD_WEST

5.13.17.5 CD_NORTH_EAST

include cd.e
public constant CD_NORTH_EAST

5.13.17.6 CD_NORTH_WEST

include cd.e
public constant CD_NORTH_WEST

5.13.17.7 CD_SOUTH_EAST

include cd.e
public constant CD_SOUTH_EAST

5.13.17.8 CD_SOUTH_WEST

include cd.e
public constant CD_SOUTH_WEST

5.13.17.9 CD_CENTER

include cd.e
public constant CD_CENTER

5.13.17.10 CD_BASE_LEFT

include cd.e
public constant CD_BASE_LEFT

5.13.17.11 CD_BASE_CENTER

include cd.e
public constant CD_BASE_CENTER

5.13.17.12 CD_BASE_RIGHT

include cd.e
public constant CD_BASE_RIGHT

5.13.18 Style Constants

5.13.18.1 CD_PLAIN

include cd.e
public constant CD_PLAIN

5.13.18.2 CD_BOLD

include cd.e
public constant CD_BOLD

5.13.18.3 CD_ITALIC

include cd.e
public constant CD_ITALIC

5.13.18.4 CD_UNDERLINE

include cd.e
public constant CD_UNDERLINE

5.13.18.5 CD_STRIKEOUT

include cd.e
public constant CD_STRIKEOUT

5.13.18.6 CD_BOLD_ITALIC

include cd.e
public constant CD_BOLD_ITALIC

5.13.19 Font Size Constants

5.13.19.1 CD_SMALL

include cd.e
public constant CD_SMALL

5.13.19.2 CD_STANDARD

include cd.e
public constant CD_STANDARD

5.13.19.3 CD_LARGE

include cd.e
public constant CD_LARGE

5.13.20 Canvas Capabilities Constants

5.13.20.1 CD_CAP_NONE

include cd.e
public constant CD_CAP_NONE

5.13.20.2 CD_CAP_FLUSH

include cd.e
public constant CD_CAP_FLUSH

5.13.20.3 CD_CAP_CLEAR

include cd.e
public constant CD_CAP_CLEAR

5.13.20.4 CD_CAP_PLAY

include cd.e
public constant CD_CAP_PLAY

5.13.20.5 CD_CAP_YAXIS

include cd.e
public constant CD_CAP_YAXIS

5.13.20.6 CD_CAP_CLIPAREA

include cd.e
public constant CD_CAP_CLIPAREA

5.13.20.7 CD_CAP_CLIPPOLY

include cd.e
public constant CD_CAP_CLIPPOLY

5.13.20.8 CD_CAP_REGION

include cd.e
public constant CD_CAP_REGION

5.13.20.9 CD_CAP_RECT

include cd.e
public constant CD_CAP_RECT

5.13.20.10 CD_CAP_CHORD

include cd.e
public constant CD_CAP_CHORD

5.13.20.11 CD_CAP_IMAGERGB

include cd.e
public constant CD_CAP_IMAGERGB

5.13.20.12 CD_CAP_IMAGERGBA

include cd.e
public constant CD_CAP_IMAGERGBA

5.13.20.13 CD_CAP_IMAGEMAP

include cd.e
public constant CD_CAP_IMAGEMAP

5.13.20.14 CD_CAP_GETIMAGERGB

include cd.e
public constant CD_CAP_GETIMAGERGB

5.13.20.15 CD_CAP_IMAGESRV

include cd.e
public constant CD_CAP_IMAGESRV

5.13.20.16 CD_CAP_BACKGROUND

include cd.e
public constant CD_CAP_BACKGROUND

5.13.20.17 CD_CAP_BACKOPACITY

include cd.e
public constant CD_CAP_BACKOPACITY

5.13.20.18 CD_CAP_WRITEMODE

include cd.e
public constant CD_CAP_WRITEMODE

5.13.20.19 CD_CAP_LINESTYLE

include cd.e
public constant CD_CAP_LINESTYLE

5.13.20.20 CD_CAP_LINEWITH

include cd.e
public constant CD_CAP_LINEWITH

5.13.20.21 CD_CAP_FPRIMTIVES

include cd.e
public constant CD_CAP_FPRIMTIVES

5.13.20.22 CD_CAP_HATCH

include cd.e
public constant CD_CAP_HATCH

5.13.20.23 CD_CAP_STIPPLE

include cd.e
public constant CD_CAP_STIPPLE

5.13.20.24 CD_CAP_PATTERN

include cd.e
public constant CD_CAP_PATTERN

5.13.20.25 CD_CAP_FONT

include cd.e
public constant CD_CAP_FONT

5.13.20.26 CD_CAP_FONTDIM

include cd.e
public constant CD_CAP_FONTDIM

5.13.20.27 CD_CAP_TEXTSIZE

include cd.e
public constant CD_CAP_TEXTSIZE

5.13.20.28 CD_CAP_TEXTORIENTATION

include cd.e
public constant CD_CAP_TEXTORIENTATION

5.13.20.29 CD_CAP_PALETTE

include cd.e
public constant CD_CAP_PALETTE

5.13.20.30 CD_CAP_LINECAP

include cd.e
public constant CD_CAP_LINECAP

5.13.20.31 CD_CAP_LINEJOIN

include cd.e
public constant CD_CAP_LINEJOIN

5.13.20.32 CD_CAP_ALL

include cd.e
public constant CD_CAP_ALL

5.13.21 Canvas Draw Play Constants

5.13.21.1 CD_SIZECB

include cd.e
public constant CD_SIZECB

5.13.21.2 CD_ABORT

include cd.e
public constant CD_ABORT

5.13.21.3 CD_CONTINUE

include cd.e
public constant CD_CONTINUE

5.13.22 Simulation Flag Constants

5.13.22.1 CD_SIM_NONE

include cd.e
public constant CD_SIM_NONE

5.13.22.2 CD_SIM_LINE

include cd.e
public constant CD_SIM_LINE

5.13.22.3 CD_SIM_RECT

include cd.e
public constant CD_SIM_RECT

5.13.22.4 CD_SIM_BOX

include cd.e
public constant CD_SIM_BOX

5.13.22.5 CD_SIM_ARC

include cd.e
public constant CD_SIM_ARC

5.13.22.6 CD_SIM_SECTOR

include cd.e
public constant CD_SIM_SECTOR

5.13.22.7 CD_SIM_CHORD

include cd.e
public constant CD_SIM_CHORD

5.13.22.8 CD_SIM_POLYLINE

include cd.e
public constant CD_SIM_POLYLINE

5.13.22.9 CD_SIM_POLYGON

include cd.e
public constant CD_SIM_POLYGON

5.13.22.10 CD_SIM_TEXT

include cd.e
public constant CD_SIM_TEXT

5.13.22.11 CD_SIM_ALL

include cd.e
public constant CD_SIM_ALL

5.13.22.12 CD_SIM_LINES

include cd.e
public constant CD_SIM_LINES

5.13.23 Predefined Color Constants

These are simply for convenience

5.13.23.1 CD_RED

include cd.e
public constant CD_RED

5.13.23.2 CD_DARK_RED

include cd.e
public constant CD_DARK_RED

5.13.23.3 CD_GREEN

include cd.e
public constant CD_GREEN

5.13.23.4 CD_DARK_GREEN

include cd.e
public constant CD_DARK_GREEN

5.13.23.5 CD_BLUE

include cd.e
public constant CD_BLUE

5.13.23.6 CD_DARK_BLUE

include cd.e
public constant CD_DARK_BLUE

5.13.23.7 CD_YELLOW

include cd.e
public constant CD_YELLOW

5.13.23.8 CD_DARK_YELLOW

include cd.e
public constant CD_DARK_YELLOW

5.13.23.9 CD_MAGENTA

include cd.e
public constant CD_MAGENTA

5.13.23.10 CD_DARK_MAGENTA

include cd.e
public constant CD_DARK_MAGENTA

5.13.23.11 CD_CYAN

include cd.e
public constant CD_CYAN

5.13.23.12 CD_DARK_CYAN

include cd.e
public constant CD_DARK_CYAN

5.13.23.13 CD_WHITE

include cd.e
public constant CD_WHITE

5.13.23.14 CD_BLACK

include cd.e
public constant CD_BLACK

5.13.23.15 CD_DARK_GRAY

include cd.e
public constant CD_DARK_GRAY

5.13.23.16 CD_GRAY

include cd.e
public constant CD_GRAY

5.13.24 Conversion Factor Constants

These are simply for convenience

5.13.24.1 CD_MM2PT

include cd.e
public constant CD_MM2PT

Milimeters to Points (pt = CD_MM2PT * mm)

5.13.24.2 CD_RAD2DEG

include cd.e
public constant CD_RAD2DEG

Radians to Degrees (deg = CD_RAD2DEG * rad)

5.13.24.3 CD_DEG2RAD

include cd.e
public constant CD_DEG2RAD

Degrees to Radians (rad = CD_DEG2RAD * deg)

5.13.25 Version Information Routines

5.13.25.1 version

include cd.e
public function version()

5.13.25.2 version_date

include cd.e
public function version_date()

5.13.25.3 version_number

include cd.e
public function version_number()

5.13.26 Canvas Initialization Routines

5.13.26.1 CD_IUP

include cd.e
public constant CD_IUP

5.13.26.2 CD_PRINTER

include cd.e
public constant CD_PRINTER

5.13.26.3 CD_PS

include cd.e
public constant CD_PS

5.13.26.4 CD_PICTURE

include cd.e
public constant CD_PICTURE

5.13.26.5 CD_NATIVEWINDOW

include cd.e
public constant CD_NATIVEWINDOW

5.13.26.6 get_screen_size

include cd.e
public function get_screen_size()

5.13.26.7 get_screen_color_planes

include cd.e
public function get_screen_color_planes()

5.13.26.8 create_canvas

include cd.e
public function create_canvas(atom hCdContext, object data)

5.13.26.9 kill_canvas

include cd.e
public procedure kill_canvas(atom hCdCanvas)

5.13.26.10 canvas_get_context

include cd.e
public function canvas_get_context(atom hCdCanvas)

5.13.26.11 canvas_activate

include cd.e
public function canvas_activate(atom hCdCanvas)

5.13.26.12 cavas_deactivate

include cd.e
public procedure cavas_deactivate(atom hCdCanvas)

5.13.26.13 use_context_plus

include cd.e
public function use_context_plus(integer use)

5.13.26.14 init_context_plusun

include cd.e
public procedure init_context_plusun()

5.13.27 Context Routines

5.13.27.1 context_register_callback

include cd.e
public function context_register_callback(atom hCdContext, integer cb,
        integer cbFunc)

5.13.27.2 context_caps

include cd.e
public function context_caps(atom hCdContext)

5.13.27.3 canvas_play

include cd.e
public function canvas_play(atom hCdCanvas, atom hCdContext,
        integer xmin, integer xmax, integer ymin,
        integer ymax, sequence data)

5.13.27.4 canvas_simulate

include cd.e
public function canvas_simulate(atom hCdCanvas, integer mode)

5.13.27.5 canvas_flush

include cd.e
public procedure canvas_flush(atom hCdCanvas)

5.13.27.6 canvas_clear

include cd.e
public procedure canvas_clear(atom hCdCanvas)

5.13.27.7 canvas_save_state

include cd.e
public function canvas_save_state(atom hCdCanvas)

5.13.27.8 canvas_restore_state

include cd.e
public procedure canvas_restore_state(atom hCdCanvas, atom hCdState)

5.13.27.9 canvas_release_state

include cd.e
public procedure canvas_release_state(atom hCdState)

5.13.27.10 canvas_set_attribute

include cd.e
public procedure canvas_set_attribute(atom hCdCanvas, sequence name,
        sequence data)

5.13.27.11 canvas_get_attribute

include cd.e
public function canvas_get_attribute(atom hCdCanvas, sequence name)

5.13.27.12 canvas_get_size

include cd.e
public function canvas_get_size(atom hCdCanvas)

5.13.27.13 canvas_update_y_axis

include cd.e
public function canvas_update_y_axis(atom hCdCanvas, atom y)

5.13.27.14 f_canvas_update_y_axis

include cd.e
public function f_canvas_update_y_axis(atom hCdCanvas, atom y)

5.13.27.15 canvas_invert_y_axis

include cd.e
public function canvas_invert_y_axis(atom hCdCanvas, atom y)

5.13.27.16 f_canvas_invert_y_axis

include cd.e
public function f_canvas_invert_y_axis(atom hCdCanvas, atom y)

5.13.27.17 canvas_mm_2_pixel

include cd.e
public function canvas_mm_2_pixel(atom hCdCanvas, atom mm_dx, atom mm_dy)

5.13.27.18 canvas_pixel_2_mm

include cd.e
public function canvas_pixel_2_mm(atom hCdCanvas, atom dx, atom dy)

5.13.27.19 f_canvas_mm_2_pixel

include cd.e
public function f_canvas_mm_2_pixel(atom hCdCanvas, atom mm_dx,
        atom mm_dy)

5.13.27.20 f_canvas_pixel_2_mm

include cd.e
public function f_canvas_pixel_2_mm(atom hCdCanvas, atom dx, atom dy)

5.13.27.21 canvas_origin

include cd.e
public procedure canvas_origin(atom hCdCanvas, atom x, atom y)

5.13.27.22 f_canvas_origin

include cd.e
public procedure f_canvas_origin(atom hCdCanvas, atom x, atom y)

5.13.27.23 canvas_get_origin

include cd.e
public function canvas_get_origin(atom hCdCanvas)

5.13.27.24 f_canvas_get_origin

include cd.e
public function f_canvas_get_origin(atom hCdCanvas)

5.13.27.25 canvas_transform

include cd.e
public procedure canvas_transform(atom hCdCanvas, sequence matrix)

5.13.27.26 canvas_get_transform

include cd.e
public function canvas_get_transform(atom hCdCanvas)

5.13.27.27 canvas_transform_multiply

include cd.e
public procedure canvas_transform_multiply(atom hCdCanvas,
        sequence matrix)

5.13.27.28 canvas_transform_rotate

include cd.e
public procedure canvas_transform_rotate(atom hCdCanvas, atom angle)

5.13.27.29 canvas_transform_scale

include cd.e
public procedure canvas_transform_scale(atom hCdCanvas, atom sx, atom sy)

5.13.27.30 canvas_transform_translate

include cd.e
public procedure canvas_transform_translate(atom hCdCanvas, atom dx,
        atom dy)

5.13.27.31 canvas_transform_point

include cd.e
public function canvas_transform_point(atom hCdCanvas, atom x, atom y)

5.13.27.32 f_canvas_transform_point

include cd.e
public function f_canvas_transform_point(atom hCdCanvas, atom x, atom y)

5.13.27.33 canvas_clip

include cd.e
public function canvas_clip(atom hCdCanvas, integer mode)

5.13.27.34 canvas_clip_area

include cd.e
public procedure canvas_clip_area(atom hCdCanvas, atom xmin, atom xmax,
        atom ymin, atom ymax)

5.13.27.35 f_canvas_clip_area

include cd.e
public procedure f_canvas_clip_area(atom hCdCanvas, atom xmin, atom xmax,
        atom ymin, atom ymax)

5.13.27.36 canvas_get_clip_area

include cd.e
public function canvas_get_clip_area(atom hCdCanvas)

5.13.27.37 f_canvas_get_clip_area

include cd.e
public function f_canvas_get_clip_area(atom hCdCanvas)

5.13.27.38 canvas_is_point_in_region

include cd.e
public function canvas_is_point_in_region(atom hCdCanvas, atom x, atom y)

5.13.27.39 canvas_offset_region

include cd.e
public procedure canvas_offset_region(atom hCdCanvas, atom x, atom y)

5.13.27.40 canvas_get_region_box

include cd.e
public function canvas_get_region_box(atom hCdCanvas)

5.13.27.41 canvas_region_combine_mode

include cd.e
public procedure canvas_region_combine_mode(atom hCdCanvas, integer mode)

5.13.27.42 canvas_pixel

include cd.e
public procedure canvas_pixel(atom hCdCanvas, atom x, atom y)

5.13.27.43 canvas_mark

include cd.e
public procedure canvas_mark(atom hCdCanvas, atom x, atom y)

5.13.27.44 canvas_line

include cd.e
public procedure canvas_line(atom hCdCanvas, atom minX, atom minY,
        atom maxX, atom maxY)

5.13.27.45 canvas_begin

include cd.e
public procedure canvas_begin(atom hCdCanvas, integer mode)

5.13.27.46 canvas_vertex

include cd.e
public procedure canvas_vertex(atom hCdCanvas, atom x, atom y)

5.13.27.47 canvas_end

include cd.e
public procedure canvas_end(atom hCdCanvas)

5.13.27.48 canvas_rect

include cd.e
public procedure canvas_rect(atom hCdCanvas, atom minX, atom minY,
        atom maxX, atom maxY)

5.13.27.49 canvas_box

include cd.e
public procedure canvas_box(atom hCdCanvas, atom minX, atom minY,
        atom maxX, atom maxY)

5.13.27.50 canvas_arc

include cd.e
public procedure canvas_arc(atom hCdCanvas, atom xc, atom yc, atom w,
        atom h, atom a1, atom a2)

5.13.27.51 canvas_sector

include cd.e
public procedure canvas_sector(atom hCdCanvas, atom xc, atom yc, atom w,
        atom h, atom a1, atom a2)

5.13.27.52 canvas_chord

include cd.e
public procedure canvas_chord(atom hCdCanvas, atom xc, atom yc, atom w,
        atom h, atom a1, atom a2)

5.13.27.53 canvas_text

include cd.e
public procedure canvas_text(atom hCdCanvas, atom x, atom y,
        sequence text)

5.13.27.54 f_canvas_line

include cd.e
public procedure f_canvas_line(atom hCdCanvas, atom x1, atom y1, atom x2,
        atom y2)

5.13.27.55 f_canvas_vertex

include cd.e
public procedure f_canvas_vertex(atom hCdCanvas, atom x1, atom y1)

5.13.27.56 f_canvas_rect

include cd.e
public procedure f_canvas_rect(atom hCdCanvas, atom xmin, atom ymin,
        atom xmax, atom ymax)

5.13.27.57 f_canvas_box

include cd.e
public procedure f_canvas_box(atom hCdCanvas, atom xmin, atom ymin,
        atom xmax, atom ymax)

5.13.27.58 f_canvas_arc

include cd.e
public procedure f_canvas_arc(atom hCdCanvas, atom xc, atom yc, atom w,
        atom h, atom angle1, atom angle2)

5.13.27.59 f_canvas_sector

include cd.e
public procedure f_canvas_sector(atom hCdCanvas, atom xc, atom yc,
        atom w, atom h, atom angle1, atom angle2)

5.13.27.60 f_canvas_chord

include cd.e
public procedure f_canvas_chord(atom hCdCanvas, atom xc, atom yc, atom w,
        atom h, atom angle1, atom angle2)

5.13.27.61 f_canvas_text

include cd.e
public procedure f_canvas_text(atom hCdCanvas, atom x1, atom y1,
        sequence text)

5.13.27.62 canvas_set_background

include cd.e
public procedure canvas_set_background(atom hCdCanvas, atom color)

5.13.27.63 canvas_set_foreground

include cd.e
public procedure canvas_set_foreground(atom hCdCanvas, atom color)

5.13.27.64 canvas_background

include cd.e
public function canvas_background(atom hCdCanvas, atom color)

5.13.27.65 canvas_foreground

include cd.e
public function canvas_foreground(atom hCdCanvas, atom color)

5.13.27.66 canvas_back_opacity

include cd.e
public function canvas_back_opacity(atom hCdCanvas, atom opacity)

5.13.27.67 canvas_write_mode

include cd.e
public function canvas_write_mode(atom hCdCanvas, atom mode)

5.13.27.68 canvas_line_style

include cd.e
public function canvas_line_style(atom hCdCanvas, atom style)

5.13.27.69 canvas_line_style_dashes

include cd.e
public procedure canvas_line_style_dashes(atom hCdCanvas,
        sequence dashes, integer count)

5.13.27.70 canvas_line_width

include cd.e
public function canvas_line_width(atom hCdCanvas, atom width)

5.13.27.71 canvas_line_join

include cd.e
public function canvas_line_join(atom hCdCanvas, atom join)

5.13.27.72 canvas_line_cap

include cd.e
public function canvas_line_cap(atom hCdCanvas, atom cap)

5.13.27.73 canvas_interior_style

include cd.e
public function canvas_interior_style(atom hCdCanvas, atom style)

5.13.27.74 canvas_hatch

include cd.e
public function canvas_hatch(atom hCdCanvas, atom style)

5.13.27.75 canvas_stipple

include cd.e
public procedure canvas_stipple(atom hCdCanvas, atom width, atom height,
        sequence stipple)

5.13.27.76 canvas_get_stipple

include cd.e
public function canvas_get_stipple(atom hCdCanvas)

5.13.27.77 canvas_pattern

include cd.e
public procedure canvas_pattern(atom hCdCanvas, atom width, atom height,
        sequence pattern)

5.13.27.78 canvas_get_pattern

include cd.e
public function canvas_get_pattern(atom hCdCanvas)

5.13.27.79 canvas_fill_mode

include cd.e
public function canvas_fill_mode(atom hCdCanvas, atom mode)

5.13.27.80 canvas_font

include cd.e
public function canvas_font(atom hCdCanvas, sequence font, atom style,
        atom size)

5.13.27.81 canvas_get_font

include cd.e
public function canvas_get_font(atom hCdCanvas)

5.13.27.82 canvas_native_font

include cd.e
public function canvas_native_font(atom hCdCanvas, sequence font)

5.13.27.83 canvas_text_alignment

include cd.e
public function canvas_text_alignment(atom hCdCanvas, atom alignment)

5.13.27.84 canvas_text_orientation

include cd.e
public function canvas_text_orientation(atom hCdCanvas, atom angle)

5.13.27.85 canvas_mark_type

include cd.e
public function canvas_mark_type(atom hCdCanvas, atom mtype)

5.13.27.86 canvas_mark_size

include cd.e
public function canvas_mark_size(atom hCdCanvas, atom msize)

5.13.27.87 canvas_vector_text

include cd.e
public procedure canvas_vector_text(atom hCdCanvas, atom x, atom y,
        sequence text)

5.13.27.88 canvas_multi_line_vector_text

include cd.e
public procedure canvas_multi_line_vector_text(atom hCdCanvas, atom x,
        atom y, sequence text)

5.13.27.89 canvas_vector_font

include cd.e
public function canvas_vector_font(atom hCdCanvas, sequence font)

5.13.27.90 canvas_vector_text_direction

include cd.e
public procedure canvas_vector_text_direction(atom hCdCanvas, integer x1,
        integer y1, integer x2, integer y2)

5.13.27.91 canvas_vector_text_transform

include cd.e
public function canvas_vector_text_transform(atom hCdCanvas,
        sequence matrix)

5.13.27.92 canvas_vector_text_size

include cd.e
public procedure canvas_vector_text_size(atom hCdCanvas, atom w, atom h,
        sequence text)

5.13.27.93 canvas_vector_char_size

include cd.e
public function canvas_vector_char_size(atom hCdCanvas, atom size)

5.13.27.94 canvas_get_vector_text_size

include cd.e
public function canvas_get_vector_text_size(atom hCdCanvas,
        sequence text)

5.13.27.95 canvas_get_vector_text_bounds

include cd.e
public function canvas_get_vector_text_bounds(atom hCdCanvas,
        sequence text, atom px, atom py)

5.13.27.96 canvas_get_font_dim

include cd.e
public function canvas_get_font_dim(atom hCdCanvas)

5.13.27.97 canvas_get_text_size

include cd.e
public function canvas_get_text_size(atom hCdCanvas, sequence text)

5.13.27.98 canvas_get_text_box

include cd.e
public function canvas_get_text_box(atom hCdCanvas, atom x, atom y,
        sequence text)

5.13.27.99 canvas_get_text_bounds

include cd.e
public function canvas_get_text_bounds(atom hCdCanvas, atom x, atom y,
        sequence text)

5.13.27.100 canvas_get_color_planes

include cd.e
public function canvas_get_color_planes(atom hCdCanvas)

5.13.27.101 canvas_palette

include cd.e
public procedure canvas_palette(atom hCdCanvas, sequence palette,
        integer mode)

5.13.27.102 canvas_get_image_rgb

include cd.e
public function canvas_get_image_rgb(atom hCdCanvas, atom x, atom y,
        atom w, atom h)

5.13.27.103 canvas_put_image_rect_rgb

include cd.e
public procedure canvas_put_image_rect_rgb(atom hCdCanvas, atom iw,
        atom ih, sequence rgb, atom x, atom y, atom w,
        atom h, atom xmin, atom xmax, atom ymin,
        atom ymax)

5.13.27.104 canvas_put_image_rect_rgba

include cd.e
public procedure canvas_put_image_rect_rgba(atom hCdCanvas, atom iw,
        atom ih, sequence rgba, atom x, atom y, atom w,
        atom h, atom xmin, atom xmax, atom ymin,
        atom ymax)

5.13.27.105 canvas_put_image_rect_map

include cd.e
public procedure canvas_put_image_rect_map(atom hCdCanvas, atom iw,
        atom ih, sequence map, sequence colors, atom x,
        atom y, atom w, atom h, atom xmin, atom xmax,
        atom ymin, atom ymax)

5.13.27.106 canvas_create_image

include cd.e
public function canvas_create_image(atom hCdCanvas, atom w, atom h)

5.13.27.107 kill_image

include cd.e
public procedure kill_image(atom hCdImage)

5.13.27.108 canvas_get_image

include cd.e
public procedure canvas_get_image(atom hCdCanvas, atom hCdImage, atom x,
        atom y)

5.13.27.109 canvas_put_image_rect

include cd.e
public procedure canvas_put_image_rect(atom hCdCanvas, atom hCdImage,
        atom x, atom y, atom xmin, atom xmax, atom ymin,
        atom ymax)

5.13.27.110 canvas_scroll_area

include cd.e
public procedure canvas_scroll_area(atom hCdCanvas, atom xmin, atom xmax,
        atom ymin, atom ymax, atom dx, atom dy)

5.13.27.111 canvas_create_bitmap

include cd.e
public function canvas_create_bitmap(atom w, atom h, integer btype)

5.13.27.112 init_bitmap

include cd.e
public function init_bitmap(atom w, atom h, integer btype, sequence data)

5.13.27.113 kill_bitmap

include cd.e
public procedure kill_bitmap(atom hCdBitmap)

5.13.27.114 bitmap_get_data

include cd.e
public function bitmap_get_data(atom hCdBitmap, integer dataptr)

5.13.27.115 bitmap_set_rect

include cd.e
public procedure bitmap_set_rect(atom hCdBitmap, atom xmin, atom xmax,
        atom ymin, atom ymax)

5.13.27.116 canvas_put_bitmap

include cd.e
public procedure canvas_put_bitmap(atom hCdCanvas, atom hCdBitmap,
        atom x, atom y, atom w, atom h)

5.13.27.117 canvas_get_bitmap

include cd.e
public procedure canvas_get_bitmap(atom hCdCanvas, atom hCdBitmap,
        atom x, atom y)

5.13.27.118 bitmap_rgb_2_map

include cd.e
public procedure bitmap_rgb_2_map(atom hCdBitmapRGB, atom hCdBitmapMAP)

5.13.27.119 encode_color

include cd.e
public function encode_color(atom red, atom green, atom blue)

5.13.27.120 decode_color

include cd.e
public function decode_color(atom color)

5.13.27.121 decode_alpha

include cd.e
public function decode_alpha(atom color)

5.13.27.122 encode_alpha

include cd.e
public function encode_alpha(atom color, integer alpha)

5.13.27.123 alpha

include cd.e
public function alpha(atom color)

5.13.27.124 red

include cd.e
public function red(atom color)

5.13.27.125 green

include cd.e
public function green(atom color)

5.13.27.126 blue

include cd.e
public function blue(atom color)

5.13.27.127 rgb_2_map

include cd.e
public function rgb_2_map(atom w, atom h, sequence rgb, integer pal_size)

5.13.27.128 wd_canvas_window

include cd.e
public procedure wd_canvas_window(atom hCdCanvas, atom xmin, atom xmax,
        atom ymin, atom ymax)

5.13.27.129 wd_canvas_get_window

include cd.e
public function wd_canvas_get_window(atom hCdCanvas)

5.13.27.130 wd_canvas_viewport

include cd.e
public procedure wd_canvas_viewport(atom hCdCanvas, atom xmin, atom xmax,
        atom ymin, atom ymax)

5.13.27.131 wd_canvas_get_viewport

include cd.e
public function wd_canvas_get_viewport(atom hCdCanvas)

5.13.27.132 wd_canvas_world2_canvas

include cd.e
public function wd_canvas_world2_canvas(atom hCdCanvas, atom xw, atom yw)

5.13.27.133 wd_canvas_world2_canvas_size

include cd.e
public function wd_canvas_world2_canvas_size(atom hCdCanvas, atom ww,
        atom hw)

5.13.27.134 wd_canvas_canvas2_world

include cd.e
public function wd_canvas_canvas2_world(atom hCdCanvas, atom xv, atom yv)

5.13.27.135 wd_canvas_clip_area

include cd.e
public procedure wd_canvas_clip_area(atom hCdCanvas, atom xmin,
        atom xmax, atom ymin, atom ymax)

5.13.27.136 wd_canvas_get_clip_area

include cd.e
public function wd_canvas_get_clip_area(atom hCdCanvas)

5.13.27.137 wd_canvas_is_point_in_region

include cd.e
public function wd_canvas_is_point_in_region(atom hCdCanvas, atom x,
        atom y)

5.13.27.138 wd_canvas_offset_region

include cd.e
public procedure wd_canvas_offset_region(atom hCdCanvas, atom x, atom y)

5.13.27.139 wd_canvas_get_region_box

include cd.e
public function wd_canvas_get_region_box(atom hCdCanvas)

5.13.27.140 wd_canvas_hardcopy

include cd.e
public procedure wd_canvas_hardcopy(atom hCdCanvas, atom hCdContext,
        atom pData, atom cbFct)

5.13.27.141 wd_canvas_pixel

include cd.e
public procedure wd_canvas_pixel(atom hCdCanvas, atom x, atom y)

5.13.27.142 wd_canvas_mark

include cd.e
public procedure wd_canvas_mark(atom hCdCanvas, atom x, atom y)

5.13.27.143 wd_canvas_line

include cd.e
public procedure wd_canvas_line(atom hCdCanvas, atom minX, atom minY,
        atom maxX, atom maxY)

5.13.27.144 wd_canvas_vertex

include cd.e
public procedure wd_canvas_vertex(atom hCdCanvas, atom x, atom y)

5.13.27.145 wd_canvas_rect

include cd.e
public procedure wd_canvas_rect(atom hCdCanvas, atom minX, atom minY,
        atom maxX, atom maxY)

5.13.27.146 wd_canvas_box

include cd.e
public procedure wd_canvas_box(atom hCdCanvas, atom minX, atom minY,
        atom maxX, atom maxY)

5.13.27.147 wd_canvas_arc

include cd.e
public procedure wd_canvas_arc(atom hCdCanvas, atom xc, atom yc, atom w,
        atom h, atom a1, atom a2)

5.13.27.148 wd_canvas_sector

include cd.e
public procedure wd_canvas_sector(atom hCdCanvas, atom xc, atom yc,
        atom w, atom h, atom a1, atom a2)

5.13.27.149 wd_canvas_chord

include cd.e
public procedure wd_canvas_chord(atom hCdCanvas, atom xc, atom yc,
        atom w, atom h, atom a1, atom a2)

5.13.27.150 wd_canvas_text

include cd.e
public procedure wd_canvas_text(atom hCdCanvas, atom x, atom y,
        sequence text)

5.13.27.151 wd_canvas_put_image_rect

include cd.e
public procedure wd_canvas_put_image_rect(atom hCdCanvas, atom hCdImage,
        atom x, atom y, atom xmin, atom xmax, atom ymin,
        atom ymax)

5.13.27.152 wd_canvas_put_image_rect_rgb

include cd.e
public procedure wd_canvas_put_image_rect_rgb(atom hCdCanvas, atom iw,
        atom ih, sequence rgb, atom x, atom y, atom w,
        atom h, atom xmin, atom xmax, atom ymin,
        atom ymax)

5.13.27.153 wd_canvas_put_image_rect_rgba

include cd.e
public procedure wd_canvas_put_image_rect_rgba(atom hCdCanvas, atom iw,
        atom ih, sequence rgba, atom x, atom y, atom w,
        atom h, atom xmin, atom xmax, atom ymin,
        atom ymax)

5.13.27.154 wd_canvas_put_image_rect_map

include cd.e
public procedure wd_canvas_put_image_rect_map(atom hCdCanvas, atom iw,
        atom ih, sequence map, sequence colors, atom x,
        atom y, atom w, atom h, atom xmin, atom xmax,
        atom ymin, atom ymax)

5.13.27.155 wd_canvas_put_bitmap

include cd.e
public procedure wd_canvas_put_bitmap(atom hCdCanvas, atom hCdBitmap,
        atom x, atom y, atom w, atom h)

5.13.27.156 wd_canvas_line_width

include cd.e
public function wd_canvas_line_width(atom hCdCanvas, atom width)

5.13.27.157 wd_canvas_font

include cd.e
public function wd_canvas_font(atom hCdCanvas, sequence font,
        atom style, atom size)

5.13.27.158 wd_canvas_get_font

include cd.e
public function wd_canvas_get_font(atom hCdCanvas)

5.13.27.159 wd_canvas_mark_size

include cd.e
public function wd_canvas_mark_size(atom hCdCanvas, atom msize)

5.13.27.160 wd_canvas_get_font_dim

include cd.e
public function wd_canvas_get_font_dim(atom hCdCanvas)

5.13.27.161 wd_canvas_get_text_size

include cd.e
public function wd_canvas_get_text_size(atom hCdCanvas, sequence text)

5.13.27.162 wd_canvas_get_text_box

include cd.e
public function wd_canvas_get_text_box(atom hCdCanvas, atom x, atom y,
        sequence text)

5.13.27.163 wd_canvas_get_text_bounds

include cd.e
public function wd_canvas_get_text_bounds(atom hCdCanvas, atom x,
        atom y, sequence text)

5.13.27.164 wd_canvas_stipple

include cd.e
public procedure wd_canvas_stipple(atom hCdCanvas, atom width,
        atom height, sequence stipple)

5.13.27.165 wd_canvas_pattern

include cd.e
public procedure wd_canvas_pattern(atom hCdCanvas, atom width,
        atom height, sequence pattern, atom width_mm,
        atom height_mm)

5.13.27.166 wd_canvas_vector_text_direction

include cd.e
public procedure wd_canvas_vector_text_direction(atom hCdCanvas, atom x1,
        atom y1, atom x2, atom y2)

5.13.27.167 wd_canvas_vector_text_size

include cd.e
public procedure wd_canvas_vector_text_size(atom hCdCanvas, atom w,
        atom h, sequence text)

5.13.27.168 wd_canvas_vector_char_size

include cd.e
public function wd_canvas_vector_char_size(atom hCdCanvas, atom size)

5.13.27.169 wd_canvas_get_vector_text_size

include cd.e
public function wd_canvas_get_vector_text_size(atom hCdCanvas,
        sequence text)

5.13.27.170 wd_canvas_get_vector_text_bounds

include cd.e
public function wd_canvas_get_vector_text_bounds(atom hCdCanvas,
        sequence text, atom px, atom py)

5.13.27.171 wd_canvas_vector_text

include cd.e
public procedure wd_canvas_vector_text(atom hCdCanvas, atom x, atom y,
        sequence text)

5.13.27.172 wd_canvas_multi_line_vector_text

include cd.e
public procedure wd_canvas_multi_line_vector_text(atom hCdCanvas, atom x,
        atom y, sequence text)

About EuIup

EuIUP is an easy to use sizer based GUI toolkit boasting native widgets on Windows and Linux (OSX in alpha). Additionally native canvas, OpenGL canvas, advanced image manipulation and multi-touch device support.

Contacts