亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? gifimage.pas

?? 超市管理系統
?? PAS
?? 第 1 頁 / 共 5 頁
字號:
unit GIFImage;
////////////////////////////////////////////////////////////////////////////////
//                                                                            //
// Project:	GIF Graphics Object                                           //
// Module:	gifimage                                                      //
// Description:	TGraphic implementation of the GIF89a graphics format         //
// Version:	2.2                                                           //
// Release:	5                                                             //
// Date:	23-MAY-1999                                                   //
// Target:	Win32, Delphi 2, 3, 4 & 5, C++ Builder 3 & 4                  //
// Author(s):	anme: Anders Melander, anders@melander.dk                     //
//		fila: Filip Larsen                                            //
//		rps: Reinier Sterkenburg                                      //
// Copyright:	(c) 1997-99 Anders Melander.                                  //
//		All rights reserved.                                          //
// Formatting:	2 space indent, 8 space tabs, 80 columns.                     //
//                                                                            //
////////////////////////////////////////////////////////////////////////////////
//                                                                            //
// Please read the "Conditions of use" in the release notes.                  //
//                                                                            //
////////////////////////////////////////////////////////////////////////////////
// Known problems:
//
// * The combination of buffered, tiled and transparent draw will display the
//   background incorrectly (scaled).
//   If this is a problem for you, use non-buffered (goDirectDraw) drawing
//   instead.
//
// * The combination of non-buffered, transparent and stretched draw is
//   sometimes distorted with a pattern effect when the image is displayed
//   smaller than the real size (shrinked).
//
// * Buffered display flickers when TGIFImage is used by a transparent TImage
//   component.
//   This is a problem with TImage caused by the fact that TImage was designed
//   with static images in mind. Not much I can do about it.
//
////////////////////////////////////////////////////////////////////////////////
// To do (in rough order of priority):
// { TODO -oanme -cFeature : TImage hook for destroy notification. }
// { TODO -oanme -cFeature : TBitmap pool to limit resource consumption on Win95/98. }
// { TODO -oanme -cImprovement : Make BitsPerPixel property writable. }
// { TODO -oanme -cFeature : Visual GIF component. }
// { TODO -oanme -cImprovement : Easier method to determine DrawPainter status. }
// { TODO -oanme -cFeature : Import to 256+ color GIF. }
// { TODO -oanme -cFeature : Make some of TGIFImage's properties persistent (DrawOptions etc). }
// { TODO -oanme -cFeature : Add TGIFImage.Persistent property. Should save published properties in application extension when this options is set. }
// { TODO -oanme -cBugFix : Solution for background buffering in scrollbox. }
//
//////////////////////////////////////////////////////////////////////////////////
{$ifdef BCB}
{$ObjExportAll On}
{$endif}

