Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

FreePascal 2.2.2 rc2 (Announce)

posted by Laaca Homepage, Czech republic, 21.07.2008, 15:47

> > and sent a patch solving the "hidding mouse after videomode change"
> > problem.
> > http://bugs.freepascal.org/view.php?id=11699
>
> Could you test if the following bugreport is related? It also seems to be
> about Graph problems in the IDE:
>
> http://bugs.freepascal.org/view.php?id=8406

Well, my first impressions say: "Yes, it is related".
There are definitely bugs in unit Graph. It doesn't draw some graphics primitives (but some does - strange)

program Init_gr_4;
uses graph;
 var gd,gm: integer;
 begin
    gd:=detect;
    gm:=0;
    InitGraph(gd,gm,'');
    if GraphResult<>grok then halt;
 setcolor(cyan);
 setfillstyle(1,yellow);
 circle(320,200,100);
 line(0,0,getmaxx,getmaxy);
 PieSlice(500,500,200,0,90);
 Bar(10,10,400,300);
 outtextxy(100,100,'TEXT');
 readln;
 CloseGraph;
end.


In this source only filled objects are drawn, other not - interresting.
Unfortunately just now I don't have time to look at it more deeply. Maybe tomorrow. However, in wednesday I'll go to Russia (Syberia, Kemerovskaya oblast) and for 14 will be without internet. So I am afraid I'll not be able to help.

But it should be very easy to fix it because unit Graph is rather small and doesn't have any dependencies to other packages.

---
DOS-u-akbar!

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 313 users online (0 registered, 313 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum