TCanvas.CreatePen procedure
Ensures that the Pen for the canvas is valid, configured, and positioned.
Declaration
procedure CreatePen; virtualDescription
CreatePen is a procedure used to create, configure and position
the pen for the canvas.
CreatePen calls SelectObject to get the Handle for the
Pen, and saves a copy for local access in the class instance. The
MoveTo method is called to position the Pen to the coordinates in
the PenPos property. Canvas state flags are updated to indicate
that the handle for the Pen is valid.
CreatePen is called when RequiredState is used to check for a
valid pen handle.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
