Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Is BitmapFromImage implemented in wxPerl?

No, BitmapFromImage doesn't exist, so it can't possibly be implement, there is no such thing as http://docs.wxwidgets.org/trunk/search.php?query=wxBitmapFromImage

What am I missing?

I guess sleep

Go to http://docs.wxwidgets.org/trunk/classwx_image.html and search for "bitmap" and you'll have your answer in about 5 seconds

Or go to http://docs.wxwidgets.org/stable/wx_wxbitmap.html and search for "wxImage"

Another avenue  [ddg://site:perlmonks.org Wx::Image Wx::Bitmap ] , [google://site:perlmonks.org Wx::Image Wx::StaticBitmapBitmap], ... site:perlmonks.org Wx::Image Wx::StaticBitmapBitmap, site:perlmonks.org Wx::Image Wx::StaticBitmapBitmap ...
-> Re^2: wxPerl image handling (short & sweet). (iewxPerl Tutorial 2)
-> Using wxMemoryDC to draw on a jpeg
-> Re^5: What's wrong with this Wx::Bitmap construction?
-> Re^3: Displaying changing images in Wx:: produces flicker
... stands for super search and or clicking and stuff

And another avenue is wxperl_usage / wxperl-usage / wxPerl::Usage / Class Method Browser , available methods, method invocation syntax, link to docs , type "wxbitmap::new" and you'll see

Usage: Wx::Bitmap::new(CLASS, ...) Wx::Bitmap->new( ..., ) wxBitmap wxBitmap::new wxBitmap::new
Usage: Wx::Bitmap::newImage(CLASS, image) Wx::Bitmap->newImage( $image, ) wxBitmap wxBitmap::newImage wxBitmap::newImage

Like my wxWidgets / wxPerl / wxGlade tutorial,http://www.wxperl.it/p/wxperl-primer.html explain, wxPerl will recognize that you're giving ->new a Wx::Image so it isn't necessary to call newImage explicitly


In reply to Re: wxPerl: is BitmapFromImage implemented? (no;sleep;docs) by Anonymous Monk
in thread wxPerl: is BitmapFromImage implemented? by HelenCr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-24 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found