interface
////////////////////////////////////////////////////////////////////////////////
//
//		Conditional Compiler Symbols
//
////////////////////////////////////////////////////////////////////////////////
(*
  DEBUG				Must be defined if any of the DEBUG_xxx
  				symbols are defined.
                                If the symbol is defined the source will not be
                                optimized and overflow- and range checks will be
                                enabled.

  DEBUG_HASHPERFORMANCE		Calculates hash table performance data.
  DEBUG_HASHFILLFACTOR		Calculates fill factor of hash table -
  				Interferes with DEBUG_HASHPERFORMANCE.
  DEBUG_COMPRESSPERFORMANCE	Calculates LZW compressor performance data.
  DEBUG_DECOMPRESSPERFORMANCE	Calculates LZW decompressor performance data.
  DEBUG_DITHERPERFORMANCE	Calculates color reduction performance data.
  DEBUG_DRAWPERFORMANCE		Calculates low level drawing performance data.
  				The performance data for DEBUG_DRAWPERFORMANCE
                                will be displayed when you press the Ctrl key.
  DEBUG_RENDERPERFORMANCE	Calculates performance data for the GIF to
  				bitmap converter.
  				The performance data for DEBUG_DRAWPERFORMANCE
                                will be displayed when you press the Ctrl key.

  GIF_NOSAFETY			Define this symbol to disable overflow- and
				range checks.
                                Ignored if the DEBUG symbol is defined.

  STRICT_MOZILLA		Define to mimic Mozilla as closely as possible.
  				If not defined, a slightly more "optimal"
                                implementation is used (IMHO).

  FAST_AS_HELL			Define this symbol to use strictly GIF compliant
  				(but too fast) animation timing.
                                Since our paint routines are much faster and
                                more precise timed than Mozilla's, the standard
                                GIF and Mozilla values causes animations to loop
                                faster than they would in Mozilla.
                                If the symbol is _not_ defined, an alternative
                                set of tweaked timing values will be used.
                                The tweaked values are not optimal but are based
                                on tests performed on my reference system:
                                - Windows 95
                                - 133 MHz Pentium
                                - 64Mb RAM
                                - Diamond Stealth64/V3000
                                - 1600*1200 in 256 colors
                                The alternate values can be modified if you are
                                not satisfied with my defaults (they can be
                                found a few pages down).

  REGISTER_TGIFIMAGE            Define this symbol to register TGIFImage with
  				the TPicture class and integrate with TImage.
                                This is required to be able to display GIFs in
                                the TImage component.
                                The symbol is defined by default.
                                Undefine if you use another GIF library to
                                provide GIF support for TImage.

  PIXELFORMAT_TOO_SLOW		When this symbol is defined, the internal
  				PixelFormat routines are used in some places
                                instead of TBitmap.PixelFormat.
                                The current implementation (Delphi4, Builder 3)
                                of TBitmap.PixelFormat can in some situation
                                degrade performance.
                                The symbol is defined by default.

  CREATEDIBSECTION_SLOW		If this symbol is defined, TDIBWriter will
  				use global memory as scanline storage, instead
                                of a DIB section.
                                Benchmarks have shown that a DIB section is
                                twice as slow as global memory.
                                The symbol is defined by default.
                                The symbol requires that PIXELFORMAT_TOO_SLOW
                                is defined.

  SERIALIZE_RENDER		Define this symbol to serialize threaded
  				GIF to bitmap rendering.
                                When a GIF is displayed with the goAsync option
                                (the default), the GIF to bitmap rendering is
                                executed in the context of the draw thread.
                                If more than one thread is drawing the same GIF
                                or the GIF is being modified while it is
                                animating, the GIF to bitmap rendering should be
                                serialized to guarantee that the bitmap isn't
                                modified by more than one thread at a time. If
                                SERIALIZE_RENDER is defined, the draw threads
                                uses TThread.Synchronize to serialize GIF to
                                bitmap rendering.
*)

{$DEFINE REGISTER_TGIFIMAGE}
{$DEFINE PIXELFORMAT_TOO_SLOW}
{$DEFINE CREATEDIBSECTION_SLOW}

////////////////////////////////////////////////////////////////////////////////
//
//		Determine Delphi and C++ Builder version
//
////////////////////////////////////////////////////////////////////////////////

// Delphi 1.x
{$IFDEF VER80}
  'Error: TGIFImage does not support Delphi 1.x'
{$ENDIF}

// Delphi 2.x
{$IFDEF VER90}
  {$DEFINE VER9x}
{$ENDIF}

// C++ Builder 1.x
{$IFDEF VER93}
  // Good luck...
  {$DEFINE VER9x}
{$ENDIF}

// Delphi 3.x
{$IFDEF VER100}
  {$DEFINE VER10_PLUS}
  {$DEFINE D3_BCB3}
{$ENDIF}

// C++ Builder 3.x
{$IFDEF VER110}
  {$DEFINE VER10_PLUS}
  {$DEFINE VER11_PLUS}
  {$DEFINE D3_BCB3}
  {$DEFINE BAD_STACK_ALIGNMENT}
{$ENDIF}

