?? asl_asm.h
字號:
//-----------------------------------------------------------------------------
//
// ____ Azure Star Game Engine 藍(lán)星游戲引擎 ____
//
// Copyright (c) 2006, 藍(lán)星工作室
// All rights reserved.
//
// 文件名稱: asl_asm.h
// 摘 要: MMX加速的圖像處理函數(shù)聲明(被ASLBitmap, ASLFont類使用)
//
// 當(dāng)前版本: 1.0
// 作 者: 湯 祺
// 創(chuàng)建日期: 2006-8-7
//
//-----------------------------------------------------------------------------
#ifndef ASL_ASM_INCLUDE
#define ASL_ASM_INCLUDE
#pragma once
#include "asl_utils.h"
namespace ASL
{
// 普通位圖繪制
void asmDrawPlain(BYTE *psrc, BYTE *pdst, int width);
// 普通位圖繪制(帶Colorkey處理)
void asmDrawColorkey(BYTE *psrc, BYTE *pdst, int width, __int64 ck64);
// 半透明位圖繪制
void asmAlphaPlain(BYTE *psrc, BYTE *pdst, int width, __int64 alpha);
// 半透明位圖繪制(帶Colorkey處理)
void asmAlphaColorkey(BYTE *psrc, BYTE *pdst, int width, __int64 alpha, __int64 ck64);
// 快速半透明位圖繪制(50%-50%)
void asmFastPlain(BYTE *psrc, BYTE *pdst, int width);
// 快速半透明位圖繪制(帶Colorkey處理)
void asmFastColorkey(BYTE *psrc, BYTE *pdst, int width, __int64 ck64);
// alpha通道位圖繪制
void asmAlphaChannel(BYTE *psrc, BYTE *pdst, BYTE *palpha, int width);
// 色飽和位圖繪制
void asmAdditive(BYTE *psrc, BYTE *pdst, int width);
// 位圖與指定顏色半透明混合
void asmMix(BYTE *pdst, int width, __int64 clr64, __int64 alpha);
// 普通字體繪制
void asmPlainFont(BYTE *palpha, BYTE *pdst, int width, __int64 clr64);
// 平滑字體繪制
void asmSmoothFont(BYTE *palpha, BYTE *pdst, int width, __int64 clr64);
}
#endif // ASL_ASM_INCLUDE
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -