Tuesday, September 28, 2010

Fireworks produced CD circular picture effect


CD circular picture effect

Fireworks in the history panel function, presumably not often we use it, the production of this graphic is history with the function panel, interested friend can see, I'm here to make the process carefully to say again. :)



1, first create a new file, use the ellipse tool to draw a circle, fill to none, stroke 1, the color from the set, I selected here is # 000033.



2, clone image (edit-> clone), in the info panel, the W value of minus 4, hit Enter. And use the arrow tool to select the clone of the image, the right move to four pixels.



3, also select these two circles, with the modify menu combine-> punch, for Boolean operations.



4, this operation out of graphics clone, and turn 180 degrees and then join.



5, once again clone graphics, modify the menu in the transform-> numeric transform-> scale, 97% of all election



6, open the history panel, the last two clone & transform also selected, according to the following replay button has been repeatedly press this button



7, the end result.








Recommended links:



RFID: The Area Of Product Security Tool



ACCOUNTING And Finance brief



Dealers Sustained Growth Quartet



FLASH to MPEG



John XINHUA introduction of Guangxi sugar set EAM2008



MTS to MOV



Report Personal Interest



Baidu in the MAD hope and hardship



Public Broadcast Media Broadcast Service Rental



FTP Clients Directory



Bearing Co., Ltd. Yantai Ximeng Xi



What is the TREND of digital cameras



SP has a new tactics to steal money through Guangdong Province, Hong Kong Monetary Authority to warn



ASF To AVI



Why the concept of recurring war 3G



Easy Printer



Domestic long road CAXA CAD LEAD the way down to earth



Friday, September 17, 2010

C + + motto: as long as possible on the use of const


Unfortunately, a lot of member functions and constants can not be completely through the bits of the test. In particular, a constantly changing the contents of a pointer to member function. Unless the pointer in the object, or bits of this function is const, the compiler will not raise objections. For example, suppose we have a similar TextBlock class, because it needs to know with a string of the mass of the C API dealing with, so it needs to its data stored as char * instead of string.

class CTextBlock (
public:
...
char & operator [] (std:: size_t position) const / / inappropriate (but bitwise

(Return pText [position];) / / const) declaration of
/ / Operator []
private:
char * pText;
);
Although the operator [] returns the object reference to internal data, this class is (inappropriate) it is declared const member function (Item 28 will be talking about a subject in depth). First it aside and see if operator [] to achieve, it does not use any means to change the pText. Result, the compiler generates pleasure operator [] code, because all the compiler is concerned, it is bits const, but we see what happens: const CTextBlock cctb ("Hello"); / / declare constant object

char * pc = & cctb [0]; / / call the const operator [] to get a
/ / Pointer to cctb's data

* Pc = 'J'; / / cctb now has the value "Jello"
Here indeed is a problem, you use a fixed value to create a constant object, and then you just use it to call a const member function, but you change its value! This leads to the notion of logical constants. Adherents of this theory that: a const member function is called when the object may change some bits, but only with the customer can not feel the approach. For example, your CTextBlock class can be stored when required length of the text block: class CTextBlock (
public:
..
std:: size_t length () const;

private:
char * pText;
std:: size_t textLength; / / last calculated length of textblock
bool lengthIsValid; / / whether length is currently valid
);

std:: size_t CTextBlock:: length () const
(
if (! lengthIsValid) (
textLength = std:: strlen (pText); / / error! can't assign to textLength
lengthIsValid = true; / / and lengthIsValid in a const
) / / Member function
return textLength;
)
length of the realization of course, not bits const's - textLength and lengthIsValid are likely to be changed - but it is also seen as an object of the const CTextBlock effective. However, the compiler does not agree, it insisted constants of binary bits, how do?

Solution is simple: Use the keyword mutable as the expression of C + + the const-related flexible space. mutable non-static data members of the binary bits from the binding constants of the liberation: class CTextBlock (
public:
...
std:: size_t length () const;

private:
char * pText;
mutable std:: size_t textLength; / / these data members may
mutable bool lengthIsValid; / / always be modified, even in
); / / Const member functions

std:: size_t CTextBlock:: length () const
(
if (! lengthIsValid) (
textLength = std:: strlen (pText); / / now fine
lengthIsValid = true; / / also fine
)
return textLength;
)
To avoid the const and non-const member function of repetition

