Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-06-26 Thread James Richters
Is there a way to re-scale a drawing with agg_2D? Basically I'm wanting to zoom in/out of a drawing made with lines and arcs and I'm wondering the most efficient way to do it. I found a scale feature in aggpas but it only seems to scale items drawn after the command is issued. I'm wondering

[fpc-pascal] Mutual Reference Interfaces and Memory Leaks

2017-06-26 Thread African Wild Dog
Hello, What is the recommended way to avoid memory leaks in mutual interface references? >From delphi 10.1 Berlin it is possible to use [unsafe] e [weak] attributes. http://blog.marcocantu.com/blog/2016-april-weak-unsafe-interface-references.html . Is there a workaround in Free Pascal 3?

Re: [fpc-pascal] Mutual Reference Interfaces and Memory Leaks

2017-06-26 Thread Marcos Douglas B. Santos
On Mon, Jun 26, 2017 at 12:39 PM, African Wild Dog wrote: > Hello, > > What is the recommended way to avoid memory leaks in mutual interface > references? > > From delphi 10.1 Berlin it is possible to use [unsafe] e [weak] attributes. >

Re: [fpc-pascal] Raspberry Pi Zero Wireless Self-hosted

2017-06-26 Thread Paul Breneman
On 06/16/2017 08:22 AM, Paul Breneman wrote: How simple can we get? http://wiki.freepascal.org/self-hosted I just updated http://www.controlpascal.com/self-hosted.htm#RPiZwKit after quickly getting a console Debian installed on RPi Zero Wireless.

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-06-26 Thread Stefan V. Pantazi
On 06/26/2017 10:21 AM, James Richters wrote: Is there a way to re-scale a drawing with agg_2D? I think so, scaling is one of the transformations that agg supports well. The way I would go about this would be to study how agg manages the parsing, storage and display of svg drawings, which

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-26 Thread Bo Berglund
On Sun, 18 Jun 2017 09:04:49 +0200, Bo Berglund wrote: >So I installed >serial2net on the RPi, making it publish the serial port as a TCP port >(#2091). This part works OK, so whatever is sent on the TCP socket >connection gets transferred to the RS232 serial line and vice