Example #1
0
FontFace::~FontFace()
{
	for (HandleMap::iterator iterator = handles.begin(); iterator != handles.end(); ++iterator)
	{
		iterator->second->RemoveReference();
	}

	ReleaseFace();
}
FontFace::~FontFace()
{
	for (HandleMap::iterator iterator = handles.begin(); iterator != handles.end(); ++iterator)
	{
		HandleList& handle_list = (*iterator).second;
		for (size_t i = 0; i < handle_list.size(); ++i)
			handle_list[i]->RemoveReference();
	}

	ReleaseFace();
}
Example #3
0
FontFace::~FontFace()
{
	ReleaseFace();
}