ect
end;
for x := 0 to ImageWidth - 1 do
for y := 0 to ImageHeight - 1 do
begin
pixelcolor:=(getBufItemAsbyte(2) shl 12)+(getBufItemAsbyte(1) shl 8)
+(getBufItemAsbyte(0) shl 4)+getBufItemAsbyte(3);
putpixel(x,y,pixelcolor);
end;
James
-Original Message
27;s
what it seems to be if ptcgraph is put in a 16bit color mode. It doesn't seem
to be able to go any higher than that, but that's fine for my purposes.
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
James Richters
>And AggPas already has support for that pixel format
How do I define that as the format I want? I've been looking all through the
example and do not see how this is defined. I've attached a test program, it's
basically Graeme's sample but going to screen instead of a file. I just don't
see
le to use a nested loop and putpixel() but
that is very slow. I still think something is missing with putimage because I
don't see how it knows the shape of the image, maybe I need to actually do a
getimage() at some point to set the shape of before putimage will work.. I'll
t because I would like to figure out what I will need to do
on my target installations where freepascal will not be installed.
Any ideas on what causes this error and advice on how to install what is
needed on client (non-development) systems?
James
-Original Message-
From: fpc-pasca
ccrt,
Sysutils,
Fpimage,
Fpwritepng,
Agg_2d,
Agg_Basics
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
Graeme Geldenhuys
Sent: Monday, June 05, 2017 2:25 PM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] Implementi
.wikipedia.org/wiki/Dependency_Walker).
On linux you can just use ldd.
Hope this helps,
Stefan
On 06/05/2017 05:00 PM, James Richters wrote:
>> As for font support under Windows. Yes you can use GDI for font rendering,
>> but I highly recommend using freetype.dll even under Windows.
&
o do I need to enable them somehow?
I haven't tried compiling this yet, I'm still using r715. I thought I
would ask if it was ready first.
Thanks,
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
Nikolay Nikolov
Sent:
get there, maybe in a few week's time
I will be happy to be patient š Thank you for all your hard work on this!
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
Nikolay Nikolov
Sent: Monday, June 12, 2017 6:56 PM
To: fpc-pas
he right 5 bits 11 positions to the left
and flipping the Y axis, but I can only do that with putpixel and a nested
loop, which is quite a bit slower than putimage.
Any ideas how I can build the data correctly so putimage will work?
James
___
tes matching up
I still have not figured out how to switch red and blue bits around so
putimage() will work.
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
James Richters
Sent: Tuesday, June 13, 2017 12:43 PM
To: 'FPC-Pascal
re swapped, you can do all your drawing with
>colors there R and B are switched.
It sounds like it would be easier to figure out option 1. That may also be
better for compatibility if aggpas is updated in the future to be more
compatible with ptcgraph.
James
-Original Message
n the compile command line, the program runs as expected.
Since Stefan said he compiled 64bit versions of the example program and it
worked, I wonder why I am having this issue.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
sive. Again, if your program hangs for some reason, a
>debugger may come in handy.
I had the color set to blue, I get the blue rectangles, but there is this huge
delay (6 seconds) in the x64 version but no delay in the win32 version. The
black screen was before I inserted the rectangles
>Noting your problems with compilation, you may want to consider using Lazarus
>IDE as well.
I have just installed Lazarus but still can't get the
aggpas_ptcgraph_output.pas sample program to run when compiled for x64.
Here is what I have done.
Downloaded and installed lazarus-1.6.0-fpc-3.0.0
ross
compile for win64 and it works. I wonder if this is an issue with Freepascal
3.0.2, and aggpas hasn't been fixed for it yet and I need to use Freepascal
3.0.1 to get it to work?
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On
so from there I can compile x64 programs,
then install
lazarus-1.6.4-fpc-3.0.2-cross-i386-win32-win64.exe so I can also compile Win32
programs with Lazarus.
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
James Richters
Sent:
ss thing (it wouldn't
be the first). Can you just email me the exe file zipped and l'll just try to
run it here? Then I will know if it's a compiler issue or an OS issue
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf
Thanks for all the info, I will try to get it working.
>I assume you mean the executable of the ptcgraph+aggpas demo? I'll do so in a
>private email.
Yes, please.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/c
me you mean the executable of the ptcgraph+aggpas demo? I'll do so in a
>private email.
Thanks for mailing the demo executable. I'm happy to report that it does run
fine on my system as well (Windows 10 x64)
So there must be something different in the way
enhuys
Sent: Wednesday, June 14, 2017 8:29 AM
To: fpc-pascal@lists.freepascal.org
Cc: James Richters
Subject: Re: [fpc-pascal] Implementing AggPas with PtcGraph
On 2017-06-14 11:57, James Richters wrote:
> I've downloaded the zip file and extracted it to H:\FPC64. But now
> I have
gui yet, I thought
I would just ask first
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
modify a unit to make it
work.I'm not sure where the proper place is to submit things like this, but
I would be happy to contribute these changes if possible.
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
James Richter
maybe some of these things are fixed already
Thank you for the help with this.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
be not easy
to implement... I suppose it probably compiles all the units first then the
main program, so putting anything in the main program wouldn't be seen until it
was too late.
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf O
ing with reference to 'projects' is that a
Lazarus thing? How are 'projects' defined?
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
Mattias Gaertner
Sent: Thursday, June 15, 2017 6:55 AM
To: fpc-pascal@list
with:
fpc -Px86_64 testit.pas
Any ideas about this?
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
o not be there anymore. Using a custom cfg with this
method would allow the changes to be kept separate and be a more obvious
reminder that they need to happen. Can I add the custom config into the IDE
someplace?
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
/downloads/inpout32/
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
;t know why this particular combination is a
problem.
I just now also tried
LY:=Round(-(BYA+SYA)+30); //works both Win32 and Win64
Which is exactly the same thing as
LY:=Round(30-(BYA+SYA)); //Does not work Win64
James
-Original Message-
From: fpc-pascal [mailto:fpc-
don't have time to do a
massive re-write all at once, and FreePascal let me drop in my Turbo Pascal
programs and pretty much just run them.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin
endencies are required.
Sound like I was using the correct unit anyway for my console apps
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lso wondering if there is a way to specify the font by the name used by
windows applications, or is that more complicated than it is really worth?
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
;;
Writeln(Font2use);
agg^.Font(font2use ,45 );
..
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
. instead it
was just re-reversed to compensate for the error in agg_color.pas. My point
here is that it may be too late to just correct it now, because then everyone
who has programs that already 'fix' the problem will then all be wrong, so I'm
not sure what the best way to fix this
s up making a mess of
everything. Better off to just fix it then fix any programs as needed instead
of having an even bigger and more confusing mess that no one will remember why
it's like that in 5 years.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ic
keyboard rate. I wish it to be much faster than it is. I seem to remember
that on DOS systems there was a way to set it, but on windows systems the only
thing I can find is a control panel setting, which I maxed out but it's still
not fast enough. Is there a way to override the typm
>The 2 part directory names is because other Canvas renderers will and
>can be added to fpGUI.
Yes the directory structure makes more sense if there will be other
rendering options and render/aggpas/ also makes more sense than
render/software for the same reason.
>we've always set that in the BIOS of the machine... it is generally in the
>same area where you would toggle the numlock on at boot...
Thanks for the suggestion! I did not even think to look there.
James
___
fpc-pascal maillist -
to console }
surface.copy(console, area, area);
send the changes to the screen. I'm wondering if I can have aggpas work with
the ptcgraph buffer directly, and maybe this would be more efficient than
putimage()
Any ideas?
James
___
I was trying to find putimage to see how it worked... and I came across some
notes about it in graph.inc as follows:
{ For significant speed improvements , is is recommended }
{ that these routines be hooked (otherwise the default, }
{ slower routines will be used) :}
.
ady has the array position and the fact that
something changed available. If I had to analyze the buffer separately and
create the 'pixels changed' array, it would take too long.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepasca
tead of 1.056s maybe I did something wrong. Here
is what I did:
https://github.com/Zaaphod/ptcpas/compare/Restructure_PutImage_Loop#diff-fb31461e009ff29fda5c35c5115978b4
maybe the two inc(pdest); inc(psrc); inside the inner loop are slower than the
inc(k)?
James
__
(k,deltaX1);
End;
End;
..
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
up.
test program is below. If I comment out ptcgraph and ptccrt and uncomment
graph and wincrt, it works as expected.
James
program ReOpenGraph.pas;
{$mode objfpc}{$H+}
uses
ptcgraph,ptccrt;
// graph,wincrt;
var
gd,gm : smallint;
begin
gd:=d8Bit;
gm:=m800x600
around by just hiding the window with
ShowWindow(graphwindow,SW_hide);
To get back to my console window, then when needed I can clear it and show it
again with.
ShowWindow(graphwindow,SW_show);
James
___
fpc-pascal maillist - fpc-pascal@lists.freep
ineColor(155, 0, 0, 255);
agg^.line(60, 10, 60, 50);
agg^.lineto(100,50); //no line drawn here
agg^.lineColor(0, 0, 155, 255);
agg^.moveto(100, 10);
agg^.lineto(100,50);//no line drawn here
agg^.lineColor(155, 0, 155, 255);
agg^.line(120, 10, 1
> lineto is meant to be used multiple times, as part of a draw path. So, lineto
> does not really draw,
>it just adds a vertex to a vertex storage object. To draw a path, you need to
>use the drawPath(option):
Thank you for the information! I thought I was missing somet
e and offset to aggpas from scratch.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
is is normally achieved, and how to implement this
with my freepascal console applications?
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
I thought I would try to get my demo program to work. When I try to compile it
with
//manually create the ptcwrapper thread
PTCWrapperObject := TPTCWrapperThread.Create;
I get reopengraph.pas(32,23) Error: Identifier not found "TPTCWrapperThread"
Demo program below... Any ide
igning-a-windows-exe-file
Thank you for the link, that does help explain things and gets me pointed in
the right direction.
James
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
Snorkl e
Sent: Wednesday, June 28, 2017 1:51 PM
To: FPC-Pascal users discu
>add ptcwrapper to uses list.
Thank you, that worked!
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ar how it would get from 5 or 6 bits
up to 8 bits per color... but if it's already available somewhere I might as
well use what's done already.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
color.ConstrInt(
(p^ shr 8 ) and $F8 ,
(p^ shr 3 ) and $FC ,
(p^ shl 3 ) and $F8 );
end;
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
I defined a static array to convert the mode 13h VGA palette to separate red,
green and blue to send to aggpas as well as the packed RGB565 format needed to
send to ptcgraph 16bit colors.
James
Type
VGARGBRec= Record
R,G,B:Byte;
RGB:Word;
end;
Const
VGA256: Array[0..255
I defined a static array to convert the mode 13h VGA palette to separate red,
green and blue to send to aggpas as well as the packed RGB565 format needed to
send to ptcgraph 16bit colors.
James
Type
VGARGBRec= Record
R,G,B:Byte;
RGB:Word;
end;
Const
g out it could have been better another way. Any other
ideas on how to handle this?
Any advice on this is greatly appreciated
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
input and figure out what to do based on the string value
and it seems this would save a lot of time.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
p file, then re-writing the entire new file in the
desired order?
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
,GX,GY,GZ,GI,GJ,R,SA,EA:Double;
End;
I don't understand "packed record" could you elaborate?
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
Ched
Sent: Sunday, July 09, 2017 12:01 PM
To: FPC-Pascal users di
GC: Word;
PX,PY,PZ,GX,GY,GZ,GI,GJ,R,SA,EA:Double;
End;
{$PackRecords default}
Or am I not understanding this correctly?
James
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
Vojtech CihƔk
Sent: Sunday
ch Here's the link:
https://github.com/Zaaphod/ptcpas/commit/b96f7208f079d4e2fe208ba5ac464f8f6808d79b
https://github.com/Zaaphod/ptcpas/tree/Compiled
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
to force terminate the program.
sleep(1);
Writeln('Turning On Display');
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, -1);
Writeln('Display is On');
End.
James
___
fpc-pascal maillist - fpc-pascal@lists.
yboard input, but I haven't been able to get
them to work in a freepascal console application.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
does
not wake the display
Simulating the Keyboard with Keybd_Event(VK_Shift,1,0,0); does wake up the
display
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
nd once it gets in this mood
it happens constantly until I exit it and restart it, then it acts normal
again, letting me click to position the cursor without error.
Does anyone have any idea what might be causing this? I really prefer the
text
effectiveness of documentationetc. the best program isn't necessarily the
one that executes fastest... Which is a 'better' program: program A that
executes in 0.00018s that uses 1MB of RAM or Program B that executes in
0.00016s that uses 100MB of RAM
James
___
t have variables retain exactly
what they are set to, not something close
Thanks
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
to "C:\FPC\3.0.2" via "3.0.2"
> // Shouldnāt this be āā since we are already
>there?
>From "C:\FPC\3.0.2" to "C:\FPC\3.0.4rc1" via "3.0.4rc1"
&g
the benefit that one could do things like
exact conditionals and get the expected result
James
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
Sven Barth via fpc-pascal
Sent: Tuesday, August 22, 2017 1:55 AM
To: FPC-Pascal users discussions
Cc: Sven Barth
ing / in the examples to make
it clear they are needed. None of the sample test cases have trailing / or \
I am curious about this though:
From "/pp/src/compiler/" to "/pp/bin/win32/ppc386/" via
"..\..\bin\win32\ppc386\"
Shouldn't the output use / since / was used in both the source and destination
not \ ?
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>Can you please file a bugreport for that, so I will not forget it ?
Done.
>The default for the OS is used; This is by design.
That makes sense for most cases but is there / could there be a way to override
this? I normally write programs for Windows, however I've had to write out the
Linux Sl
s way, just loading the new file into
the existing instance, but I'm not familiar enough with how this is done.
Could someone please point me in the right direction on how this is typically
done?
James
___
fpc-pascal maillist -
ow what it was called.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
el
Does anyone know what's going on with this? It seems like the kind of thing
where some internal calculation does not have enough precision, or something is
overflowing.. but it's strange that ArcTo always works to draw the same exact
arc.
James
__
rd coded numbers:
agg^.arc(
-600470.258096880350, {Cx}
168254.083748858280, {Cy}
624074.001867781300, {Rx}
624074.001867781300, {Ry}
6.011216001395, {Start}
6.010880670454 {Sweep}
);
Thanks for the help with this
James
___
fpc-pascal maillist - fpc-
Also I just do all my math in radians so I donāt' need to convert deg2rad() as
in the examples. There is little point in converting everything to degrees
just to convert it back to radians again.
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepasca
>I can supply a complete sample program if it would help
See Sample Program Attached
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
James Richters
Sent: Wednesday, August 30, 2017 12:18 PM
To: 'FPC-Pascal users dis
or your evaluation.
I realize Arcto() and Arc() work differently, but the Arc I am trying to
display is a valid Arc segment with either method.
Thank you for your help with this
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
I have several Similar arrays as follows for translating various color schemes
into RGB565, I currently have 5 arrays but may add more.
ACI256: Array[0..255] of VGARGBRec = (
(R:$00; G:$00; B:$00; RGB:$), //[ 0]
(R:$FF; G:$00; B:$00; RGB:$F800), //[ 1]
(R:$FF; G:$FF;
aximum element in
the for loop?
> The loop can still be optimized, but that is another topic.
Please elaborate, how this loop could be optimized? I've been trying to think
of ways to improve it, and suggestions would be most welcome.
James
e);
> The loop can still be optimized, but that is another topic.
Please elaborate, I would be very interested in how this could be optimized.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/c
hat is totally not a standard resolution.
Are there ways of doing these things that I just am not aware of?
Thanks
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
This.is.a.TEST.tap it correctly
returns '.tap' as the extension. Maybe findfirst is an obsolete way of listing
the files?Or maybe it just never got fixed to handle valid files with more
than one period?
Any thoughts on this?
James
___
function and itās working great now! I thought I took care of all the Dos
limitations over a year ago, but I missed this one. Thanks for the help,
knowing it was working for someone else got me to the problem.
James
___
fpc-pascal maillist
looking for.
Iāve been looking through the sysutils reference here:
https://www.freepascal.org/docs-html/rtl/sysutils/index-5.html
and I see disk size, but not file sizeā¦
Could someone please point me in the right direction?
James
mail that would give me an error code? I'm running
from a single thread console application.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ing a solution can be found as I have
reports I display in console windows, even on my graphics programs that would
be so much nicer if I could use box characters again, since I make use of the
console window while the graphics window is also open.
James
ascii box.pas
Description: Bin
he CRT unit use Unicode, then it should do that Correctly, which it does not.
Whether CRT is using Extended ASCII or Unicode, as far as I can figure out,
it's impossible to display box characters with the CRT unit at all.
James
ke my links with spaces in them, so I made an
index link with all the links and a zip file with all test programs and screen
shots.
Index File
http://www.productionautomation.net/FPC/ASCII/index.htm
Zip file
http://www.productionautomation.net/FPC/ASCII/BoxCharacters.zi
Iāve entered a bug report on this here:
https://bugs.freepascal.org/view.php?id=32558
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
path like
..\..\FPC\3.0.4rc1\bin\FPC %1 %2 %3 %4 It's just something I always have done
since turbo pascal, which I also never installed, just copied the TP
directory wherever I wanted to run it.
Anyway.. I run FPC all over the place and never "install" it.
James
-Origin
ine number, which makes it very difficult to figure
out exactly what part of the function had the problem.
I am using FPC 3.0.4rc1, compiling with the text IDE and I have option
"Generate also backtrace line information" selected.
Does anyone know what might cause the line numbers to
I have not figured out what causes it to be anything but exact yet.
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
FlƔvio Etrusco
Sent: Monday, November 06, 2017 8:10 PM
To: FPC-Pascal users discussions
Subject: Re: [fpc-pascal
se now graph_buffer isn't an array
anymore... so what I have won't work and I haven' figured out how to attach
AggPas at a position where the bitmap data is so I can use PutImage and still
have the Longints that were put in by GetImage.
Any advice is greatly appreciated
Ja
l;
aggclock^.Text(2 ,19,FormatDateTime('hh:nn:ssam/pm',Now));
Putimage((GetMaxX-4)-Clock_W, 4, Clockbuffer_With_Time^ , normalPut);
End;
until KeyPressed;
End.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>> ClockBuffer_With_Time:=ClockBuffer_original;
>
>That seems fine.
>
>> AggClockbuffer^:=ClockBuffer_With_Time^+3*Sizeof(Longint); //Set
>> AggClockBuffer to be 3 Longints past ClockBuffer_with_time
>
>This seems wrong. Try changing that to the following:
>
> AggClockbuffer := ClockBuff
be able to make my
application just create it and not need the user to install 7zip or something
else.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ous redirects and it will be clear
what is redirected and what isn't It also shows writing things to stderr then
using gotoxy32 to write over it so it won't even show up on the screen. If the
program is run without redirection. (set wait4key to false to see this)
James
-Original Mess
301 - 400 of 823 matches
Mail list logo