JCL Help:TJclBitmap32.MoveTo

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Changes the current drawing position to the point (X,Y).


Pascal

 public procedure MoveTo(X: Integer; Y: Integer);
public procedure MoveToF(X: Single; Y: Single);


Parameters

Parameters Description
X: Integer Specifies the x-coordinate of the new position.
Y: Integer Specifies the y-coordinate of the new position.


Description

Shifts current raster to specified position, analogous to MoveTo method of standard TCanvas.
Each bitmap maintains separate raster positions for integer and fixed point coordinates. MoveTo affects the integer raster position, while MoveToX and MoveToF affect the fixed-point raster position.
Raster position is applicable only to MoveTo, LineTo methods and some polygon drawing routines, which use it internally, it is not changed neither by DrawLine methods nor by any other method.


See Also

DrawLine LineToS LineTo Graphics_Naming_Conventions TFixed


About

Donator

Alex Denissov


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page