Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7707 Alex2003 1
2
xmlns:o="urn:schemas-microsoft-com:office:office"
3
xmlns:w="urn:schemas-microsoft-com:office:word"
4
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
5
xmlns="http://www.w3.org/TR/REC-html40">
6
 
7
8
9
10
11
12
13
31
32
33
332
418
448
449
 
450
451
 
452
453
 
454

Back to main

457
 
458

 

461
 
462

Function 38 -

465
draw a line
466
style='font-size:18.0pt;font-family:"Arial","sans-serif"'>

467
 
468

 

471
 
472

Options:

475
 
476

   * eax =

479
38 - function number

480
 
481

   * ebx =

484
[start coordinate along the x axis] * 65536 +

485
 
486

              

489
[x coordinate of the end coordinate]

490
 
491

   * ecx =

494
[start coordinate along the y axis] * 65536 +

495
 
496

              

499
[y coordinate of the end coordinate]

500
 
501

   * edx =

504
0x00RRGGBB - color

505
 
506

     edx

509
= 0x01xxxxxx - draw inverse line

510
 
511

           (

514
class=GramE>low 24 bits are ignored)

515
 
516

Return value:

519
 
520

   * function does not return value

523
 
524

 

527
 
528

Remarks:

531
 
532

   The coordinates are

535
taken relative to the window.

536
 
537

   The end point is

540
also drawn.

541
 
542

 

545
 
546

Constants for registers:

549
 
550

   eax -

553
SF_DRAW_LINE (38)

554
 
555
556
 
557
558
 
559