Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: wxPerl: is BitmapFromImage implemented? (no;sleep;docs)

by Anonymous Monk
on Apr 29, 2013 at 08:26 UTC ( #1031182=note: print w/replies, xml ) Need Help??


in reply to wxPerl: is BitmapFromImage implemented?

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031182]
help
Chatterbox?
[marto]: List EXE_FILES installed by CPAN so a couple of people suggest that your code looks obfuscated. I'd have to ageree, from the perspective of those who can't follow all of that one liner, it doesn't read well
Veltro is a weirdo, obsessed with whitespace
[marto]: to use the word "obsession" when so few people have said so little about it is grasping at staws
marto wishes tye was around, he's so much better at this sort of thing
usemodperl likes tye!
usemodperl tye  too
[choroba]: Re^3: LiBXML: New markup while preserving earlier tags? would benefit from a couple of test cases
usemodperl meant tye 
usemodperl pokes Veltro with line noise
usemodperl will try to make better shapes with his line noise, like a camel, or boobs, then it will be called "clever" :-)

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2018-06-24 16:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?