虫虫首页|资源下载|资源专辑|精品软件
登录|注册

ViewPort

  • Intro/: Directory containing introductory examples. HelloWorld.c A simple program that draws a bo

    Intro/: Directory containing introductory examples. HelloWorld.c A simple program that draws a box and writes "Hello World" in HelloWorld.f it. data The data file for the introductory progressive example. Lines.c Reads the data from file "data" and plots just the curve with Lines.f no labels, ViewPort or anything indicating quantity or units. ViewPort.c Restricts the graph to a ViewPort and frames the ViewPort, ViewPort.f leaving the remainder of the area for labels, etc. CharLbls.c Adds labels for the chart title, X-axis title, and Y-axis CharLbls.f title. Tics.c Adds tic marks to the ViewPort edges, but since clipping was Tics.f not set correctly, tics extend outside the ViewPort. Clip.c Sets clipping such that tic marks are clipped at the ViewPort Clip.f boundaries. TicLabels.c Adds numeric tic labels to the graph this is the final TicLabels.f installment of the progressive example.

    标签: introductory HelloWorld containing Directory

    上传时间: 2016-03-29

    上传用户:exxxds

  • 跨平台2D引擎

    跨平台2D引擎,任何图形设备(2d/3d)均可使用 精灵引擎包括:精灵(支持HotPoint),45度斜角地图,图层,ViewPort,层管理器。 图形引擎包括:ISurf通用2D绘图接口。目前有一个DDraw7的实现;IFont接口。还有一个CGdiFont实现。 *声明:欢迎学习研究或修改,未经本人许可,严禁用于商业用途 Copyright instemast 精灵引擎部分,我发现SUN的J2ME设计的还不错,所以参考了他的设计。 不过J2ME是针对移动设备的,不支持45度斜角地图,我支持了一下。 图形绘制部分,我抽象出了出一个ISurf接口来完成图形绘制。这个接口我改了好几次。 不支持位图Alpha通道,但是支持单个Alpha值。 ISurf接口中的Color格式为X8R8G8B8,不过具体设备上的具体实现与之可能不同。 你可以用D3D实现这个ISurf,也可以用DDraw实现他。目前我只提供了DDraw实现。 另外要说的是,不是说做3D游戏就不需要实现这个2D接口了。 由于我的UI是基于ISurf接口的,所以我的3D游戏也需要实现ISurf,以使UI工作。 里面用到的其他头文件,我也共享了出来,保证可以编译。

    标签: 跨平台 引擎

    上传时间: 2014-01-20

    上传用户:gtf1207

  • C:Documents and SettingsAdministrator桌面VC++多媒体特效制作百例CHAR09ViewPort

    C:\Documents and Settings\Administrator\桌面\VC++多媒体特效制作百例\CHAR09\ViewPort

    标签: SettingsAdministrator Documents ViewPort CHAR

    上传时间: 2013-12-13

    上传用户:PresidentHuang