Page 1 of 1

PB 6.20 B3 PathCursor after RotateCoordinates

Posted: Fri Jan 24, 2025 5:58 pm
by Justin
Shouldn' t PathCursor return 0?
W10 64

Code: Select all

If OpenWindow(0, 0, 0, 400, 200, "VectorDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
    CanvasGadget(0, 0, 0, 400, 200)
		       
    If StartVectorDrawing(CanvasVectorOutput(0))
			RotateCoordinates(20, 20, 20)
			;Shouldn't be zero?
			Debug PathCursorX()
			Debug PathCursorY()

      StopVectorDrawing()
    EndIf
    
    Repeat
      Event = WaitWindowEvent()
    Until Event = #PB_Event_CloseWindow
  EndIf