Increasing size of TBitmap



I have a TBitmap on my form (both autosize and stretch are false).
Its width and height are 100 pixels. I also use its canvas to draw
on. Now I want to dynamically increase the width and height (e.g.
when resizing my form) but no can do. The drawable area of the
canvas remains 100x100..

How can I resolve this? Stretch doesn't work because this only
makes the pixels "bigger" but doesn't give me more pixels..

Any hints?

cheers,

Bram
.



Relevant Pages

  • Re: Drawing on TBitmaps canvas always shows white? - Part 2
    ... I have an array of pixels ... >> problem I have is when I want to draw these pixels on the canvas. ...
    (alt.comp.lang.borland-delphi)
  • Re: How can I speed up this pixel drawing code?
    ... > See the proc Raytrace in: ... That won't work for me because the pixels I need to draw aren't ... canvas when you need to draw. ...
    (comp.lang.tcl)
  • Re: GDI+ DrawImage stretches incorrectly
    ... stretch to 2 or 4 pixels more than needed then copy the appropiate rectangle ... > I posted this question before but still don't have a clue why ... > am under increasing time pressure to find a solution. ... > stretched image is one or two pixels too small. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: True widescreen perhaps not that true....
    ... However, with the camera in 16:9, the image is visibly compressed X-wise. ... image to the normal 576 pixels width. ... DV avi) and played it back using a number of players. ... WMP will automatically stretch the picture. ...
    (microsoft.public.win32.programmer.directx.video)
  • How can I speed up this pixel drawing code?
    ... I need to draw 5000+ pixels to a canvas. ... scattered and they're overlaid on a background image. ...
    (comp.lang.tcl)