IDrawDecorator_Draw() starts off a chain of drawing, calling the draw handler at the beginning of the chain. Each draw handler that hooks into the draw decorator is expected (though not required) to call DRAWHANDLERDESC_Call() to continue the chain and insure that all child objects are drawn.
- p:Pointer to the IDrawDecorator object to draw.
- d:Pointer to the ICanvas object that will provide drawing services to the draw decorator.
- x:Horizontal position of the left side of the draw decorator, offset from the left side of the ICanvas object.
- y:Vertical position of the top of the draw decorator, offset from the top of the ICanvas object.
void IDrawDecorator_Draw(IDrawDecorator *p, ICanvas *d, int x, int y);