Remember the old Polaroid? I would like to make a rectangle like that in code. Any ideas on how to get it right? It should obviously expand/shrink with the size of the image it's wrapping :-)

Comments

  1. create a TBitmap with extents that are x percent larger than the image at hand, fill it with white, then place the original bitmap at center?

    ReplyDelete
  2. At the moment I am going the less obvious way and battling with the canvas :-)
    The end result needs to be adjustable by users as it will include title and subtext. I have got to the point where a good call of Canvas.TextRect would save the day :-) anybody got a sample of that?

    ReplyDelete
  3. Heh... the var parameters :-) works now :-)

    ReplyDelete

Post a Comment