Core Graphics in FxPlug
Core Graphics in FxPlug
- Subject: Core Graphics in FxPlug
- From: Darrin Cardani <email@hidden>
- Date: Tue, 5 May 2009 10:54:09 -0700
Here's another code sample I whipped up. This one shows how to use
Core Graphics in an FxPlug. It's a generator that draws a shape. It
allows the user to set the fill color, stroke color, line width, joint
type, and antialiasing of either a rectangle or an oval. My hope is
that this will show how to do basic drawing in an FxPlug. It could be
useful for generating overlays, drawing text, etc. And it shows how to
make all of that work at any resolution, pixel aspect ratio and field
height. (Or at least, it did in my testing! Let me know if you find
that not to be the case.)
Attachment:
CGFxPlug.zip
Description: Zip archive
Enjoy!
Darrin
--
Darrin Cardani
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden