1. Computing
Glossary|Tips/Tricks|FREE App/VCL|Best'O'Net|Books|Link Back

Delphi Programming RTL Reference|By Category|Alphabetically|By Unit
 

Point

unit
Classes
category
type conversion routines

declaration
function Point(aX, aY : Integer): TPoint;

description
Returns the Point type variable from two integers.

example
//Set the starting point of a canvase's
//pen to 0,0

Canvas.PenPos := Point(0,0)

in real code
Zoom
How to write a Delphi application that is able to zoom in portion of your desktop screen.

see also
Rect,


 Free Delphi code snippet inside every Delphi Newsletter!
Subscribe to the Newsletter
Name
Email

 Got some code to share? Got a question? Need some help?

©2013 About.com. All rights reserved.