📄 sma_swim_image.h
字号:
/***********************************************************************
* $Workfile: SMA_swim_image.h $
* $Revision: 1.1 $
* $Author: WellsK $
* $Date: Aug 30 2002 13:18:36 $
*
* Project: Image management for SWIM
*
* Description:
* This package provides the following image capabilities with SWIM:
* Display of raw image data (stored left to right, top to bottom)
* Stored raw images MUST be stored in the same color format as
* color_type
* Image scaling and clipping
*
* Revision History:
* $Log: //smaicnt2/pvcs/VM/CHIPS/archives/SOC/Source/Graphics/SWIM/SWIM_Image/SMA_swim_image.h-arc $
*
* Rev 1.1 Aug 30 2002 13:18:36 WellsK
* Corrected C/C++ wrapper.
*
* Rev 1.0 Aug 27 2002 08:36:56 WellsK
* Initial revision.
*
*
* SHARP MICROELECTRONICS OF THE AMERICAS MAKES NO REPRESENTATION
* OR WARRANTIES WITH RESPECT TO THE PERFORMANCE OF THIS SOFTWARE,
* AND SPECIFICALLY DISCLAIMS ANY RESPONSIBILITY FOR ANY DAMAGES,
* SPECIAL OR CONSEQUENTIAL, CONNECTED WITH THE USE OF THIS SOFTWARE.
*
* SHARP MICROELECTRONICS OF THE AMERICAS PROVIDES THIS SOFTWARE SOLELY
* FOR THE PURPOSE OF SOFTWARE DEVELOPMENT INCORPORATING THE USE OF A
* SHARP MICROCONTROLLER OR SYSTEM-ON-CHIP PRODUCT. USE OF THIS SOURCE
* FILE IMPLIES ACCEPTANCE OF THESE CONDITIONS.
*
* COPYRIGHT (C) 2002 SHARP MICROELECTRONICS OF THE AMERICAS, INC.
* CAMAS, WA
**********************************************************************/
#ifndef SWIM_IMAGE_H
#define SWIM_IMAGE_H
#ifdef __cplusplus
#if __cplusplus
extern "C"
{
#endif // __cplusplus
#endif // __cplusplus
#include "SMA_types.h"
#include "SMA_swim.h"
#include "SMA_colors.h"
//**********************************************************************
// Image drawing functions
//**********************************************************************
// Puts a raw image into a window
void swim_put_image (INT_32 win, const color_type *image,
INT_32 xsize, INT_32 ysize);
// Puts and scales a raw image into a window
void swim_put_scale_image (INT_32 win, const color_type *image,
INT_32 xsize, INT_32 ysize);
#ifdef __cplusplus
}
#endif
#endif // SWIM_IMAGE_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -