PB 5.40b9 No dots in CustomDashPath

Post bugreports for the Linux version here
pwd
User
User
Posts: 60
Joined: Thu Sep 06, 2012 9:39 am

PB 5.40b9 No dots in CustomDashPath

Post by pwd »

CustomDashPath() doesn't draw dots in Linux (tested with b8 & b9 @ Ubuntu/Xubuntu 14.04):

Screenshot of CustomDashPath's example code:

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))
    
      MovePathCursor(40, 20)
      For i = 1 To 4
        AddPathLine(80, 0, #PB_Path_Relative)
        AddPathLine(0, 40, #PB_Path_Relative)
      Next i
      
      VectorSourceColor(RGBA(255, 0, 0, 255))
      
      Dim dashes.d(7)
      dashes(0) = 20
      dashes(1) = 10
      dashes(2) = 0 ;<<< THIS DOT IS NOT DRAWN
      dashes(3) = 10
      dashes(4) = 0 ;<<< THIS DOT IS NOT DRAWN
      dashes(5) = 10
      dashes(6) = 20
      dashes(7) = 10
      CustomDashPath(5, dashes())
    
      StopVectorDrawing()
    EndIf
    
    Repeat
      Event = WaitWindowEvent()
    Until Event = #PB_Event_CloseWindow
  EndIf
Image

Screenshot of eddy's Path Moves code:
Image

While it should look like that:
Image
Last edited by pwd on Tue Dec 22, 2015 3:21 pm, edited 3 times in total.
pwd
User
User
Posts: 60
Joined: Thu Sep 06, 2012 9:39 am

Re: PB 5.40b9 No dots in CustomDashPath

Post by pwd »

Could anyone confirm this?..
juergenkulow
Enthusiast
Enthusiast
Posts: 544
Joined: Wed Sep 25, 2019 10:18 am

Re: PB 5.40b9 No dots in CustomDashPath

Post by juergenkulow »

Linux:
Image
Windows:
Image
Post Reply