登录
首页 » Linux-Unix program » 宽度= gdk_pixbuf_animation_get_width(ANI)

宽度= gdk_pixbuf_animation_get_width(ANI)

于 2022-05-17 发布 文件大小:1.53 kB
0 187
下载积分: 2 下载次数: 1

代码说明:

width = gdk_pixbuf_animation_get_width(ani) height = gdk_pixbuf_animation_get_height(ani) current_frame_list = gdk_pixbuf_animation_get_frames(ani) pixmap = gdk_pixmap_new(w->window, width, height, -1) clean_pixmap = gdk_pixmap_new(w->window, width, height, -1) if (w->style->bg_pixmap[GTK_STATE_NORMAL]) { GdkPixmap *bg = w->style->bg_pixmap[GTK_STATE_NORMAL] GdkGC *gc GdkGCValues values values.tile = bg values.fill = GDK_TILED gc = gdk_gc_new_with_values(w->window, &values, GDK_GC_FILL|GDK_GC_TILE) gdk_gc_set_ts_origin(gc, (w->allocation.width - width)/2, (w->allocation.height-height)/2) gdk_draw_rectangle(clean_pixmap,gc, TRUE, 0, 0, width, height) gdk_gc_destroy(gc) } else { gdk_draw_rectangle(clean_pixmap, w->style->bg_gc[GTK_STATE_NORMAL], TRUE, 0, 0, width, height) }- width = gdk_pixbuf_animation_get_width(ani)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • SnackAmp is a powerful multi
    SnackAmp is a powerful multi-platform audio music (mp3, ogg ,wav, streams ...) player and organizer for large music collections. Manage your entire collection, including ID3 tagging and auto-playlisting. Integrated web server for remote control/streaming
    2023-08-11 16:45:09下载
    积分:1
  • Classification of Unix/Linux command operation guidance. (For all aspects)
    分类的Unix/Linux命令操作指导。(针对各方面问题)-Classification of Unix/Linux command operation guidance. (For all aspects)
    2022-01-25 20:50:10下载
    积分:1
  • 这个文件包含the TIPS和诡计for Ubuntu 8.10。它deceibes the坚持……
    this document contains the tips and trick for UBUNTU 8.10. It deceibes the following procedures and tips used for Ubuntu 8.10: 1.Procedure to create and login as root from GUI page no. 2 2.Procedure to install ns­ 2 in ubuntu 8.10 page no. 2 3.Procedure to install VLC player in Ubuntu 8.10 page no. 6 4.Procedure to install Real player in Ubuntu 8.10 page no.7-this document contains the tips and trick for UBUNTU 8.10. It deceibes the following procedures and tips used for Ubuntu 8.10: 1.Procedure to create and login as root from GUI page no. 2 2.Procedure to install ns­ 2 in ubuntu 8.10 page no. 2 3.Procedure to install VLC player in Ubuntu 8.10 page no. 6 4.Procedure to install Real player in Ubuntu 8.10 page no.7
    2022-03-23 17:32:20下载
    积分:1
  • iSCSI协议的源代码,很好的深入研究。
    一个iSCSI协议实现源代码,好好研究不错。-an iSCSI protocol source code, a thorough study of good.
    2022-08-15 17:13:09下载
    积分:1
  • IPC各种机制的整理,比如消息队列,内存共享,PIPE,适合学习练习...
    IPC各种机制的整理,比如消息队列,内存共享,PIPE,适合学习练习-The collection of the various IPC mechanisms, such as message queues, shared memory, PIPE, suitable for learning and practice
    2022-02-24 22:02:02下载
    积分:1
  • linux环境下的MP3播放软件,按照install文件可以进行安装和配置...
    在linux环境下的MP3播放软件,按照install文件可以进行安装和配置 -linux environment in the MP3 player software, According to install files can be installed and configured
    2022-01-23 11:03:25下载
    积分:1
  • The Art Of Unix Programming
    The Art Of Unix Programming
    2023-07-16 06:25:04下载
    积分:1
  • Programming third edition of the source, the British horse revision, Posts And T...
    程序设计第三版源码,英国马修编著,人民邮电出版社出版-Programming third edition of the source, the British horse revision, Posts And Telecommunications News Press
    2022-07-27 11:02:19下载
    积分:1
  • VLC播放器源代码
    VLC Player Source Code
    2022-01-27 20:02:28下载
    积分:1
  • Nucleus PLUS实时操作系统是很好的
    Nucleus PLUS是美国著名RTOS厂商ATI公司(Accelerated Tedmology lnc) 在嵌入式实 时多任务操作系统Nucleus基础上,为实时嵌入式应用而设计的一个抢先式多任务操作系统内核。其95%的代码是用ANSI C写成的,非常便于移植并支持大多数类型的处理器 Nucleus PLUS是一组c函数库,应用程序代码与核心函数连接在一起,生成一个目标代码,下载到目标板的RAM 中或直接烧录到目标板的ROM 中执行。在典型的目标环境中,Nucleus PLUS核心代码区一般不超过20K字节大小。-Nucleus PLUS RTOS is well-known American manufacturers ATI Corporation (Accelera ted Tedmology lnc) in Embedded Real-time Operating System Nucleus multi-task basis, for real-time embedded applications designed to pre-empt a multi-tasking operating system kernel. Its 95% of the code is written in ANSI C, very easy transplantation and to support most types of processors Nucleus PLUS is a function of the group c, Application code and linked to the core function, generating an object code, downloaded to the target board RAM or direct copying to the target board ROM implementation. In a typical target environment, Nucleus PLUS core code is generally not exceed 20 K byte size.
    2022-06-18 03:55:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载