Commit Graph

93 Commits

Author SHA1 Message Date
Michaël Van Canneyt
cbbba25198 * Patch from Eric Grange to correct TRectF.FitInto 2025-04-07 14:38:04 +02:00
Michaël Van Canneyt
28fc3da2bd * Patch from Eric Grange to fix TRectF.FitInto 2025-01-24 11:53:09 +01:00
Frederic Kehrein
23dd7a5173 Adding TNullPtr to types
Additional changes:
* Now using TNullPtr instead of custom type in TNullable
* Adding assignment of variants with TNulPtr to avoid name conflicts
* Adding comparison to TNullPtr (Pointers, TObjects, TNullable)
2024-10-02 05:30:09 +00:00
Rika Ichinose
d7352e7b66 Remove most of the VER3_0 conditionals. 2024-08-25 09:44:11 +00:00
Michaël Van Canneyt
0b4d9a6732 * Some utility routines 2024-07-11 11:46:33 +02:00
Ondrej Pokorny
617d56f23a Move EqualsValue/LessThanValue/GreaterThanValue to unit Types, refer to them in the Math unit 2024-07-10 11:38:42 +02:00
florian
f67165ae31 * empty Rect does not extend the rect in UnionRect, based on patch provided by Werner Pamler, resolves #40680 2024-07-04 22:40:42 +02:00
Michaël Van Canneyt
d6cf3c98d0 * Add constants cPI and friends, for delphi compatibility 2024-05-06 18:01:30 +02:00
florian
a0cae50af6 * rtl part of #35433 2024-05-01 23:15:12 +02:00
Michaël Van Canneyt
b61a0fab97 * CurveKappa, CurveKappaInv 2024-02-20 17:50:10 +01:00
Michaël Van Canneyt
9a344568df * RectWidth was not public 2024-02-20 17:48:26 +01:00
Michaël Van Canneyt
3a1f180a56 * Add delphi-compatible TPointF.EqualsTo overload 2024-02-14 15:30:19 +01:00
Michaël Van Canneyt
7bcc949308 * Add crossproduct and normalize to TPointF 2023-11-08 10:26:09 +01:00
Michaël Van Canneyt
24d8478650 * Missing functions 2023-11-01 22:48:14 +01:00
Michaël Van Canneyt
b3d3b65bdf * Add TPointF.Zero 2023-10-30 14:51:39 +01:00
Michaël Van Canneyt
9904727f75 * add TClassicByteDynArray for delphi compatibility 2023-10-26 23:29:43 +02:00
Michaël Van Canneyt
14fe7203fe * Add TClassicStringDynArray for Delphi compatibility 2023-10-26 23:27:27 +02:00
Michaël Van Canneyt
bc00d5ae06 * Forgot CenterAt 2023-10-15 22:23:00 +02:00
Michaël Van Canneyt
e28add8b31 * Add some missing identifiers to TRectF. Fixes issue #40068 2023-10-15 16:54:15 +02:00
marcoonthegit
117094b540 * small cleanups in intersectrect,unionrect offsetrect and inflaterect; fixes #40436 2023-09-16 16:21:26 +02:00
Michael VAN CANNEYT
ccfa38c68e * Dotted RTL compiles 2023-07-27 19:04:03 +02:00
Michaël Van Canneyt
b7f9947d26 * Better string array definitions 2023-07-15 18:22:41 +02:00
Michaël Van Canneyt
b48c67f49f * Fix epsilon, add TRectF.FitInto 2023-07-09 14:39:18 +02:00
Michaël Van Canneyt
a6d3587432 * Epsilon for Delphi compatibility 2023-07-09 14:33:24 +02:00
marcoonthegit
fc8b28eecd * change types of method from integre to single for tpointf (probably copy-paste the interface error from integer TPoint ) 2023-05-28 15:55:47 +02:00
marcoonthegit
bfb904640a * fix for #40069 add swapdimensions 2022-12-30 15:41:47 +01:00
florian
69eebe4c0c + patch by Rika to implement missing TPointF methods, resolves #40057
+ test by Rika
2022-12-29 15:20:49 +01:00
florian
1761d3c09d + operator TPointF./, resolves #40046 2022-12-19 22:58:34 +01:00
florian
f1e391fb41 * patch by Make TPointF * TPointF a component-wise multiplication, resolves #40042 2022-12-17 18:22:16 +01:00
Ondrej Pokorny
5109f0ba44 add missing TSizeF, TRectF properties and features 2022-12-17 11:22:41 +00:00
Michaël Van Canneyt
c587f5a681 * fix compilation 2021-09-01 09:29:50 +02:00
Michaël Van Canneyt
c4069b5fe8 * Remove spurious var, prevents fpdoc from handling record 2021-09-01 09:29:50 +02:00
marcoonthegit
37863a6166 * Add skeleton for TPoint3D 2021-08-05 17:17:29 +02:00
michael
59d4aaf5ec * Fix issue ID #38900: union wrongly implemented
git-svn-id: trunk@49376 -
2021-05-17 14:56:09 +00:00
svenbarth
6b548b9016 * fix for Mantis #37042: apply patch and test (adjusted for Big Endian) by Bi0T1N to add support for TBitConverter
git-svn-id: trunk@45409 -
2020-05-17 20:59:57 +00:00
michael
0ff254e00f * Fix bug ID #36837: add ToObjectArray, ToStTringArray and SetStrings
git-svn-id: trunk@44632 -
2020-04-07 08:27:34 +00:00
marco
7fc9212ecd Two static inline constructors
git-svn-id: trunk@43950 -
2020-01-15 11:09:17 +00:00
florian
edd72ca6d2 * few inline directives added to types, resolves #34424
git-svn-id: trunk@39984 -
2018-10-18 19:35:56 +00:00
pierre
29b52824cf Try to fix TRect problem for wince
git-svn-id: trunk@37783 -
2017-12-22 11:50:59 +00:00
nickysn
532ff65e87 + enabled compilation of unit types for win16
git-svn-id: trunk@37736 -
2017-12-15 17:55:29 +00:00
marco
6166215174 * make istream signedness equal to MSDN and modern delphi. Denis Kozlov,
mantis #31473

