Tekening

Check-in [8e68f6e19e]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Line endings.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | develop
Files: files | file ages | folders
SHA1: 8e68f6e19eba050ae1f2c3d60253b98af20e247b
User & Date: tinus 2018-06-17 07:08:39
Context
2018-06-17
07:08
Line endings. Leaf check-in: 8e68f6e19e user: tinus tags: develop
2018-06-16
07:49
Added graphics32 library (for antialiased drawing support later on). check-in: 7323bcc505 user: tinus tags: develop
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added .fossil-settings/crlf-glob.







































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*.bat

*.txt

*.pas
*.dfm
*.dpk
*.dpr
*.dproj
*.groupproj
*.bpk
*.cpp

*.lfm
*.lpi
*.lpk
*.lpr
*.lrs
*.inc

Changes to src/graphics32/Contributors.txt.

Changes to src/graphics32/GR32.inc.

Changes to src/graphics32/GR32.pas.

Changes to src/graphics32/GR32_ArrowHeads.pas.

Changes to src/graphics32/GR32_Backends.pas.

Changes to src/graphics32/GR32_Backends_Generic.pas.

Changes to src/graphics32/GR32_Backends_LCL_Carbon.pas.

Changes to src/graphics32/GR32_Backends_LCL_CustomDrawn.pas.

Changes to src/graphics32/GR32_Backends_LCL_Gtk.pas.

Changes to src/graphics32/GR32_Backends_LCL_Win.pas.

Changes to src/graphics32/GR32_Backends_VCL.pas.

Changes to src/graphics32/GR32_Bindings.pas.

Changes to src/graphics32/GR32_Blend.pas.

Changes to src/graphics32/GR32_Blurs.pas.

Changes to src/graphics32/GR32_Brushes.pas.

Changes to src/graphics32/GR32_Clipper.pas.

844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
    Result := Int128Equal( Int128Mul(Pt1.Y-Pt2.Y, Pt3.X-Pt4.X),
      Int128Mul(Pt1.X-Pt2.X, Pt3.Y-Pt4.Y))
  else
    Result := (Pt1.Y-Pt2.Y)*(Pt3.X-Pt4.X) = (Pt1.X-Pt2.X)*(Pt3.Y-Pt4.Y);
end;
//---------------------------------------------------------------------------

//                 0(90º)                                                  //
//                 |                                                       //
// +inf (180º) --- o --- -inf (0º)                                         //
function GetDx(const Pt1, Pt2: TIntPoint): Double; {$IFDEF USEINLINING} inline; {$ENDIF}
begin
  if (Pt1.Y = Pt2.Y) then Result := CHorizontal
  else Result := (Pt2.X - Pt1.X) / (Pt2.Y - Pt1.Y);
end;
//---------------------------------------------------------------------------








|
|
|







844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
    Result := Int128Equal( Int128Mul(Pt1.Y-Pt2.Y, Pt3.X-Pt4.X),
      Int128Mul(Pt1.X-Pt2.X, Pt3.Y-Pt4.Y))
  else
    Result := (Pt1.Y-Pt2.Y)*(Pt3.X-Pt4.X) = (Pt1.X-Pt2.X)*(Pt3.Y-Pt4.Y);
end;
//---------------------------------------------------------------------------

//                 0(90)                                                  //
//                 |                                                       //
// +inf (180) --- o --- -inf (0)                                         //
function GetDx(const Pt1, Pt2: TIntPoint): Double; {$IFDEF USEINLINING} inline; {$ENDIF}
begin
  if (Pt1.Y = Pt2.Y) then Result := CHorizontal
  else Result := (Pt2.X - Pt1.X) / (Pt2.Y - Pt1.Y);
end;
//---------------------------------------------------------------------------

Changes to src/graphics32/GR32_ColorGradients.pas.

Changes to src/graphics32/GR32_ColorPicker.pas.

Changes to src/graphics32/GR32_ColorSwatch.pas.

Changes to src/graphics32/GR32_Compiler.inc.

Changes to src/graphics32/GR32_Containers.pas.

Changes to src/graphics32/GR32_Dsgn_Bitmap.dfm.

Changes to src/graphics32/GR32_Dsgn_Bitmap.lfm.

Changes to src/graphics32/GR32_Dsgn_Bitmap.lrs.

Changes to src/graphics32/GR32_Dsgn_Bitmap.pas.

Changes to src/graphics32/GR32_Dsgn_Color.pas.

Changes to src/graphics32/GR32_Dsgn_ColorPicker.dfm.

Changes to src/graphics32/GR32_Dsgn_ColorPicker.pas.

Changes to src/graphics32/GR32_Dsgn_Misc.pas.

Changes to src/graphics32/GR32_ExtImage.pas.

Changes to src/graphics32/GR32_Filters.pas.

Changes to src/graphics32/GR32_Geometry.pas.

Changes to src/graphics32/GR32_Image.pas.

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
 * Portions created by the Initial Developer are Copyright (C) 2000-2009
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 * Mattias Andersson <mattias@centaurix.com>
 * Andre Beckedorf <Andre@metaException.de>
 * Andrew P. Rybin <aprybin@users.sourceforge.net>
 * Dieter Köhler <dieter.koehler@philo.de>
 * Michael Hansen <dyster_tid@hotmail.com>
 *
 * ***** END LICENSE BLOCK ***** *)

interface

{$I GR32.inc}







|







28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
 * Portions created by the Initial Developer are Copyright (C) 2000-2009
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 * Mattias Andersson <mattias@centaurix.com>
 * Andre Beckedorf <Andre@metaException.de>
 * Andrew P. Rybin <aprybin@users.sourceforge.net>
 * Dieter Khler <dieter.koehler@philo.de>
 * Michael Hansen <dyster_tid@hotmail.com>
 *
 * ***** END LICENSE BLOCK ***** *)

interface

{$I GR32.inc}

Changes to src/graphics32/GR32_Layers.pas.

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
 *
 * Portions created by the Initial Developer are Copyright (C) 2000-2009
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 * Andre Beckedorf <Andre@metaException.de>
 * Michael Hansen <dyster_tid@hotmail.com>
 * Dieter Köhler <dieter.koehler@philo.de>
 *
 * ***** END LICENSE BLOCK ***** *)

interface

{$INCLUDE GR32.inc}








|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
 *
 * Portions created by the Initial Developer are Copyright (C) 2000-2009
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 * Andre Beckedorf <Andre@metaException.de>
 * Michael Hansen <dyster_tid@hotmail.com>
 * Dieter Khler <dieter.koehler@philo.de>
 *
 * ***** END LICENSE BLOCK ***** *)

interface

{$INCLUDE GR32.inc}

Changes to src/graphics32/GR32_LowLevel.pas.

Changes to src/graphics32/GR32_Math.pas.

Changes to src/graphics32/GR32_MicroTiles.pas.

Changes to src/graphics32/GR32_OrdinalMaps.pas.

Changes to src/graphics32/GR32_Paths.pas.

Changes to src/graphics32/GR32_Polygons.pas.

Changes to src/graphics32/GR32_PolygonsAggLite.pas.

Changes to src/graphics32/GR32_RangeBars.pas.

Changes to src/graphics32/GR32_Rasterizers.pas.

Changes to src/graphics32/_clean.bat.