All Databases
Inside Mac - Basic Toolbox
Move
Move
LineTo
Line
Move
Move the pen relative to its current location
#include <
Quickdraw.h
>
Quickdraw
void
Move
(
distHoriz
,
distVert
);
short
distHoriz
; distance, in points to move horizontally
short
distVert
; distance, in points to move vertically
Move
moves the pen a specified distance from its current location. It does not
perform any drawing.
distHoriz
is the distance, in pixels, to move the pen horizontally. Positive
values move to the right; negative to the left.
distVert
is the distance, in pixels, to move the pen vertically. Positive
values move down; negative move up.
Returns
: none
Notes:
MoveTo
is functionally identical to:
MoveTo
(
thePort
->
pnLoc
.
h
+
distHoriz
,
thePort
->
pnLoc
.
v
+
distVert
);
This does not do any drawing. Use
Line
or
LineTo
draw as the pen is
moved.
Referenced by (107):
Line
LineTo
MoveTo
Writing Compatible Graphics Applications
March 93 - Reuse Abuse (Frameworks Archive)
May 92 - Exception Handling in MacApp 3 (Frameworks Archive)
Dialog Mgr (Inside Mac - Index)
Low-Level File Manager (Inside Mac - Index)
Memory Mgr (Inside Mac - Index)
Quickdraw (Inside Mac - Index)
Window Mgr (Inside Mac - Index)
HLockHi (Inside Mac - Basic Toolbox)
HideDItem (Inside Mac - Basic Toolbox)
Line (Inside Mac - Basic Toolbox)
LineTo (Inside Mac - Basic Toolbox)
MoveHHi (Inside Mac - Basic Toolbox)
MoveTo (Inside Mac - Basic Toolbox)
MoveWindow (Inside Mac - Basic Toolbox)
OffsetPoly (Inside Mac - Basic Toolbox)
OffsetRect (Inside Mac - Basic Toolbox)
OffsetRgn (Inside Mac - Basic Toolbox)
PBHMoveRenameSync (Inside Mac - Basic Toolbox)
Presenting the Default Interface (Inside Mac - Basic Toolbox)
ScrollRect (Inside Mac - Basic Toolbox)
SendBehind (Inside Mac - Basic Toolbox)
SetDItem (Inside Mac - Basic Toolbox)
SetFPos (Inside Mac - Basic Toolbox)
ShowDItem (Inside Mac - Basic Toolbox)
Writing Compatible Graphics Applications (Inside Mac - Basic Toolbox)
ZoomWindow (Inside Mac - Basic Toolbox)
Call Register Routines (MacTech Vol 01-1984-5)
Computing Caverns (MacTech Vol 01-1984-5)
Function Resources (MacTech Vol 01-1984-5)
HFS File Structure (MacTech Vol 01-1984-5)
Jul 85 Letters (MacTech Vol 01-1984-5)
Apr 86 Tech Questions (MacTech Vol 02-1986)
HFS Issues (MacTech Vol 02-1986)
Object Pascal (MacTech Vol 02-1986)
Technical Questions 2.1 (MacTech Vol 02-1986)
Technical Questions 2.2 (MacTech Vol 02-1986)
Printer Resource 2 (MacTech Vol 03-1987)
Font Dialog (code) (MacTech Vol 04-1988)
IAC Driver 2 (MacTech Vol 04-1988)
Jan 88 Letters (MacTech Vol 04-1988)
Jan 88 Mousehole (MacTech Vol 04-1988)
Tear-off, Float menus (code) (MacTech Vol 04-1988)
XCMD Import Text (MacTech Vol 04-1988)
XCMD Printer (MacTech Vol 04-1988)
ADB Repair (MacTech Vol 05-1989)
Apr 89 Letters (MacTech Vol 05-1989)
Jan 89 Letters (MacTech Vol 05-1989)
Jun 89 Letters (MacTech Vol 05-1989)
SuperSub (MacTech Vol 05-1989)
HeapLister(code) (MacTech Vol 06-1990)
Hunk Mgr, Word Sol'n (MacTech Vol 06-1990)
Jan 90 Mousehole (MacTech Vol 06-1990)
Micro-draw (MacTech Vol 06-1990)
Track, Field 2 (MacTech Vol 06-1990)
Beginning OOPs (MacTech Vol 07-1991)
File Path (MacTech Vol 07-1991)
Interfacial Relations 6 (MacTech Vol 07-1991)
MultiWindow DA (MacTech Vol 07-1991)
Aug 92 Letters (MacTech Vol 08-1992)
Aug 92 Tips (MacTech Vol 08-1992)
Efficient 68030 (MacTech Vol 08-1992)
Rotten Apple (MacTech Vol 08-1992)
Self Modifying Code (MacTech Vol 08-1992)
68040 BlockMove (MacTech Vol 09-1993)
Aug 93 Challenge (MacTech Vol 09-1993)
Color Animation (MacTech Vol 09-1993)
Efficient 68040 (MacTech Vol 09-1993)
Efficient C (MacTech Vol 09-1993)
Frontier Guide (MacTech Vol 09-1993)
Nov 93 Challenge (MacTech Vol 09-1993)
Plotting (MacTech Vol 09-1993)
Sep 93 Challenge (MacTech Vol 09-1993)
Debugging PPC (MacTech Vol 10-1994)
Emulation (MacTech Vol 10-1994)
Mar 94 Tips (MacTech Vol 10-1994)
Oct 94 Tips (MacTech Vol 10-1994)
Selective Color (MacTech Vol 10-1994)
Diet For Fats (MacTech Vol 11-1995)
Guide Extrn Code Modules (MacTech Vol 11-1995)
Jan 95 Tips (MacTech Vol 11-1995)
Jan 96 Tips (MacTech Vol 12-1996)
Jun 97 Challenge (MacTech Vol 13-1997)
May 97 Challenge (MacTech Vol 13-1997)
Contextual Menu Modules (MacTech Vol 14-1998)
Jun 98 Newsbits (MacTech Vol 14-1998)
Apple Event CGIs (MacTech Vol 15-1999)
Apr 99 Tips (MacTech Vol 15-1999)
Aug 99 Tips (MacTech Vol 15-1999)
Code Optimization (MacTech Vol 15-1999)
Jun 99 Challenge (MacTech Vol 15-1999)
Mar 99 Getting Started (MacTech Vol 15-1999)
Jul 00 Viewpoint (MacTech Vol 16-2000)
Mar 01 Challenge (MacTech Vol 17-2001)
Nov 00 Challenge (MacTech Vol 17-2001)
Winter 91 - MACINTOSH Q & A (develop - 1991)
June 93 - Letters (develop - 1993)
March 93 - ASYNCHRONOUS ROUTINES ON THE MACINTOSH (develop - 1993)
December 95 - Speeding Up whose Clause Resolution In Your Scriptable Application (develop - 1995)
March 95 - KON & BAL'S PUZZLE PAGE (develop - 1995)
December 96 - Chiropractic for Your Misaligned Data (develop - 1996)
June 96 - MPW Tips And Tricks: Scripted Text Editing (develop - 1996)
March 96 - THE VETERAN NEOPHYTE: Killing Time Killers (develop - 1996)
September 96 - Game Controls for QuickDraw 3D (develop - 1996)