----boundary-LibPST-iamunique-693964391_-_-
Content-type: text/plain
Gérard,
did you already have a look at ObxBitmap? This example explains how you can
create and manipulate bitmaps directly by using WinApi calls. This shouldn't
be too slow.
Cheers,
Marc
Oberon microsystems, Inc.
> -----Original Message-----
> From: Gérard Meunier [mailto:gmeunier{([at]})nowhere.xy> Sent: Dienstag, 15. April 2003 18:57
> To: blackbox{([at]})nowhere.xy> Subject: Re: bitmap in a view
>
>
> Hello,
>
> Yes, pixels manipulation is a big problem in BlackBox. I'm trying
> to create
> simulation programs in physics, and I'm lmited to very simple
> cases, because
> drawing pixels is very slow :-(. Ideas?
>
> Regards.
>
> Gérard
>
> > Hi All,
> >
> > My students also keep asking this -- and how to manipulate pixels.
> > May be this should be regarded as a suggestion for Blackbox 1.5.
> >
> > Cheers,
> > Fyodor Tkachov
> >
> > >
> > > Hallo Blackbox user,
> > >
> > > I want to load a bitmap file and put it to a view.
> > >
> > > How can I do this?
> > >
> > > Hans Zander
> > >
> > > --------------------------------------------
> > >
> > --------------------------------------------
> >
> > To unsubscribe from this mailing list, send a message
> containing the word
> "unsubscribe" to:
> > blackbox-request{([at]})nowhere.xy> >
> > To get a list of valid e-mail commands and instructions on their usage,
> send a message containing the word "help" to the above address.
> >
> > Send any problem reports or questions related to this email list to the
> list owner at
> > owner-blackbox{([at]})nowhere.xy> >
> > Current posting policy:
> >
> > a) To post you should use the same address by which you are
> subscribed to
> the mailing list. That way, the list server will recognize you as
> subscriber
> and forward your posting immediately, without creating any overhead.
> >
> > b) If, for some reason, you cannot post from the address, by
> which you are
> subscribed, your message will be moderated to avoid spam. Please
> understand
> that moderation will often cause some delay, in particular over
> weekends or
> holydays.
> >
>
> --------------------------------------------
>
> To unsubscribe from this mailing list, send a message containing
> the word "unsubscribe" to:
> blackbox-request{([at]})nowhere.xy>
> To get a list of valid e-mail commands and instructions on their
> usage, send a message containing the word "help" to the above address.
>
> Send any problem reports or questions related to this email list
> to the list owner at
> owner-blackbox{([at]})nowhere.xy>
> Current posting policy:
>
> a) To post you should use the same address by which you are
> subscribed to the mailing list. That way, the list server will
> recognize you as subscriber and forward your posting immediately,
> without creating any overhead.
>
> b) If, for some reason, you cannot post from the address, by
> which you are subscribed, your message will be moderated to avoid
> spam. Please understand that moderation will often cause some
> delay, in particular over weekends or holydays.
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
blackbox-request{([at]})nowhere.xy
To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
owner-blackbox{([at]})nowhere.xy
Current posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-693964391_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCBHXCdlOXJhcmQsXHBhcg0KXHBh
cg0KZGlkIHlvdSBhbHJlYWR5IGhhdmUgYSBsb29rIGF0IE9ieEJpdG1hcD8gVGhpcyBleGFtcGxl
IGV4cGxhaW5zIGhvdyB5b3UgY2FuXHBhcg0KY3JlYXRlIGFuZCBtYW5pcHVsYXRlIGJpdG1hc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