Android实训-图片编辑工具-实训报告

Android实训-图片编辑工具-实训报告

已完成:图片裁剪+图片旋转

 

 

题 目:

图片编辑

系 别:

信息工程系

专 业:

软件工程

学生姓名:

KALLER

学 号:

 

 

2020年 12月 22日

 

 

摘 要

 

随着社会的发展,经济水平的提高,手机越来越普及。同时伴随着已送慧联网技术的发展,手机的功能也变得越来越丰富。从原来只具有简单通信功能的非智能手机到现在具有手机操作系统,除通话功能以外,还集上网、聊天、炒股、收发邮件等功能于一身的智能手机系统。

由Google 公式牵头众多实力雄厚的软硬件厂商加盟商成立了OMS联盟,病退出的Android平台手机系统,作为时代的新生儿, Android 手机操作平台有得天独厚的优势广阔的发展前景。

而图片编辑工具作为现在人们日常生活中常用的一种工具也已经可以说是人们日常生活中必不可少的工具了。图片编辑工具的发展同样经历了漫长的过程,凝聚无数仙人的智慧,甚至连计算机的发展都可以说是源于计算器的发展。本程序正式基于Android 平台开发的图片编辑工具。

本课题要求:设计一个基于Android 的图片编辑工具。实现的功能有:

在程序中选择一张图片并对其进行编辑操作,选择方式有拍照和系统相册选择。暴击操作包括:1、裁剪图片,选择能够对图片进行自由裁剪,裁剪后可预览,可保存;2、旋转图片,能够对图片进行旋转,旋转角度包括自由旋转和固定90°旋转。

需重点研究和解决的问题:绘制高效率的GUI和响应动作。

关键词:Android;图片编辑;

 

 

 

 

 

 

 

 

 

 

 

 

Abstract

 

 

With the development of society and the improvement of economic level, mobile phones are becoming more and more popular. At the same time, with the development of the already-sent smart networking technology, the functions of mobile phones have become more and more abundant. From the original non-smart phone with simple communication function to the mobile phone operating system, in addition to the call function, it also integrates the functions of surfing the Internet, chatting, stock trading, sending and receiving emails and other functions.

Many powerful software and hardware vendors and franchisees have established the OMS Alliance led by the Google formula. The Android platform mobile phone system that has withdrawn from illness. As a newborn of the times, the Android mobile phone operating platform has unique advantages and broad development prospects.

As a tool commonly used in people's daily life, picture editing tools can be said to be an indispensable tool in people's daily life. The development of photo editing tools has also gone through a long process, condensing the wisdom of countless immortals, and even the development of computers can be said to be derived from the development of calculators. This program is officially based on a picture editing tool developed on the Android platform.

This subject requires: design an Android-based image editing tool. The realized functions are:

Select a picture in the program and edit it. The selection methods include photo and system album selection. Critical operations include: 1. Crop the picture, choose to freely crop the pictur

1. 掌握继承、多形及相关的概念; 2. 了解类层次的设计方法,初步了解运算符重载、静态/动态联编及其在OOP中的应用等内容 1. 阅读附件中的VCAD程序的源代码,并将其编译、运行,简单地试验一下它的各项功能; 2. 分析VCAD程序的源代码中类层次的设计和实现。报告中应包含(但不限于)以下内容:  与图元类(CEntity、CLine、CRectangle、CCircle、CArc等类)和图元创建命令类(CCommand、CCreateLine、CCreateRect、CCreateCircle、CCreateArc等类)的各自的层次设计。要求画出类层次示意图;  对每一个(除了类CEntity之外)图元类,从其基类中继承了哪些成员,自行定义了哪些成员,其中有哪些成员是对基类相应成员的重写?  CEntity::Draw、CEntity::Draw、CEntity::Pick等函数为什么声明为虚函数?如果不声明为虚函数,对程序有什么影响?  找出各图元类实际绘制该图元对象的成员函数,并分析它是如何实现的,以了解在MFC环境下下如何绘制简单的图形;  针对一个图元创建命令类(CCreateLine、CCreateRect、CCreateCircle、CCreateArc中任选一个),分析该命令类是如何创建/绘制相关图元对象的;  找出一个运算符重载的例子(包括定义、实现和调用)来说明运算符重载的用途和使用运算符重载的的好处。 3. 向阅读附件中的VCAD程序加入以下功能(报告中要给出相应的设计思路和算法描述),并进行编译、运行和简单地测试(报告中要给出测试数据和结果):  增加对三角形图元的处理,包括绘制、创建、选取、平移、旋转、保存/打开等操作 4. 根据对原程序的分析和你对该程序的扩充实践,总结出设计类的继承应采取的原则,设计使用虚函数应遵循的原则,以及使用继承和多形对程序的代码重用所起
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值