Vote UpVote

Creating a PDF redux: FMX and OS X in slightly sour disharmony

Delphi Haven – Not so long ago I posted about how to create a PDF file using the OS X API and a FireMonkey TCanvas. Alas, but little did I know but the hack I used to get a canvas to accept an arbitrary CGContextRef (= HDC for OS X’ers) no longer worked in the soon-to-be released XE3. Oh dear! Nonetheless, I have now got it to (mostly) work again, and with a couple of IFDEF’s the revised demo should now compile in both XE2 and XE3 (the code is in the same place if you’re interested). I say ‘mostly’, because page 1 of the output (which results from simply asking a TLayout to draw ...
Favorite? Off-Topic? Chris Rolliston @ 2012-09-04 20:42


Visits: 521
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)