Home » U++ Library support » U++ Core » Array & Gdiplus::Pen problem
Re: Array & Gdiplus::Pen problem [message #10849 is a reply to message #10841] |
Wed, 01 August 2007 16:30   |
|
It was exaclty Reserve
When i mark out Reserve i got another place
Pen *p;
...........
p = new Pen(this->m_pOutlin.....
.........
pens.Add( p );
And then it failed at Add
So finaly i had no solution and switched
from
void MetaLayer::GetPens(int type, Array<Pen> & pens) const
to
void MetaLayer::GetPens(int type, Vector<Pen *> & pens) const
and by hand managing memory of Pens
|
|
|
Goto Forum:
Current Time: Mon Aug 25 11:49:41 CEST 2025
Total time taken to generate the page: 0.06731 seconds
|