mutable constants of binary bits for the solution not the problem to my mind is a good solution, but it can not solve all of the const-related problems. For example, suppose TextBlock (including CTextBlock) of the operator [] only to return an appropriate character reference, it should conduct border inspections, record visit information, even to confirm data integrity, these functions to const and non-const The operator [] function, so that they become such a monster as follows: class TextBlock (
public:
..
const char & operator [] (std:: size_t position) const
(
... / / Do bounds checking
... / / Log access data
... / / Verify data integrity
return text [position];
)
char & operator [] (std:: size_t position)
(
... / / Do bounds checking
... / / Log access data
... / / Verify data integrity
return text [position];
)
private:
std:: string text;
);
Oops! You mean to repeat the code? There followed additional compile time, maintenance costs and headaches code expansion and other things? Of course, you can also shift the border check, and all code to a separate member function (of course, private) and to allow the two versions of operator [] to call it, but you still have to repeat the call to the function and write return statement of the code.

How can only achieve an operator [] function, but also can be used twice? You can use a version of operator [] to call the other version. Removed by force constants of transition.

As a general rule, force restructuring is a very bad idea, I will spend an entire Item to tell you not to use it, but the repetition code is not a good thing. Under the current circumstances, const version of operator [] is doing is precisely the non-const version did, the only difference is that it has a const return type. In this case, by removing the return type of the constant transformation of a security, because no matter who call non-const operator [], the first condition is a non-const object. Otherwise, he could not call a non-const function. So, even if requires a mandatory transition to non-const operator [] call the const version of the method in order to avoid duplication of code is safe. The code below, then the explanation may make you understand it more clearly: class TextBlock (
public:
...
const char & operator [] (std:: size_t position) const / / same as before
(
...
...
...
return text [position];
)
char & operator [] (std:: size_t position) / / now just calls const op []
(
return
const_cast (/ / cast away const on
/ / Op [] 's return type;
static_cast (* this) / / add const to * this's type;
[Position] / / call const version of op []
);
)
...
);
As you can see, there are two mandatory code transformation, not just one. We allow non-const operator [] calls const version, but if the non-const operator [] of the interior, we just call the operator [], then we will recursively call ourselves a million times or more. Wei Liao avoid infinite recursion, we must be clear that we want to call const operator [], not directly in the way to do this, so we will * this type have been from Ta TextBlock & Jiangzhizhuanxing Dao const TextBlock &. Yes, we use force in transition, it added a const! So we have two mandatory transition: the first is for * this with const (purpose is when we call the operator [] when the call is const version), the second is from the const operator [] return value being removed const.

Increase the mandatory transition const is a safe conversion (from a non-const object to a const object), so we do use static_cast. Remove const const_cast mandatory transition can be accomplished, where we have no other choice.

The basis of the completion of other things, we call in this case an operator, so the syntax may seem strange. Cause it will not win the beauty contest, but it passed in the const version of operator [] on to achieve its non-const version of the method to avoid duplication of code to achieve the desired results. The syntax to use ugly best achieve our goals whether it is worth to you to decide, but this in a const member function on the basis of its non-const version of the technology is very worthwhile to master.

