Hi,

The problem is I dont want to ship databases with bitmap families,
but rather display bitmap as is so that 1pix in bitmap is rendered to
exactly 1phisical devise pixel.

What I experience and try to avoid is scaling the bitmap on high-density
displays!
I tried WinSetScalingMode(kBitmapScalingOff);
I tried WinSetCoordinateSystem(kDensityDouble/ kDensityLow);
I tried BmpCreateBitmapV3(pBmpV1, kDensityDouble/ kDensityLow,
BmpGetBits(pBmpV1)...);
I tried WinCreateOffscreenWindow(...nativeFormat/ screenFormat);
Nothing worked as targetted.

What I need is effect of drawing bitmap (BitmapTypeV3) with kDensityDouble.

Thanks!
    George VS ([EMAIL PROTECTED])

"Matt Graham" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> George VS wrote:
> > I have a low density bitmap I wish to draw on high density display
without
> > being scaled.
> > Can anyone tell me how is this done?
> >
> > I tried:
> >
> > WinSetScalingMode (kBitmapScalingOff);
> > WinDrawBitmap(bmpP, x, y);
> >
> > but this has none effect ?!
> >
> > When the bitmap uses version3 bmp format, the blitter properly selects
> > high-density bitmap and renders it as I wish.
> >
> > So, how can a 160x160 pix bitmap be rendered on left top portion of the
> > screen on high density display devices?
>
> What if you store it as 2 separate bitmap families?  One with the bitmap
> in single density, the other in double density.  Then pick the bitmap
> based on WinGetCoordinateSystem()?
>
> /*
>   * Matt Graham
>   * Palm OS Developer
>   * www.healthramp.com
>   */
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to