a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 datatypes.library
  --background--
  --rexxhost--
  AddDTObject
  DisposeDTObject
  DoAsyncLayout
  DoDTMethodA
  DrawDTObjectA
  GetDTAttrsA
  GetDTMethods
  GetDTString
  GetDTTriggerMethods
  NewDTObjectA
  ObtainDTDrawInfoA
  ObtainDataTypeA
  PrintDTObjectA
  RefreshDTObjectA
  ReleaseDTDrawInfo
  ReleaseDataType
  RemoveDTObject
  SetDTAttrsA
Include
GuruMeditation
Docs » Autodocs » datatypes.library » DrawDTObjectA

NAME

	DrawDTObjectA - Draw a DataTypes object.                (V44)

SYNOPSIS

	retval = DrawDTObjectA (rp, o, x, y, w, h, th, tv, attrs);
d0 a0 a1 d0 d1 d2 d3 d4 d5 a2
LONG DrawDTObjectA (struct RastPort *rp, Object *, LONG x, LONG y,
LONG w, LONG h, LONG th, LONG tv,
struct TagItem *);
retval = DrawDTObject (rp, o, x, y, w, h, th, tv, tag1, ...);
LONG DrawDTObjectA (struct RastPort *rp, Object *, LONG x, LONG y,
LONG w, LONG h, LONG th, LONG tv, Tag, ...);

FUNCTION

	This function is used to draw a DataTypes object into a RastPort.
This function can be used for strip printing the object or
embedding it within a document.
You must successfully call ObtainDTDrawInfoA() before using
this function.
This function invokes the object's DTM_DRAW method.
Clipping MUST be turned on within the RastPort. This means
that there must be a valid layer structure attached to the
RastPort.

INPUTS

	rp - Pointer to the RastPort to draw into.
o - Pointer to an object returned by NewDTObjectA().
x - Left-most point of area to draw into.
y - Top-most point of area to draw into.
w - Width of area to draw into.
h - Height of area to draw into.
th - Horizontal top in units.
tv - Vertical top in units.
attrs - Additional attributes.

TAGS

	none defined at this time.

RESULT

	TRUE to indicate that it was able to render, FALSE on failure.

SEE ALSO

ObtainDTDrawInfo, ReleaseDTDrawInfo()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Anarchy

ANA
FLT
AFL
PDX

Comments:

$VER: d0.se 1.14 Copyright © 2011-2019 Tobias Geijersson support at d0 dot se