... XmGetScaledPixmap - Online Linux Manual PageSection : library call

NAMEXmGetScaledPixmap — read a pixmap file and scale it according to pixmap and print resolution

SYNOPSIS#include <Xm/Xm​.h> XtEnum XmGetScaledPixmap( Widget widget, String image_name, Pixel foreground, Pixel background, int depth, Double scaling_ratio);

DESCRIPTIONXmGetScaledPixmap uses its Widget argument to look up for a Print Shell ancestor to get the pixmap resolution and the default printer resolution information to be used if scaling_ratio ==0​. If scaling is 0, and a valid PrintShell is present XmGetScaledPixmap applies a ratio equals to (printer resolution / default pixmap resolution) before creating the Pixmap on the widget​'s Screen​. Otherwise, the scaling_ratio is used in scaling both dimensions of the image being converted as a Pixmap​. XmGetScaledPixmap completes the XmGetPixmapByDepth existing API by making use of the XmNdefaultPixmapResolution of the rooting XmPrintShell​. Refer to the XmGetPixmapByDepth documentation for details​. widget Widget used to determine the default pixmap resolution (of the print shell ancestor)​. image_name See XmGetPixmapByDepth for description​. foreground See XmGetPixmapByDepth for description​. background See XmGetPixmapByDepth for description​. depth See XmGetPixmapByDepth for description​. scaling_ratio Indicate the scaling ratio to be applied, or 0​.

RETURN VALUEReturns Pixmap or NULL if failed​.

ERRORS/WARNINGSSame as for XmGetPixmapByDepth​.

SEE ALSOXmPrintSetup(3), XmPrintShell(3), XmRedisplayWidget(3) ...
0
Johanes Gumabo
Data Size   :   8,393 byte
man-XmGetScaledPixmap.3Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 259,301
Visitor ID   :     :  
Visitor IP   :   3.144.242.235   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|252|XmGetScaledPixmap.3|2|..|... )         (parse_manual_page_|252|XmGetScaledPixmap.3|114|..|... )