Are MouseCursor hotspot definitions 0 or 1 based?

I’m assuming that they’re 0 based with the origin in the upper left (i.e. a 15x15px “crosshair” cursor would have an exact center of 7, 7). Does that sound correct?

You can try it out. Appears 0 based. Click the canvas and the lines line up exactly.

[code]//Window Properties
downX As Integer
downY As Integer

//Canvas Events
Sub Open()
dim p As new Picture(15, 15)
p.Graphics.ForeColor = &c00FF00
p.Graphics.DrawLine 0, 7, 14, 7
p.Graphics.DrawLine 7, 0, 7, 14
me.MouseCursor = new MouseCursor(p, 7, 7)
End Sub

Function MouseDown(X As Integer, Y As Integer) As Boolean
downX = X
downY = Y
End Function

Sub Paint(g As Graphics, areas() As REALbasic.Rect)
g.ForeColor = &cFFFFFF
g.FillRect 0, 0, g.Width, g.Height
g.ForeColor = &c000000
g.DrawLine downX, 0, downX, g.Height
g.DrawLine 0, downY, g.Width, downY
End Sub[/code]

Thanks for the corroboration Will.