//////////////////////////////////////////////////////////////////////////// //--------------------------------- REVISIONS ------------------------------ // Date Name Tracking # Description // --------- ------------------- ------------- ---------------------- // 13JUN2009 James Shen Initial Creation //////////////////////////////////////////////////////////////////////////// /** * Calculate outline with given pen. * @param lineStyle * @return */ public GraphicsPathFP CalcOutline(PenFP lineStyle) { var outline = new GraphicsPathFP(); var outlineGenerator = new GraphicsPathOutlineFP(outline, lineStyle); Visit(outlineGenerator); return(outline); }
//////////////////////////////////////////////////////////////////////////// //--------------------------------- REVISIONS ------------------------------ // Date Name Tracking # Description // --------- ------------------- ------------- ---------------------- // 13JUN2009 James Shen Initial Creation //////////////////////////////////////////////////////////////////////////// /** * Calculate outline with given pen. * @param lineStyle * @return */ public GraphicsPathFP CalcOutline(PenFP lineStyle) { var outline = new GraphicsPathFP(); var outlineGenerator = new GraphicsPathOutlineFP(outline, lineStyle); Visit(outlineGenerator); return outline; }