CopyArea

Go Back

Summary:
  Copies a Canvas area in to a Graphics Target.

Header File:
  edis_grobj.h

Library Name:
  viewlib

void    CopyArea  (
    Edis_GrObjTarget*    target,
    Edis_GrObjContext*    context,
    Eeml_Canvas*    canvas ,
    Eeml_Canvas*    clip_canvas,
    int    x,
    int    y,
    int    width ,
    int    height ,
    Eerr_ErrorReport**    lclerr,
  )
canvas
    The canvas.
clip_canvas
    Specifies a clipping canvas (i.e. a 1 bit canvas) to be used when copying the canvas to the Graphics Target. If no clipping is needed this parameter can be set to NULL.
context
    Specifies the graphics context.
height
    The returned height value.
lclerr
    Error handling structure pointer.
target
    The name(including path) of the target ehfa file.
width
    The number of pixels in horizontal direction.
x
    The returned X value.
y
    The returned Y value.

Description:
  This function will copy the specified canvas into the Graphics Target. If a clip_canvas is specified, then the canvas is copied through the clip_canvas and placed in the Graphics Target. The upper left corner of the canvas will be placed at the coordinate x,y.

Notes:
  None.

Return Description:
  This function has no return value.