mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-03 10:30:31 +01:00
pdf test app: Implements DrawPolyLine() example on page 2.
pdf: implements Page.DrawPolyLine() method.
pdf: TPDFLineSegment now has an option Stroke parameter. So too does Page.DrawLine().
All part of improving the path related drawing in PDF.
pdf: introduced a new PDFStrokePath class and Page.StrokePath method.
pdf: removes empty constructors.
pdf: Adds optional Stroke paramater to all CubicCurveToXXX() methods.
This allows us more control when we do custom path based drawing.
pdf: introduced new ResetPath() and ClosePath() methods for TPDFPage.
pdf test app: Implement Bezier Curve drawing in Advanced Shapes page.
pdf test app: tidy up the layout of page 2.
pdf test app: tidy up the layout of page 1.
pdf test app: adds a new "advanced shapes" page.
pdf test app: Renamed field variable to a more logical name.
pdf: Introduced CubicCurveToY() and CubicCurveToY() methods.
The code comments explain the difference.
pdf: introduced a new overloaded Page.CubicCurveTo() method.
pdf: introduced a new overloaded Page.MoveTo() method.
pdf: Gave Page.CurveToC() more meaningful parameter names.
pdf: Gave TPDFCurveC parameters and field variables more meaningful names.
pdf test app: updated the test app to show the Cubic Bezier curve in action.
pdf: introduced a cubic bezier curve method to TPDFPage.
pdf: introduced a new Page.MoveTo() method.
pdf: implements a more consistent class hierarchy.
Many classes take a Document as parameter in the constructor, yet
don't descend from TPDFDocumentObject - which defines a property
to get hold of that Document information again.
pdf test app: updated the app to show Rounded Rectangles in action.
pdf: introduced a new Page.DrawRoundedRect() method.
pdf: improved the Ellipse code with a more accurate curve magic number.
pdf: introduced a new overloaded LineSegment.Command() function.
pdf test app: Adds parameter option to embed fonts or not.
pdf: implements contents string/stream compression.
ttf unit tests: resolve failing Created/Modified datetime tests.
pdf demo: extend the sample app to draw text in a box.
git-svn-id: trunk@34767 -
|
||
|---|---|---|
| .. | ||
| fonts | ||
| fpparsettf_test.pas | ||
| fppdf_test.pas | ||
| fpttf_test.pas | ||
| readme.txt | ||
| testunits.inc | ||
| unittests_console.lpi | ||
| unittests_console.lpr | ||
| unittests_gui.lpi | ||
| unittests_gui.lpr | ||
In order for the demos to work properly, the following 4 fonts must be downloaded and placed in the fonts directory: DejaVuSans.ttf (and DejaVuSans.fnt) FreeSans.ttf LiberationSans-Regular.ttf Ubuntu-R.ttf