// Delphi 4.x
{$IFDEF VER120}
  {$DEFINE VER10_PLUS}
  {$DEFINE VER11_PLUS}
  {$DEFINE VER12_PLUS}
  {$DEFINE BAD_STACK_ALIGNMENT}
{$ENDIF}

// C++ Builder 4.x
{$IFDEF VER125}
  {$DEFINE VER10_PLUS}
  {$DEFINE VER11_PLUS}
  {$DEFINE VER12_PLUS}
  {$DEFINE VER125_PLUS}
  {$DEFINE BAD_STACK_ALIGNMENT}
{$ENDIF}

// Delphi 5.x
{$IFDEF VER130}
  {$DEFINE VER10_PLUS}
  {$DEFINE VER11_PLUS}
  {$DEFINE VER12_PLUS}
  {$DEFINE VER125_PLUS}
  {$DEFINE VER13_PLUS}
  {$DEFINE BAD_STACK_ALIGNMENT}
{$ENDIF}

// Unknown compiler version - assume D4 compatible
{$IFNDEF VER9x}
  {$IFNDEF VER10_PLUS}
    {$DEFINE VER10_PLUS}
    {$DEFINE VER11_PLUS}
    {$DEFINE VER12_PLUS}
    {$DEFINE BAD_STACK_ALIGNMENT}
  {$ENDIF}
{$ENDIF}

////////////////////////////////////////////////////////////////////////////////
//
//		Compiler Options required to compile this library
//
////////////////////////////////////////////////////////////////////////////////
{$A+,B-,H+,J+,K-,M-,T-,X+}

// Debug control - You can safely change these settings
{$IFDEF DEBUG}
  {$C+}	// ASSERTIONS
  {$O-}	// OPTIMIZATION
  {$Q+}	// OVERFLOWCHECKS
  {$R+}	// RANGECHECKS
{$ELSE}
  {$C-}	// ASSERTIONS
  {$IFDEF GIF_NOSAFETY}
    {$Q-}// OVERFLOWCHECKS
    {$R-}// RANGECHECKS
  {$ENDIF}
{$ENDIF}

// Special options for Time2Help parser
{$ifdef TIME2HELP}
{$UNDEF PIXELFORMAT_TOO_SLOW}
{$endif}

////////////////////////////////////////////////////////////////////////////////
//
//			External dependecies
//
////////////////////////////////////////////////////////////////////////////////
uses
  sysutils,
  Windows,
  Graphics,
  Classes;

////////////////////////////////////////////////////////////////////////////////
//
//			TGIFImage library version
//
////////////////////////////////////////////////////////////////////////////////
const
  GIFVersion		= $0202;
  GIFVersionMajor	= 2;
  GIFVersionMinor	= 2;
  GIFVersionRelease	= 5;

////////////////////////////////////////////////////////////////////////////////
//
//			Misc constants and support types
//
////////////////////////////////////////////////////////////////////////////////
const
  GIFMaxColors	= 256;			// Max number of colors supported by GIF
  					// Don't bother changing this value!

  BitmapAllocationThreshold = 500000;	// Bitmap pixel count limit at which
  					// a newly allocated bitmap will be
                                        // converted to 1 bit format before
                                        // being resized and converted to 8 bit.

var
{$IFDEF FAST_AS_HELL}
  GIFDelayExp: integer = 10;		// Delay multiplier in mS.
{$ELSE}
  GIFDelayExp: integer = 12;		// Delay multiplier in mS. Tweaked.
{$ENDIF}
					// * GIFDelayExp:
  					// The following delay values should all
                                        // be multiplied by this value to
                                        // calculate the effective time (in mS).
                                        // According to the GIF specs, this
                                        // value should be 10.
                                        // Since our paint routines are much
                                        // faster than Mozilla's, you might need
                                        // to increase this value if your
                                        // animations loops too fast. The
                                        // optimal value is impossible to
                                        // determine since it depends on the
                                        // speed of the CPU, the viceo card,
                                        // memory and many other factors.

  GIFDefaultDelay: integer = 10;	// * GIFDefaultDelay:
  					// Default animation delay.
  					// This value is used if no GCE is
                                        // defined.
                                        // (10 = 100 mS)