銆??鏇村姞鍊煎緱鐭ラ亾鐨勬槸鍋氳繖浠朵簨鐨勫弽鍚戞柟娉曗?鈥旈?杩囩敤 const 鐗堟湰璋冪敤 non-const 鐗堟湰鏉ラ伩鍏嶄唬鐮侀噸澶嶁?鈥旀槸浣犱笉鑳藉仛鐨勩?璁颁綇锛屼竴涓?const 鎴愬憳鍑芥暟鎵胯涓嶄細鏀瑰彉瀹冪殑瀵硅薄鐨勯?杈戠姸鎬侊紝浣嗘槸涓?釜 non-const 鎴愬憳鍑芥暟涓嶄細鍋氳繖鏍风殑鎵胯銆傚鏋滀綘浠庝竴涓?const 鎴愬憳鍑芥暟璋冪敤涓?釜 non-const 鎴愬憳鍑芥暟锛屼綘灏嗛潰涓翠綘鎵胯涓嶄細鍙樺寲鐨勫璞¤鏀瑰彉鐨勯闄┿?杩欏氨鏄负浠?箞浣跨敤涓?釜 const 鎴愬憳鍑芥暟璋冪敤涓?釜 non-const 鎴愬憳鍑芥暟鏄敊璇殑锛屽璞″彲鑳戒細琚敼鍙樸?瀹為檯涓婏紝閭f牱鐨勪唬鐮佸鏋滄兂閫氳繃缂栬瘧锛屼綘蹇呴』鐢ㄤ竴涓?const_cast 鏉ュ幓鎺?*this 鐨?const锛岃繖鏍峰仛鏄竴涓樉鑰屾槗瑙佺殑楹荤儲銆傝?鍙嶅悜鐨勮皟鐢ㄢ?鈥斿氨鍍忔垜鍦ㄤ笂闈㈢殑渚嬪瓙涓敤鐨勨?鈥旀槸瀹夊叏鐨勶細涓?釜 non-const 鎴愬憳鍑芥暟瀵逛竴涓璞¤兘澶熶负鎵?涓猴紝鎵?互璋冪敤涓?釜 const 鎴愬憳鍑芥暟涔熸病鏈変换浣曢闄┿?杩欏氨鏄?static_cast 鍙互鍦ㄨ繖閲屽伐浣滅殑鍘熷洜锛氳繖閲屾病鏈?const-related 鍗遍櫓銆?br />
銆??灏卞儚鍦ㄦ湰鏂囧紑濮嬫垜鎵?鐨勶紝const 鏄竴浠剁編濡欑殑涓滆タ銆傚湪鎸囬拡鍜岃凯浠e櫒涓婏紝鍦ㄦ秹鍙婂璞$殑鎸囬拡锛岃凯浠e櫒鍜屽紩鐢ㄤ笂锛屽湪鍑芥暟鍙傛暟鍜岃繑鍥炲?涓婏紝鍦ㄥ眬閮ㄥ彉閲忎笂锛屽湪鎴愬憳鍑芥暟涓婏紝const 鏄竴涓己鏈夊姏鐨勭洘鍙嬨?鍙鍙兘灏辩敤瀹冿紝浣犱細涓轰綘鎵?仛鐨勬劅鍒伴珮鍏淬?

Things to Remember

銆??路灏嗘煇浜涗笢瑗垮0鏄庝负 const 鏈夊姪浜庣紪璇戝櫒鍙戠幇浣跨敤閿欒銆俢onst 鑳借鐢ㄤ簬瀵硅薄鐨勪换浣曡寖鍥达紝鐢ㄤ簬鍑芥暟鍙傛暟鍜岃繑鍥炵被鍨嬶紝鐢ㄤ簬鏁翠釜鎴愬憳鍑芥暟銆?br />
銆??路缂栬瘧鍣ㄥ潥鎸佷簩杩涘埗浣嶅父閲忔?锛屼絾鏄綘搴旇鐢ㄦ蹇典笂鐨勫父閲忔?锛坈onceptual constness锛夋潵缂栫▼銆傦紙姝ゅ鍘熸枃鏈夎锛宑onceptual constness 涓轰綔鑰呭湪鏈功绗簩鐗堜腑瀵?logical constness 鐨勭О鍛硷紝姝f枃涓殑绉板懠鏀逛簡锛屾澶勫嵈娌℃湁鏀广?鍏跺疄姝ゅ杩樻槸浣滆?鏂板姞鐨勯儴鍒嗭紝鍗翠娇鐢ㄤ簡鏃х殑鏈锛屾?锛佲?鈥旇瘧鑰咃級

銆??路褰?const 鍜?non-const 鎴愬憳鍑芥暟鍏锋湁鏈川涓婄浉鍚岀殑瀹炵幇鐨勬椂鍊欙紝浣跨敤 non-const 鐗堟湰璋冪敤 const 鐗堟湰鍙互閬垮厤閲嶅浠g爜銆?br />





相关链接:



Easy to use File Compression



A clear DEFINITION of the ITU IPTV IPTV in China will affect the direction



C + + Monitor: Compatible With The Accepted Type Of Member Function Templates



Directory Astrology Or Biorhythms Or Mystic



To the ants and the Express "COSMETIC"



Matting, Photoshop master of the Road, 2



Strategy And War Games Infomation



Gmail FREQUENTLY dropped a solution



Ts Format Converter



convert m4a to mp3 ONLINE



free mp3 to aac CONVERTER



Easy Cataloging



Small window, Big World Comparative evaluation Pocket PC 8



mts To mpg



Sybase raise money for love during the full Sichuan



Photoshop Production - wire and spark



BenQ CD-R/RW discs identify the true and false



Thursday, August 5, 2010

Thunderbolt was the U.S. movie studios sue claims 6 7 million yuan



According to foreign media reports, six U.S. movie studios Thunder Network Technology in China has filed a civil suit and claims seven million yuan (about 100 million U.S. dollars).

This week five, six U.S. movie studios for copyright infringement on the Thunder Network Technology Corporation filed a civil suit and claims seven million yuan.

