码迷,mamicode.com
首页 >  
搜索关键字:stacking context    ( 11869个结果
Tomcat常用数据源配置
一,Tomcat配置数据源:方式一:在WebRoot下面建文件夹META-INF,里面建一个文件context.xml,内容如下: 方式二:在tomcat6.0的目录conf下面的context.xml中,修改原来的context标签,改成内容如下: WEB-INF/web.xml 方式三:在配置....
分类:其他好文   时间:2014-07-16 20:41:26    阅读次数:191
Quartz 2D绘图
Quartz 2D绘图只能在UIView中重写drawRect:方法中进行绘制,其他地方都无效,会报错。绘制过程:1. 获取上下文 CGContextRef context = UIGraphicsGetCurrentContext();2. 添加图形 CGContextAddRect(contex...
分类:其他好文   时间:2014-07-16 20:24:07    阅读次数:110
关于Nehe‘s OpenGL tutorial on Win32 Multisampling Application Creation的一些代码分析。
最近的工作需使用OpenGL的MultiSample功能,在不使用glut,glfw等库的情况下,要创建支持Multisampling的OpenGL Render Context对于初学者来讲还是要花一番功夫的。昨天晚上又把Nehe’s OpenGL tutorial里的Lesson 46拿出来.....
分类:移动开发   时间:2014-07-16 20:07:06    阅读次数:210
IOS7.0 UILabel实现自适应高度的新方法
//IOS7.0中利用- (CGRect)boundingRectWithSize:(CGSize)size options:(NSStringDrawingOptions)options attributes:(NSDictionary *)attributes context:(NSString...
分类:移动开发   时间:2014-07-13 11:31:16    阅读次数:209
怎么在ashx页面获取Session值
在一般事务处理页面,可以轻松的得到 Request,Response对象,从而进行相应的操作,如下:HttpRequest Request = context.Request;HttpResponse Response = context.Response;但是要得到 Session的值就没有那么简...
分类:其他好文   时间:2014-07-13 08:56:16    阅读次数:226
iOS Mobile Development: Using Xcode Targets to Reuse the Code 使用xcode targets来实现代码复用
In the context of iOS mobile app development, a clone is simply an app that is based off another mobile app. A clone usually has more or less the same...
分类:移动开发   时间:2014-07-12 13:23:03    阅读次数:1667
tools:context=".MainActivity的作用
一直对于 tools:context=".MainActivity"这句不懂,今天查了下,发现是这样的:tools:context="activity name"这一句不会被打包进APK。只是ADT的Layout Editor在你当前的Layout文件里面设置对应的渲染上下文,说明你当前的Layo....
分类:其他好文   时间:2014-07-12 08:50:40    阅读次数:134
android_图片px转dp
package com.lengxiaocai.myutil.screentool; import android.content.Context; /** * * @ClassName: ScreenTool * * @Description: 屏幕像素检测 * * @author yazhizhao * * @date 2014-5-6 上午11:47:07 */...
分类:移动开发   时间:2014-07-10 23:40:58    阅读次数:340
基础动画和核心动画导览
1 uiview动画     [UIView beginAnimations:@"Curl"context:nil];//动画开始    [UIView setAnimationDuration:0.75];   [UIView setAnimationDelegate:self];   [UIView setAnimationTransition:UIViewAnimationTran...
分类:其他好文   时间:2014-07-10 19:32:01    阅读次数:218
android 获取手机的所有程序和widget的包名和启动类名
获取widget可以AppWidgetManager来获取List<AppWidgetProviderInfo>widget=AppWidgetManager.getInstance(Context(上下文)).getInstalledProviders();得到所有AppWidgetProviderInfofor(inti=0;i<widget.size();i++){AppWidgetProviderInfoinfo=widget.get(i);Stringp..
分类:移动开发   时间:2014-07-10 18:43:36    阅读次数:215
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!