spetric
  
Croatia
308 Posts |
Posted - Dec 18 2013 : 06:15:12
|
I often use grid, but as vectorial objects (iekLine), so I can hide or show grid as necessary.
So, maybe the faster way would be:
1) Create vectorial grid with pen color set to clWhite (0xff) 2) IenVect->IEBitmap->Fill(0); // fill complete image with clBlack 3) IenVect->IEBitmap->AlphaChannel->Fill(0); // erase alpha channel 4) Set antialiasing as needed. 5) Render objects to AlphaChannel: IenVect->DrawObjectsToBitmap(IenVect->IEBitmap->AlphaChannel); 6) remove or hide objects
|
 |
|