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

宽度= gdk_pixbuf_animation_get_width(ANI)

于 2022-05-17 发布 文件大小:1.53 kB
0 135
下载积分: 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 个回复

  • generated rectangular Steiner tree package
    生成直角Steiner树的程序包-generated rectangular Steiner tree package
    2022-09-10 18:10:03下载
    积分:1
  • 关于UNIX系统的教案,内容丰富,讲解详细,可以参考
    关于UNIX系统的教案,内容丰富,讲解详细,可以参考 -on UNIX System templates, rich in content, to explain in detail, they can refer to
    2022-02-04 11:50:31下载
    积分:1
  • unix下模仿ping功能,测试网络环境下网络主机连接情况
    unix下模仿ping功能,测试网络环境下网络主机连接情况-err
    2022-03-31 23:17:30下载
    积分:1
  • Vidcat procedure is in accordance with the law, can only grasp PPM plans. Makefi...
    程序是根据vidcat改的,只能抓PPM的图. makefile的内容如下,请注意打小写: cc=gcc #cflags=-i/firendly-arm/kernel/include -i/usr/local/arm/2.95.3/arm-linux/include -wall -dhave_libjpeg #-dvideo_dev="/dev/v4l/video0" -dversion="0.7.2" cflags=-wall -dvideo_dev="/dev/video0" -dversion="0.7.2" camsnap: camsnap.c 用法如下: camsnap -v -s 420x420 -o my.ppm 这儿请注意:s 的大小必需是8能整除的倍数. 这个程序我是在rh9下作的,需要交叉编译的朋友就把注释去掉,再给下面的注释就可以了.-Vidcat procedure is in accordance with the law, can only grasp PPM plans. Makefile reads as follows, please note that playing lowercase: cc = gcc# Cflags =- i/firendly-arm/kernel/include-i/usr/local/arm/2.95 .3/arm-linux/include-wall-dhave_libjpeg#-dvideo_dev =
    2023-04-15 21:40:03下载
    积分:1
  • 组播服务端程序,用c编写
    组播服务端程序,用c编写-multicast service software, used to prepare c
    2022-04-10 07:21:05下载
    积分:1
  • rtp media refers to the programming in the network transmission technology using...
    rtp 编程 媒体指的是在网络中使用流技术传输的连续时基媒体,其特点是在播放前不需要下载整个文件,而是采用边下载边播放的方式,它是视频会议、IP 电话等应用场合的技术基础。RTP 是进行实时流媒体传输的标准协议和关键技术,本文介绍如何在 Linux 下利用 JRTPLIB 进行实时流媒体编程。 -rtp media refers to the programming in the network transmission technology using continuous time-base media, their characteristics are in the player does not need to download the entire document before, instead of using the side edge player download way, which is video conferencing, IP phones and other applications of the technology base. RTP is a real-time streaming media transmission protocol and the key technology standards, this article describes how to use JRTPLIB in the Linux real-time streaming media programming.
    2022-01-26 07:52:17下载
    积分:1
  • 这是第一个开源实现动态主机配置…
    This is the first ever open source implementation of Dynamic Host Configuration Protocol for IPv6 (DHCPv6) server and client on Linux Operating System. The server provides leases (durations or lifetimes) on IPv6 addresses to the clients who request for it
    2022-05-16 18:05:10下载
    积分:1
  • linux/unix下的txt浏览器
    linux/unix下的txt浏览器-linux/unix the txt browser
    2022-03-22 00:53:50下载
    积分:1
  • 霍夫曼编码的C语言实现!
    霍夫曼编码的C语言实现!-Huffman coding in C language!
    2023-08-02 12:05:03下载
    积分:1
  • 介绍了linux平台下minigui的移植
    介绍了linux平台下minigui的移植-Introduced under the linux platform minigui transplant
    2022-01-25 15:22:30下载
    积分:1
  • 696518资源总数
  • 105885会员总数
  • 31今日下载