summaryrefslogtreecommitdiff
path: root/src/corelib
AgeCommit message (Collapse)Author
2012-03-13agg: FT_Fixed type was hard-coded to 32-bit systems.Graeme Geldenhuys
Now it is 32/64 bit enabled. I believe this now finally makes text rendering work under 64-bit Linux.
2012-03-13agg: freetype api unit hand incorrectly defined record structures.Graeme Geldenhuys
They were defined as 'packed record' when in fact they should not have been. And rather have the compiler directive {$packrecord c} defined. This fixes the bug where the glyph data read in contained garbage information, thus causing AV's under 64-bit Linux.
2012-03-13agg: FT_Init_FreeType's first parameter is now declared as a var parameter.Graeme Geldenhuys
2012-03-12agg: 64-bit fix for the freetype library unit.Graeme Geldenhuys
2012-03-12agg: updated agg_2d unit with corrected IFDEF statements.Graeme Geldenhuys
These are very similar changes as what was needed in the Agg2D unit.
2012-03-12agg: freetype support is not forced on all platforms now.Graeme Geldenhuys
Windows will use GDI as default.
2012-03-12new unicode method added to fpg_stringutilsGraeme Geldenhuys
2012-03-12agg: adds UTF8 support to text paintingGraeme Geldenhuys
2012-03-12agg: moved IFDEF's so code is easier to read + no compiler warningsGraeme Geldenhuys
2012-03-12agg: prevent compiler warning by setting the return value.Graeme Geldenhuys
2012-03-12agg: TextHint will now update the font engine.Graeme Geldenhuys
Before, you had to set TextHints() *before* you loaded a font. Now you can set the TextHint at any time.
2012-03-12agg: more readable AnsiString to PChar casting.Graeme Geldenhuys
2012-03-12agg: fixes the uses clause for compilation under Windows.Graeme Geldenhuys
2012-03-12agg: removed unnecessary contact information and unit historyGraeme Geldenhuys
2012-03-12agg: new convenience function for Windows usageGraeme Geldenhuys
2012-03-12agg: various code formatting improvementsGraeme Geldenhuys
2012-03-12agg: use the well known PChar type inside the face_name record structureGraeme Geldenhuys
2012-03-12agg: inline the shr_xxx() functions until we replace them totallyGraeme Geldenhuys
2012-03-12agg: no need for these IFDEF's we have a dedicated type defined that we can use.Graeme Geldenhuys
2012-03-12aggpas: signature of Line() method changed.Graeme Geldenhuys
* Some parameters are now declared as const * Added a new AFixAlignment parameter. This is used when drawing vertical or horizontal lines, where the anti-aliasing doesn't give desired "visual" results. The AGG documentation explains the behaviour in great detail.
2012-03-12aggpas: adds an extra sanity check in TextWidth() method.Graeme Geldenhuys
2012-03-12aggpas: fixes a spelling mistake in a variable nameGraeme Geldenhuys
This caused a compile error.
2012-03-12aggpas: Many parameters are now declared as const.Graeme Geldenhuys
2012-03-12Minor code formatting fixes.Graeme Geldenhuys
2012-03-12Removes duplicate PDouble definition.Graeme Geldenhuys
FPC already has this defined.
2012-03-12Changes to make AggPas work with fpGUI's TfpgImage componentGraeme Geldenhuys
2012-03-12Fixes IFDEF lines for correct font handling.Graeme Geldenhuys
Fixes the following problems: * Having AGG2D_NO_FONT defined, did not compiler * AggPas always assumed thatif FreeType was not used, then GDI+ must be used.
2012-03-12Removed nested comment which screws up syntax highlighting.Graeme Geldenhuys
2012-03-09agg: fixes nested comments screwing with syntax highlighting.Graeme Geldenhuys
2012-03-09agg-demos: replaced 32-bit compiler name with the generic fpc compiler name.Graeme Geldenhuys
This is a start, to get the demos to compiler under all platforms.
2012-03-09Removed ASM code from agg_basic.pas and replaced it with FPC build-in functions.Graeme Geldenhuys
The problem was that x86_64 was not implemented, and ASM code is definately not portable. Luckily, FPC's has built-in Sar*() functions we could use.
2012-03-09Adds x86_64 and FreeBSD information in the main include file.Graeme Geldenhuys
2012-03-09fixes a spelling mistake in a code comment.Graeme Geldenhuys
2012-03-09Fixes the issue with nested comments in Agg2DDemo.dprGraeme Geldenhuys
Causing syntax highlighting to be screwed.
2012-03-09Adds a comment about internal data structure of TfpgImage data.Graeme Geldenhuys
2012-03-09aggpas: fixes EOL style and file permissions.Graeme Geldenhuys
2012-03-09Removes unused / commented code from fpg_stringutils.pas unit.Graeme Geldenhuys
2012-03-09Adds a new property ScanLine[] to TfpgImage.Graeme Geldenhuys
2012-03-07agg: changes for 64-bit compatibilityGraeme Geldenhuys
The original code used a hard-coded value of 4, for the pointer size.
2012-03-07agg-demos: fixes the unit comment about the required compiler unit Path value.Graeme Geldenhuys
2012-03-07agg: fix a grammar error in the application output.Graeme Geldenhuys
2012-03-07agg: more compiler unit path changes.Graeme Geldenhuys
2012-03-07agg: fix find_compiler_xxx projects to use corrected path and compiler settings.Graeme Geldenhuys
This was needed due to my different directory layout compared to standard AggPas.
2012-03-07agg-linux: reduce dependency on libc unit.Graeme Geldenhuys
libc unit is really a Kylix dependency unit, and i386 only.
2012-03-07Fixes compiler error due to change in xlib binary type definition.Graeme Geldenhuys
This was a change introduced in FPC > v2.2.0
2012-03-07Improved compiler defines - mostly for later use.Graeme Geldenhuys
2012-03-07initial import of AggPas 2.4 RM3Graeme Geldenhuys
The AggPas demos will not compile at this time, because I have restructured the directories a bit. I wanted a pristine checkin though. The demos will be fixed in the next few commits.
2012-02-29x11: changed the bit order.Graeme Geldenhuys
It seems, after reading a lot of documentation, that I got the setting wrong. Lets see what happens.
2012-02-29changed alias class definitions to class descendants.Graeme Geldenhuys
FPC doesn't have a problem with the original code, but other tools like fpdoc does. So to make everybody's life easier, I am making this change. The benefit now is that fpdoc will be able to generate a nice class hierarchy of fpGUI classes - without problems.
2012-02-21Adds PNG loading support.Graeme Geldenhuys
The unit uses the fcl-image backend to load the image. This is slightly slower than the native implementations for BMP and JPG. But at least now we have PNG support too.