//
// Scratch and See
//
// The project provides en effect when the user swipes the finger over one texture
// and by swiping reveals the texture underneath it. The effect can be applied for
// scratch-card action or wiping a misted glass.
//
// Copyright (C) 2012 http://moqod.com Andrew Kopanev <andrew@moqod.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
// of the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
//
#ifndef _MATRIX_H_
#define _MATRIX_H_
#import <Foundation/Foundation.h>
typedef struct{
size_t x;
size_t y;
}MySize;
MySize MySizeMake(size_t x,size_t y){
MySize r = {x,y};
return r;
}
@interface Matrix : NSObject {
char * data;
}
-(id)initWithMaxX:(size_t)x MaxY:(size_t)y;
-(id)initWithMax:(MySize) maxCoords;
-(char)valueForCoordinates:(size_t)x y:(size_t)y;
-(void)setValue:(char)value forCoordinates:(size_t)x y:(size_t)y;
-(void)fillWithValue:(char)value;
@property (readonly) MySize max;
@end
#endif //_MATRIX_H_
没有合适的资源?快使用搜索试试~ 我知道了~
iOS游戏应用源代码——akopanev-iOS-Scratch-n-See-6ca51ac.zip
共15个文件
h:4个
m:3个
png:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 5 浏览量
2023-07-02
16:44:33
上传
评论
收藏 2.7MB ZIP 举报
温馨提示
iOS游戏应用源代码——akopanev-iOS-Scratch-n-See-6ca51ac.zip
资源推荐
资源详情
资源评论
收起资源包目录
iOS游戏应用源代码——akopanev-iOS-Scratch-n-See-6ca51ac.zip (15个子文件)
akopanev-iOS-Scratch-n-See-6ca51ac
blured_touch-Info.plist 909B
blur_3.png 673KB
sharp_2.png 645KB
blured-touch.xcodeproj
project.pbxproj 13KB
main.m 368B
blur_2.png 1.4MB
blured_touch_Prefix.pch 231B
Classes
Utils
Matrix.h 2KB
Matrix.m 2KB
PointTransforms.h 2KB
ImageMaskView.mm 7KB
blured_touchAppDelegate.m 3KB
ImageMaskView.h 2KB
blured_touchAppDelegate.h 2KB
MainWindow.xib 8KB
共 15 条
- 1
资源评论
快乐无限出发
- 粉丝: 1126
- 资源: 7260
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功