Home Component Writing
New Blog Post: Email: Multi-Service

point of effect of drawing

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



  • 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

    Best regards,

    Nard Moseley
    Digital Metaphors
This discussion has been closed.