{$IFDEF FAST_AS_HELL}
  GIFMinimumDelay: integer = 1;		// Minimum delay (from Mozilla source).
  					// (1 = 10 mS)
{$ELSE}
  GIFMinimumDelay: integer = 3;		// Minimum delay - Tweaked.
{$ENDIF}
					// * GIFMinimumDelay:
					// The minumum delay used in the Mozilla
                                        // source is 10mS. This corresponds to a
                                        // value of 1. However, since our paint
                                        // routines are much faster than
                                        // Mozilla's, a value of 3 or 4 gives
                                        // better results.

  GIFMaximumDelay: integer = 1000;	// * GIFMaximumDelay:
  					// Maximum delay when painter is running
  					// in main thread (goAsync is not set).
                                        // This value guarantees that a very

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美成人激情免费网| 有坂深雪av一区二区精品| 日本一二三四高清不卡| 欧美丰满嫩嫩电影| 91视频国产资源| 1区2区3区精品视频| 国产精品一区二区久激情瑜伽| 欧美一级久久久| 精彩视频一区二区三区| 久久嫩草精品久久久精品| 成人午夜视频网站| 亚洲激情在线激情| 6080国产精品一区二区| 黄色精品一二区| 国产精品久久久久三级| 一本大道久久精品懂色aⅴ| 亚洲综合在线观看视频| 在线成人小视频| 国产东北露脸精品视频| 亚洲男人天堂av| 久久久国产精华| 色综合久久天天| 蜜桃视频一区二区| 日本不卡一区二区三区| 91美女片黄在线观看| 欧美日韩国产高清一区二区三区 | 欧美精品vⅰdeose4hd| 日本不卡一二三区黄网| 久久精品日产第一区二区三区高清版| 粉嫩aⅴ一区二区三区四区 | 91网页版在线| 日韩高清不卡一区二区| 国产欧美视频一区二区| 欧美日韩国产经典色站一区二区三区| 久久成人免费电影| 亚洲另类春色校园小说| 精品国产一区久久| 一本一道久久a久久精品| 麻豆精品一区二区av白丝在线 | 中文字幕日本乱码精品影院| 欧美喷潮久久久xxxxx| 国产91精品在线观看| 日日夜夜免费精品视频| 亚洲色图视频免费播放| 26uuu精品一区二区三区四区在线| 99精品欧美一区二区三区小说| 麻豆精品新av中文字幕| 亚洲综合激情网| 国产精品卡一卡二| 日韩视频一区二区| 欧美亚州韩日在线看免费版国语版| 国产乱理伦片在线观看夜一区 | 日日骚欧美日韩| 成人免费小视频| 国产清纯在线一区二区www| 在线综合+亚洲+欧美中文字幕| 99视频精品全部免费在线| 黄色日韩三级电影| 日韩av电影天堂| 性久久久久久久久久久久| 中文字幕一区二区在线观看| 久久夜色精品国产噜噜av | 久久先锋资源网| 538prom精品视频线放| 色综合天天天天做夜夜夜夜做| 国产一区二区精品久久91| 美女视频免费一区| 亚洲777理论| 亚洲综合久久久| 伊人开心综合网| 一二三区精品视频| 亚洲视频免费观看| 国产精品国产三级国产专播品爱网| 久久丝袜美腿综合| 2020国产精品久久精品美国| 精品三级在线观看| 精品sm在线观看| 亚洲天堂2014| 自拍偷自拍亚洲精品播放| 国产精品久久久久久久久免费桃花| 久久精品欧美一区二区三区不卡 | 91精品国产综合久久久久久漫画| 99久久精品国产网站| 成人av动漫网站| 成人av电影观看| 成人h动漫精品| 91在线播放网址| 色噜噜狠狠成人网p站| 91麻豆国产福利精品| 色悠久久久久综合欧美99| 色综合久久88色综合天天免费| 91福利在线免费观看| 欧美三级电影在线看| 欧美日本一区二区| 在线91免费看| 欧美不卡123| 国产精品三级电影| 一区二区三区91| 日本欧美一区二区三区乱码| 精品一区二区三区在线观看| 99视频超级精品| 国产福利一区在线| 日韩国产欧美在线观看| 欧美v日韩v国产v| 久久亚洲一区二区三区四区| 日本一区二区免费在线 | 狠狠狠色丁香婷婷综合激情 | 国产不卡一区视频| 色综合天天性综合| 欧美一区二区三区思思人| 精品国产免费人成在线观看| 欧美国产日韩亚洲一区| 亚洲综合色丁香婷婷六月图片| 美女脱光内衣内裤视频久久影院| 国产宾馆实践打屁股91| 91成人免费电影| 欧美v亚洲v综合ⅴ国产v| 国产精品久久精品日日| 午夜国产精品一区| 国产精品911| 欧美日韩高清一区二区不卡| 精品国产乱码久久久久久蜜臀| 国产精品美女久久久久久2018| 成人美女在线观看| 久久精品亚洲乱码伦伦中文| 国产精品免费aⅴ片在线观看| 这里只有精品免费| 在线播放日韩导航| 亚洲国产激情av| 午夜在线电影亚洲一区| 国产91精品久久久久久久网曝门| 欧美亚洲一区二区在线| 国产亚洲欧美色| 亚洲h精品动漫在线观看| 成人看片黄a免费看在线| 欧美日韩电影一区| 成人欧美一区二区三区黑人麻豆 | 99国产精品久久久| 久久亚洲二区三区| 视频一区在线视频| 一本色道久久综合狠狠躁的推荐| 亚洲精品一区在线观看| 香蕉久久夜色精品国产使用方法| av一二三不卡影片| 精品日韩一区二区三区免费视频| 亚洲午夜免费电影| 色婷婷久久久久swag精品 | 亚洲欧美影音先锋| 国产一区二区三区久久久| 6080国产精品一区二区| 一区二区三区免费观看| 91小视频在线观看| 亚洲欧洲av在线| 国产乱码精品一区二区三区忘忧草 | 久久尤物电影视频在线观看| 五月天激情小说综合| 色先锋久久av资源部| 国产精品久久久久久久久快鸭 | 成人午夜免费电影| 精品剧情v国产在线观看在线| 天天综合网 天天综合色| 日本韩国精品在线| 亚洲日本在线视频观看| av午夜一区麻豆| 国产精品不卡视频| 国产夫妻精品视频| 亚洲国产精品成人综合色在线婷婷| 久久99精品国产麻豆婷婷| 欧美成人伊人久久综合网| 老司机免费视频一区二区| 制服丝袜av成人在线看| 日本va欧美va精品发布| 欧美一激情一区二区三区| 日韩精品电影一区亚洲| 欧美日韩国产小视频| 亚洲第一成年网| 欧美人与性动xxxx| 99re热视频精品| 久久精品国产成人一区二区三区| 国产精品入口麻豆原神| 中文字幕一区二区三区四区| 欧美色图一区二区三区| 久久国产人妖系列| 一区二区三区日韩欧美| 最新欧美精品一区二区三区| 欧美视频在线一区| 不卡在线视频中文字幕| 欧美aaaaaa午夜精品| 亚洲一区中文日韩| 精品日韩一区二区三区| 久久久精品综合| 夜夜精品视频一区二区| 国内欧美视频一区二区| 2欧美一区二区三区在线观看视频| 激情成人午夜视频| 国产精品久久久久7777按摩 | 国产亚洲一本大道中文在线| 岛国av在线一区| 亚洲一线二线三线久久久| 精品国产一区二区三区久久久蜜月|