iconlibTL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
Introduced first in SolidGeometry 1.0, Creation date: 2012-11-24, Last change: 2025-09-14

returns an icon for the use in userinterfaces

Description

Generates icons for symbols is in SGfigure such as:
rotate3d, rotate, zoom, crosshair, hidden, pan
To create an icon for intersion into this function use the following method:
1) Create an icon image file by a snapshot
2) use I=imreadui; to readin to cut out the desired clip, ignore scaling
3) use a=imresize(I,[21 21]), imshow(a); to resize it to 21x21 pixel
4) cut it the printout in the clipboard and insert it here by a name tag


See Also: app_2012_11_09 , SGwriteIcon , iconfilesearch , iconofCPL

Example Illustration

 missing image of iconlibTL(name)

Syntax

a=iconlibTL(name)

Input Parameter

name: name of icaon

Output Parameter

a: icon matrix

Examples


I=iconlibTL ('rotate3d');
image (I)

Additional Hyperlinks





Copyright 2012-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21