git-svn-id: trunk@35542 -
2017-03-08 15:05:11 +00:00
marco
b33da605f3 * move tendian to objpas, alias in sysutils, types. mantis #31150
git-svn-id: trunk@35202 -
2016-12-27 14:30:13 +00:00
marco
b38b3a7c1e * patch from Ondrej to fix splitrecttype aliasing on windows. Mantis #29557
added alias of tarray4integertype too.

git-svn-id: trunk@33152 -
2016-03-05 13:50:02 +00:00
michael
6b3b3d5c0c * Fix bug ID #29155, wrong declaration of ISTream.
git-svn-id: trunk@32820 -
2016-01-01 16:35:38 +00:00
michael
353f5340dc * Patch from Ondrej Pokorny to implement - and * operators for TPointF
git-svn-id: trunk@32817 -
2015-12-31 16:27:19 +00:00
marco
f383a39cda * add tag types for size and point, but deprecated, since redundant.
git-svn-id: trunk@32361 -
2015-11-19 11:53:05 +00:00
marco
92960ff3ac * initial advanced records support for TSize..TRect and -F.
git-svn-id: trunk@32333 -
2015-11-15 18:34:19 +00:00
michael
d3350b18ba * Some Delphi XE8 compatibility types
git-svn-id: trunk@31461 -
2015-08-31 12:00:22 +00:00
florian
ca4f4fb855 * changed casing for nicer code completation, #27604
git-svn-id: trunk@30102 -
2015-03-05 20:35:38 +00:00
svenbarth
2f613f71d7 Readd RT_RCDATA to the Types unit, but with a deprecated message so that users use the Windows one instead.
rtl/objpas/types.pp:
  + readd RT_RCDATA as a reference to the one declared in the Windows unit for Win32 and Win64; also add a deprecated message that advices users to use the one declared in the Windows instead.

git-svn-id: trunk@29127 -
2014-11-23 20:32:21 +00:00