Motion Picture Association (MPA) said in a statement, the plaintiff also requested the Thunder openly admitted copyright infringement, and to guarantee that no infringement. MPA said the Thunder suspected of infringing copyright hundreds of films, including "Spider-Man 3", "World War" and "Miami Vice" and so on.

In fact, the American Film Institute early last year, Google has put pressure on investors Thunder, Thunder, said Google has the duty to prevent users from downloading pirated movies.

Currently, Google and the Thunder has not yet comment.







Recommended links:



Big DRAGON: China's PR industry subversion



Dealer, where your opportunities



Good Text Or Document Editors



Matroska Video File



Hou Ziqiang: CDN Total Amount Of Traffic To Solve The Problem P2P



Digital board reshuffle: Chairman Guo Wei



free download convert mp4 To 3gp



Converting avi to wmv



FreeBSD SNP 1. Installation of SNP



Clipboard Tools reviews



Dual disc engraved with me



Invincible Command No Process That Does Not Die!



Casino And Gambling Report



Convert mov to flv



Seasonal - Screen Savers Comments



Whether IPhone OPhone are not just Phone



SYMBIAN Association David Wood: open source, unity and progress



Wednesday, July 14, 2010

Wealth-WinRAR extract slimming feature to answer



Currently, WinRAR usage and "downsizing rate" will not lose in WinZip, you users to download the stuff online is also a considerable part of the RAR format. I for some common problems are numerous, to answer them.

Q: Why sometimes can not properly extract the files?

A: 1, RAR archive files corrupted.

2 versions are not compatible. For example, if you unzip with WinRAR 2.8 WinRAR 3.0 version of compressed files, naturally not work. The solution is to immediately upgrade the software version (the latest version 3.00). Note: this is a very common procedure in the extracted files if prompted unknown file type, it is almost certain that the situation was.

Q: how to enhance protective measures for compressed files?

Answer: a, set data recovery

Click on the menu "command 鈫?to protect file file", set the data recovery record size. The greater the rate of recovery records, the greater the compression packages. Only RAR documents with data recovery record, the future can only be repaired.

Little Knowledge: recovery record contains only 32,768 to restore most sectors, if the data corruption is continuous, each recovery sector can recover 512 bytes of damaged information. If there are multiple damage, this value will become smaller.

2, prohibits the document is modified compression

In the dialog box shown select the corresponding checkbox.

3, set the password

Click on the menu "File 鈫?Password", enter the password and confirm.

Q: The archive files corrupted how to do?

A: If it is found after opening archive file is corrupted, unable to extract, then click the program menu bar on the "command 鈫?repair archive" and then selected in the dialog was fixed place where the path of the file file and file type ( RAR or ZIP), then click "OK" began restoration. Premise: The file must have data recovery record.

Q: If the RAR format, the file association is changed to other similar programs how to do?

A: In the "Options 鈫?Settings" window, switch to the "Comprehensive Options" tab, in the "WinRAR files associated with what" the project, check the "RAR" radio button, "OK" button.

Tip: If you check the file association in the "ISO" radio button, you can use WinRAR to open virtual CD files.

Q: How do I clear the "File" menu, recently visited the file name?

A: Run the registry (Regedit), expand "HKEY_CURRENT_USERSoftwareWinRARArcHistory" branch, view the right view, "0", "1" ... ... (in the order order) of the key, as long as you can delete these keys.

Q: If the person is not installed unzip program (WinRAR), to enable them to open the document?

A: The production of the self-extracting file, follow these steps:

1, open the specified compressed document, click on the menu bar on the "command 鈫?convert file file format for self-release", choose "format since the release of";

2, the bottom can also click the "Advanced Options from the release" button for more detailed settings.

Tip: In the "Setup" item, you can specify the release before and after running. This is used for? Compressed package if there are two files (assumed to be A, B), you would like to make the other party does not know the file B run A file can be set to "release before the run", B is set to file "After the release of running."

3, and finally click "OK" button.

Q: How to quickly open the specified zip file?

A: First open the specified zip file, click on the menu bar on the "Favorites 鈫?Add to Favorites", then click "OK." To quickly open all compressed files are so operating. Since then, when to call a file, press Ctrl +1 ... ... Ctrl + N, the order number can be analogy.

Q: How to compress the document add / remove comment information?

