Page 1 of 1

m1 Graphic Problems with PB, please check - important

Posted: Sat Jan 30, 2021 12:47 am
by Saki

Re: m1 Graphic Problems with PB, please check - important

Posted: Sat Jan 30, 2021 8:51 pm
by davido
@Saki,
I checked this code you posted, third post in linked thread:

Code: Select all

OpenWindow(0, 0, 0, 800, 600, "", #PB_Window_SystemMenu |#PB_Window_ScreenCentered)
ImageGadget(0, 10, 10, 780, 580, 0)
CreateImage(0, 780, 580, 32, #PB_Image_Transparent)
StartVectorDrawing(ImageVectorOutput(0))
MovePathCursor(10, 10)
AddPathLine(700, 500)
VectorSourceColor(#Red|$FF000000)
StrokePath(1)
StopVectorDrawing()
SetGadgetState(0,ImageID(0))
Repeat
Until WaitWindowEvent()=#PB_Event_CloseWindow
It seemed to run ok: A red diagonal line from Top-left to Bottom-right.

Have I tested the correct code?
If not please post the code you want testing.

My system:Hardware Overview:

Model Name: MacBook Pro
Model Identifier: MacBookPro17,1
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 8 GB

Re: m1 Graphic Problems with PB, please check - important

Posted: Sat Jan 30, 2021 10:59 pm
by Saki
Hi Davido, many thanks.

Very interesting, it may well work with the Vector Lib.

Please test the other codes in the thread without VectorLib Using.

Look the latest Postings, there seems to be other graphic errors.

Best Regards Saki

Re: m1 Graphic Problems with PB, please check - important

Posted: Sun Jan 31, 2021 3:34 pm
by davido
@Saki,

I've checked out all the posted code in the linked thread.
I am pleased to inform you that they all run, with png files they can find on my machine.

If you want more detailed comments please inform me and I'll be pleased to take more time to check them out. (When some time has elapsed after the few beers I have just enjoyed.)

Re: m1 Graphic Problems with PB, please check - important

Posted: Sun Jan 31, 2021 10:55 pm
by Saki
Hi Davido,
many Thanks.
This are good News !

Well, let's wait and see if anyone else has problems with it, or if it goes primary.

Best Regards Saki