Search found 3 matches

by BIOS
Sat Jul 03, 2021 8:47 pm
Forum: Linux
Topic: [PB 5.73 LTS x64] QT vs GTK2 DrawingBuffer Size Difference
Replies: 3
Views: 4996

Re: [PB 5.73 LTS x64] QT vs GTK2 DrawingBuffer Size Difference

MemorySize is not allowed, then...
Can I use CopyMemory on/from DrawingBuffer, to make independent copy? Sometimes it is work - sometimes I get "Invalid memory access" error....
I am trying to find images that might be causing the error.
by BIOS
Fri Jul 02, 2021 6:40 pm
Forum: Linux
Topic: [PB 5.73 LTS x64] QT vs GTK2 DrawingBuffer Size Difference
Replies: 3
Views: 4996

[PB 5.73 LTS x64] QT vs GTK2 DrawingBuffer Size Difference

Image DrawingBuffer has different size on GTK2 and QT subsystems
Expected = 36
RealSize = 65 (GTK2)
RealSize = 48 (QT)
RealSize = 49 (Empty)
Also get "*ImageData is not Valid" error on Windows (MemorySize(*ImageData) line)

UsePNGImageDecoder()
Define *FileImage = LoadImage(#PB_Any ...
by BIOS
Fri Jul 02, 2021 12:44 pm
Forum: Linux
Topic: QT vs GTK2 Coordinate Value Rounding
Replies: 1
Views: 5427

QT vs GTK2 Coordinate Value Rounding

Different behavior on QT and GTK2 subsystem, like GTK2 makes Round for coords on line 6-7

#X = 0.999999

Define *Image = CreateImage(#PB_Any, 3, 3)

StartVectorDrawing(ImageVectorOutput(*Image))
MovePathCursor(#X, 0)
AddPathLine(#X, 3)
VectorSourceColor($FFFFFFFF)
StrokePath(1)
StopVectorDrawing ...