Hello,
if I understand the documentation correct, this is the only way using a
property in an interface:
IMyInterface = interface
function GetTag: Integer;
procedure SetTag(AValue: Integer);
property Tag: Integer read GetTag write SetTag;
end;
Or exists a possibilty to
Am 22.03.2011 10:59, schrieb Michael Fuchs:
Hello,
if I understand the documentation correct, this is the only way using a
property in an interface:
IMyInterface = interface
function GetTag: Integer;
procedure SetTag(AValue: Integer);
property Tag: Integer read GetTag write SetTag;
end;
Or
Hello,
I am seeking for some advice regarding what graphics library to use
for a new project.
I am aware that the application can be done by drawing lines, points
and text within a canvas. But I am hoping to find out about the existence
of some already existing libraries that would ease the
For drawing lines, shapes, fills, on Linux I'd recommend using cairo. On
Windows I'd say you should use GDI or GDI+. You can find pascal files
importing the functions for those libraries using google. Some of them may
come with FPC.
For widgets, if you are using Lazarus, it comes with a widget
You could take a look to AggPas.
Good luck!
Horacio
El 22/03/2011 11:37, Adrian Maier escribió:
Hello,
I am seeking for some advice regarding what graphics library to use
for a new project.
I am aware that the application can be done by drawing lines, points
and text within a canvas. But I
On Tue, Mar 22, 2011 at 17:18, Anthony Walter sys...@gmail.com wrote:
For drawing lines, shapes, fills, on Linux I'd recommend using cairo. On
Windows I'd say you should use GDI or GDI+. You can find pascal files
importing the functions for those libraries using google. Some of them may
come
On Tue, Mar 22, 2011 at 18:13, Horacio Jamilis hjami...@pymesoft.com.ar wrote:
You could take a look to AggPas.
I'll look , thanks .
--
Adrian
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Oh, you want a retained mode graphics system. That should be pretty easy to
write yourself.
Just write a class like TDrawable with a Paint(), HitTest(Point), and
Intersects(Rect) methods and derive from that to have your different drawn
types.
Keep a list of those items in your drawing surface.