What do you mean by "at my cost basis?" Investments within a Roth IRA don't have a capital cost basis.
There is no taxable difference between making an in-kind distribution directly from the Roth IRA to a qualified charity and instead selling the shares within the Roth IRA followed by making a cash distribution from the Roth IRA paid directly to the charity.