Home Component Writing
New Blog Posts: Merging Reports - Part 1 and Part 2

point of effect of drawing

edited December 2003 in Component Writing
Hi
Tell me, please
Where (unit, method) drawing TppDrawCommand be put into effect on selected
device?
I can't find TextOut or something like.

Thax

Comments

  • edited December 2003

    The DrawCommand decendant classes are located in ppDrwCmd.pas. Each
    TppComponent descendant has a DrawCommandClass associated with it.

    A DrawCommand may implement rendering logic OR the rendering logic may be
    implemented by the Device class. For example, TppDrawText contains only a
    description of what should be rendered. The ScreenDevice, PrinterDevice
    classes contain the rendering logic. See ppViewr.pas and ppPrnDev.pas - the
    method DrawText.



    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.