銆??绛旓細鍦╓inRAR涓荤晫闈腑锛岀偣鍑诲伐鍏锋爮涓婄殑鈥滀俊鎭?鎸夐挳锛屽湪鏂囦欢淇℃伅绐楀彛鐨勨?娉ㄩ噴鈥濇爣绛鹃〉涓嵆鍙坊鍔犵浉鍏虫敞閲婁俊鎭?娓呴櫎娉ㄩ噴淇℃伅鐨勬柟娉曠被浼硷紝鍙笉杩囨渶鍚庝竴姝ユ敼涓哄垹闄ゆ墍鏈夋敞閲婁俊鎭?

銆??闂細濡備綍鑷畾涔夊伐鍏锋爮?

銆??绛旓細鍦╓inRAR鐨勨?閫夐」鈫掕缃?瀵硅瘽妗嗕腑锛屾煡鐪嬧?甯歌鈥濇爣绛鹃〉锛屽湪鈥滃伐鍏锋爮璁剧疆鈥濋」鐩腑锛屽彲璁惧畾鍥炬爣鏍峰紡鍙婃槸鍚︽樉绀烘枃鏈紝鍐嶇偣鍑烩?閫夋嫨鎸夐挳鈥濊繕鍙缃湪妗f鏂囦欢澶栭儴鍙婂唴閮ㄦ樉绀虹殑鎸夐挳锛岄?杩団?涓婄Щ鈥濄?鈥滀笅绉烩?鎸夐挳杩樿兘璋冩暣瀹冧滑鐨勫墠鍚庨『搴忋?







相关链接:



CD TO MP3 Ripper



Video mpg



Articles about Games Arcade



Perpetually MPEG to PDA BlackBerry



Feature Library To Create Instance Of IDS Intrusion Analysis (2)



Bliss CD MP3 ID3 Tag WAVE to MP2 Editor



avc Converter



Arial SOUND Recorder



Extra Video to Audio MP3 Converter Free



avi CONVERTER



how TO convert mp3 to mp4



Youtube Backup + Player Professional



Audio And Multimedia Specialist



Thursday, December 10, 2009

LasVegas DVD Manager


LasVegas DVD Manager is a easy-to-use and high speed All-in-One AVI, MPG, MPEG 1/2/4, WMV, MOV, MP4, RM, RMVB, DivX, Xvid, ASF, 3GP, Youtube FLV to DVD VOB manager. This software can burn video to DVD and convert video to VOB and finish all your tasks with the fastest speed possible and the best quality available. No one will ask how to make a DVD video anymore once they try this great video to VOB manager. We highly recommend this program because we think it will make your multimedia life a lot easier and more enjoyable. It allows you to specify NTSC or PAL format, adjust 4:3 or 16:9 video aspect, and burn either DVD disc or ISO file. By setting bitrate and framerate, you can get excellent quality on TV screen. Just free download and enjoy it right now! DVD Manager helps you not only to slide show your favorite photos on TV but also watch video files on your computer or on your TV.

Thursday, December 3, 2009

How-to DVD to Mobile


How-to DVD to Mobile is an All-in-One solution to create Mobile Phone 3GP movies from DVDs, TV shows and downloaded videos. The software combines DVD to Mobile Converter and 3GP Video Converter in one package for discounted price. The software is easy to use. It features superb video audio quality and the fastest conversion techniques availabe on the market (Up to 3x faster).

How-to DVD to Mobile easy converts all popular video formats such as AVI, DivX/Xvid, WMV, RM, MPG, MOV, MPEG (and many more) videos into Mobile Phone 3GP format. Watch movies on the road. Support all mobile phones with 3GP video capability. The software is very easy to use. It compresses a full lengh movie into small size which can be fitted in a 128MB memory card. Carry your movie theater on the go! Watch movies anywhere, anytime - a new life style.

Friday, October 16, 2009

Youtube Movie to FLV Application


Hot popluar youtube video Converter + download + player tool. With YouTube tool you can also convert downloaded YouTube videos to a format compatible with your favorite portable device; including - iPod Video, iPod Touch, iPod Nano, iPhone, Zune, PSP, as well as video capable MP3 players, video capable mobile phones, and Pocket PC, And finally... YouTube tool's embedded player will allow you to watch all your favorite YouTube videos off-line. So now you can enjoy any .flv and .swf videos anytime!
Easily Convert all popular video formats. Provides the highest speed to download YouTube video. Support unlimited simultaneous downloading tasks. Supports auto-name your downloaded video title as the YoutTube page shows. Offers you the most convenient task management and the easiest control capability. About Conversion Features. - is the most powerful YouTube assistant on the planet.