firemonkeylessons.blogspot.com firemonkeylessons.blogspot.com

firemonkeylessons.blogspot.com

Delphi Notes by Dennies Chang

Delphi Notes by Dennies Chang. 以往在 VCL Framework 裡面, 我們可以使用 Windows GDI 的相關 API 來處理圖片, 讓原本方方正正的圖片依照我們的需要切成各種形狀。但這個功能在使用FireMonkey的時候, 卻因為Windows GDI無法跨平台而無法使用在其他裝置上面了,但把圖片切成各種形狀的需求還是很常出現,那怎麼辦呢? 在FireMonkey裡面,TBitmap這個 Class 提供了對 Canvas 處理的許多方法可以使用,其中的 CreateFromBitmapAndMask 方法,可以透過一個黑白的圖片當成遮罩來做這個自定形狀的裁切功能。 這個功能在許多網路的文章裡面都有提到過,所以我也不獻醜了。要跟大家分享的是在使用這個方法的時候,需要額外注意的地方。 在Embarcadero 的 docwiki 上面, 有關於 createFromBitmapAndMask 的範例程式,大家可以點 連結. Runtime製作出來的 TBitmap 變數,怎麼都沒辦法弄出圖像啊! LBmp := TBitmap.Create;. TBmpCanv...

http://firemonkeylessons.blogspot.com/

WEBSITE DETAILS
SEO
PAGES
SIMILAR SITES

TRAFFIC RANK FOR FIREMONKEYLESSONS.BLOGSPOT.COM

TODAY'S RATING

>1,000,000

TRAFFIC RANK - AVERAGE PER MONTH

BEST MONTH

November

AVERAGE PER DAY Of THE WEEK

HIGHEST TRAFFIC ON

Tuesday

TRAFFIC BY CITY

CUSTOMER REVIEWS

Average Rating: 4.5 out of 5 with 10 reviews
5 star
6
4 star
3
3 star
1
2 star
0
1 star
0

Hey there! Start your review of firemonkeylessons.blogspot.com

AVERAGE USER RATING

Write a Review

WEBSITE PREVIEW

Desktop Preview Tablet Preview Mobile Preview

LOAD TIME

0.6 seconds

FAVICON PREVIEW

  • firemonkeylessons.blogspot.com

    16x16

  • firemonkeylessons.blogspot.com

    32x32

  • firemonkeylessons.blogspot.com

    64x64

  • firemonkeylessons.blogspot.com

    128x128

CONTACTS AT FIREMONKEYLESSONS.BLOGSPOT.COM

Login

TO VIEW CONTACTS

Remove Contacts

FOR PRIVACY ISSUES

CONTENT

SCORE

6.2

PAGE TITLE
Delphi Notes by Dennies Chang | firemonkeylessons.blogspot.com Reviews
<META>
DESCRIPTION
Delphi Notes by Dennies Chang. 以往在 VCL Framework 裡面, 我們可以使用 Windows GDI 的相關 API 來處理圖片, 讓原本方方正正的圖片依照我們的需要切成各種形狀。但這個功能在使用FireMonkey的時候, 卻因為Windows GDI無法跨平台而無法使用在其他裝置上面了,但把圖片切成各種形狀的需求還是很常出現,那怎麼辦呢? 在FireMonkey裡面,TBitmap這個 Class 提供了對 Canvas 處理的許多方法可以使用,其中的 CreateFromBitmapAndMask 方法,可以透過一個黑白的圖片當成遮罩來做這個自定形狀的裁切功能。 這個功能在許多網路的文章裡面都有提到過,所以我也不獻醜了。要跟大家分享的是在使用這個方法的時候,需要額外注意的地方。 在Embarcadero 的 docwiki 上面, 有關於 createFromBitmapAndMask 的範例程式,大家可以點 連結. Runtime製作出來的 TBitmap 變數,怎麼都沒辦法弄出圖像啊! LBmp := TBitmap.Create;. TBmpCanv...
<META>
KEYWORDS
1 bloggerads
2 用遮罩來把 tbitmap 裁切成我們需要的形狀
3 在範例中,或者我們自己搜尋的網路範例中 山本隆的開發日誌
4 問題來了
5 finally
6 lbmpfree;
7 tbmpfree;
8 end;
9 要解決這個問題,需要把程式改成以下這樣,只加了兩行
10 tbmpcanvas beginscene;
CONTENT
Page content here
KEYWORDS ON
PAGE
bloggerads,用遮罩來把 tbitmap 裁切成我們需要的形狀,在範例中,或者我們自己搜尋的網路範例中 山本隆的開發日誌,問題來了,finally,lbmpfree;,tbmpfree;,end;,要解決這個問題,需要把程式改成以下這樣,只加了兩行,tbmpcanvas beginscene;,tbmpcanvas endscene;,問題二 透過遮罩做出來的裁切圖片,想裁切掉的地方弄不乾淨,再把這個特定顏色換成透明色,完成,換成程式碼,就寫成這樣:,m tbitmapdata;,begin
SERVER
GSE
CONTENT-TYPE
utf-8
GOOGLE PREVIEW

Delphi Notes by Dennies Chang | firemonkeylessons.blogspot.com Reviews

https://firemonkeylessons.blogspot.com

Delphi Notes by Dennies Chang. 以往在 VCL Framework 裡面, 我們可以使用 Windows GDI 的相關 API 來處理圖片, 讓原本方方正正的圖片依照我們的需要切成各種形狀。但這個功能在使用FireMonkey的時候, 卻因為Windows GDI無法跨平台而無法使用在其他裝置上面了,但把圖片切成各種形狀的需求還是很常出現,那怎麼辦呢? 在FireMonkey裡面,TBitmap這個 Class 提供了對 Canvas 處理的許多方法可以使用,其中的 CreateFromBitmapAndMask 方法,可以透過一個黑白的圖片當成遮罩來做這個自定形狀的裁切功能。 這個功能在許多網路的文章裡面都有提到過,所以我也不獻醜了。要跟大家分享的是在使用這個方法的時候,需要額外注意的地方。 在Embarcadero 的 docwiki 上面, 有關於 createFromBitmapAndMask 的範例程式,大家可以點 連結. Runtime製作出來的 TBitmap 變數,怎麼都沒辦法弄出圖像啊! LBmp := TBitmap.Create;. TBmpCanv...

INTERNAL PAGES

firemonkeylessons.blogspot.com firemonkeylessons.blogspot.com
1

Delphi Notes by Dennies Chang: 十月 2015

http://firemonkeylessons.blogspot.com/2015_10_01_archive.html

Delphi Notes by Dennies Chang. Indy - TCP 之一 - 以 TIdTCPServer 自製檔案伺服器 (1). 自 2001年9月, 我的第四本書- Delphi/Kylix Indy 網際網路程式設計出版之後,忙工作,忙教學,不知不覺也過了十幾年。 (好可怕啊 時光艿苒就是這種感覺嗎? 在這期間我也曾經發過幾次神經,想要把該書改版一下,當時撰寫的時候,那時空背景是 Delphi 7, Kylix 3, Indy 8.0.25 轉 Indy 9 的時候,現在 Delphi XE7 都舉行了預覽發表會,Kylix 已經緲緲不知所蹤,Indy 都到 10.5 以後的版本了。 筆者可能算是比較老派的,所以老愛掉書包,我們也別落人後,今天就來個範例,讓大家寫寫 Indy 小程式,做做傳遞檔案的功能吧。 可能您會說:我用 FTP Server 就好了,我用 Apache 加 PHP 用 Upload File 來做就好了等等。 TCP Server 的運作,就是從啟動開始,先建立一些等待的 Queue, 也就是上圖裡面的等待隊序,像 ...在等待的過程當中,一旦...

2

Delphi Notes by Dennies Chang: 九月 2014

http://firemonkeylessons.blogspot.com/2014_09_01_archive.html

Delphi Notes by Dennies Chang. 在 iOS app 裡面, 很多時機仍舊需要使用者輸入文字, 因此 iDevice (iPhone, iPad, iPod Touch) 上面的虛擬鍵盤就很重要。 然而,在 Delphi 上面,我們要構成一個完整的 app 畫面,需要許多的設計,包含美術設計與介面設計,美術設計會構築美觀的畫面,而介面設計跟程式設計的人則賦予這個畫面完整的功能。 如果您很習慣於使用 XCode 來製作 iOS app, 一定很常使用 UIImageView 或者 TapDetectingImageView 來取代一般的 UIButton, 因為 UIButton 常常在圖片的調整上面不精準,會讓整個畫面跟原來美術設計的構想差距很大。 然而,在這種作法之下,居然產生了很大的副作用,所以有了這篇分享文章的誕生。 虛擬鍵盤旁邊有時候會有些 Done, Prev, Next 的功能按鈕,但介面上的設計就是要讓使用者自由自在的使用,所以我們在設計介面的時候,沒辦法規定使用者一定只能照著特定的操作步驟來用 app. 圖四:點擊了 TImage, 虛擬鍵盤卻沒有消失.

3

Delphi Notes by Dennies Chang: 如何用 FireMonkey 的 TWebBrowser 取回 JSON 資料

http://firemonkeylessons.blogspot.com/2015/01/firemonkey-twebbrowser-json.html

Delphi Notes by Dennies Chang. 如何用 FireMonkey 的 TWebBrowser 取回 JSON 資料. 從 Delphi XE2 開始, FireMonkey就包含了跨平台的TWebBrowser元件(Windows版本跟行動版本是分開的, 我記得Windows版本的 TWebBrowser 元件, 是 VCL 版本的 ActiveX),但從 XE2 開始到 XE6, 每一版的 TWebBrowser 都少了點東西. XE2到XE4都沒有Android版本的WebBrowser, 到 XE5 總算行動平台的 WebBrowser 都具備了, 但在網頁當中的 Form 輸入文字, 卻有選擇了文字無法傳送到文字框的缺失, 這個問題在 XE6 被解決掉了,XE6 的 WebBrowser 又有了效能不夠好的問題。 所以,筆者兜兜轉轉,拼湊出了這麼一套方法:. 1 先確定進入了我們需要的內容網址,筆者以自己寫的 Google 登入網頁作為範例。 Https:/ www.googleapis.com/oauth2/v1/userinfo? If (Pos('http:/ 1...

4

Delphi Notes by Dennies Chang: Virtual Keyboard 的顯示與隱藏

http://firemonkeylessons.blogspot.com/2014/09/virtual-keyboard.html

Delphi Notes by Dennies Chang. 在 iOS app 裡面, 很多時機仍舊需要使用者輸入文字, 因此 iDevice (iPhone, iPad, iPod Touch) 上面的虛擬鍵盤就很重要。 然而,在 Delphi 上面,我們要構成一個完整的 app 畫面,需要許多的設計,包含美術設計與介面設計,美術設計會構築美觀的畫面,而介面設計跟程式設計的人則賦予這個畫面完整的功能。 如果您很習慣於使用 XCode 來製作 iOS app, 一定很常使用 UIImageView 或者 TapDetectingImageView 來取代一般的 UIButton, 因為 UIButton 常常在圖片的調整上面不精準,會讓整個畫面跟原來美術設計的構想差距很大。 然而,在這種作法之下,居然產生了很大的副作用,所以有了這篇分享文章的誕生。 虛擬鍵盤旁邊有時候會有些 Done, Prev, Next 的功能按鈕,但介面上的設計就是要讓使用者自由自在的使用,所以我們在設計介面的時候,沒辦法規定使用者一定只能照著特定的操作步驟來用 app. 圖四:點擊了 TImage, 虛擬鍵盤卻沒有消失.

5

Delphi Notes by Dennies Chang: 七月 2014

http://firemonkeylessons.blogspot.com/2014_07_01_archive.html

Delphi Notes by Dennies Chang. 在 Win32 的應用程式開發中, VCL 架構當中, 我們常常會在畫面上有多個 TEdit 或 TMemo 的時候, 設定這些元件的 TabOrder, 用以決定每個文字編輯元件的順序, 待使用者輸入文字後,按下Tab鍵,便可切換到下一個文字輸入元件。 在行動裝置上卻沒有所謂以Tab鍵進行文字輸入元件切換的功能,要不是在虛擬鍵盤或手寫輸入控制元件上緣有上一個、下一個的按鍵進行切換,就會直接在鍵盤或手寫輸入框裏有換行、完成的按鍵,待使用者按下之後切換到下一個輸入的文字框去。 不僅如此,在行動裝置上輸入文字時,還會因為虛擬鍵盤的出現,需要把畫面整個向上挪移,才不會有文字框被虛擬鍵盤擋住,使用者輸入了什麼都看不見的窘況。 然而,在FireMonkey 中,還是能夠達到前述功能的,只是要多花一些功夫,稍微多幾個步驟就是了:. 這樣一來,按下虛擬鍵盤的Return時,虛擬鍵盤就會自動縮回去了,也就是該文字框完成了編輯。 Procedure THeaderFooterForm.Edit1Enter(Sender: TObject);. 如果Form 的...

UPGRADE TO PREMIUM TO VIEW 11 MORE

TOTAL PAGES IN THIS WEBSITE

16

OTHER SITES

firemonkeyexplore.com firemonkeyexplore.com

Firemonkey eXplore | Rapid cross platform native app development with the Firemonkey framework!

Tips & Tricks. Tools & Components. Android, IOS, Windows, and Mac. Get started fast with an. C And Object Pascal. Join the community of thousands of developers. We knew there had to be a faster way to create apps. Build one responsive layout for phones, tablets, and desktops using the anchor and align features. Or automatically load the correct layout for the device it is running on. Use the same layout across all platforms including Android, IOS, Windows, and Mac. Award winning visual development! Inter...

firemonkeyexplorer.com firemonkeyexplorer.com

Firemonkey eXplorer Program | Spread the love.

The goal of the Firemonkey eXplorer program is to promote the usage and growth of the Firemonkey Framework. It does this by providing an introduction to Firemonkey using a slick modern design and a network of developers invested in it’s success. Firemonkey is a visual framework for cross platform rapid application development that is owned and developed by Embarcadero Technologies, Inc. The Firemonkey Framework currently supports Windows, Android, IOS, and OSX. Embarcadero has an affiliate program. Cut a...

firemonkeyhairdesign.blogspot.com firemonkeyhairdesign.blogspot.com

Fire Monkey Hair Design

Fire Monkey Hair Design. Long Island bridal hair. Sunday, January 22, 2012. While I try to keep my blogspot as up to date as possible, Please visit my official website @. Thursday, July 21, 2011. Your special day has finally arrived and all eyes will be on you as you walk down the aisle. The perfect day.the perfect partner.you deserve perfect hair! Saturday, February 27, 2010. Welcome to my online portfolio! Click through the tabs at the top for pictures, services and prices! I hope to see you soon.

firemonkeyhairdesign.com firemonkeyhairdesign.com

Welcome

Fire Monkey Hair Design. On location bridal styling serving Long Island, The Hamptons, North Fork, Shelter Island, Fire Island, NYC, Queens, Brooklyn, Bronx, Staten Island and surrounding areas. On location bridal hair styling. At Fire Monkey Hair Design, I stand for superior artistry and utmost professionalism. I absolutely love what I do and I hope I can extend that passion to you on your special day. No Bridal party is too small or too big, as I have a team of stylists to take care of your every need.

firemonkeyinfo.blogspot.com firemonkeyinfo.blogspot.com

FireMonkey Info Blog

firemonkeylessons.blogspot.com firemonkeylessons.blogspot.com

Delphi Notes by Dennies Chang

Delphi Notes by Dennies Chang. 以往在 VCL Framework 裡面, 我們可以使用 Windows GDI 的相關 API 來處理圖片, 讓原本方方正正的圖片依照我們的需要切成各種形狀。但這個功能在使用FireMonkey的時候, 卻因為Windows GDI無法跨平台而無法使用在其他裝置上面了,但把圖片切成各種形狀的需求還是很常出現,那怎麼辦呢? 在FireMonkey裡面,TBitmap這個 Class 提供了對 Canvas 處理的許多方法可以使用,其中的 CreateFromBitmapAndMask 方法,可以透過一個黑白的圖片當成遮罩來做這個自定形狀的裁切功能。 這個功能在許多網路的文章裡面都有提到過,所以我也不獻醜了。要跟大家分享的是在使用這個方法的時候,需要額外注意的地方。 在Embarcadero 的 docwiki 上面, 有關於 createFromBitmapAndMask 的範例程式,大家可以點 連結. Runtime製作出來的 TBitmap 變數,怎麼都沒辦法弄出圖像啊! LBmp := TBitmap.Create;. TBmpCanv...

firemonkeyproductions.blogspot.com firemonkeyproductions.blogspot.com

Fire Monkey Productions

Saturday, 20 November 2010. Citizen Jia Li HQ trailer! This is the trailer to the independent feature film I shot which screened at ACMI cinema this month! Wednesday, 2 June 2010. Firemonkey Productions is ready to photograph or film any event, script, skit, show or whatever you want! Please feel free to contact me with any questions at -. Tuesday, 1 June 2010. A link to firemonkeyphotography as well! Http:/ www.flickr.com/photos/firemonkeyproductions/. 5 years of firemonkey filming ;). In this blog you ...

firemonkeys.com firemonkeys.com

firemonkeys.com - Registered at Namecheap.com

This domain is registered at Namecheap. This domain was recently registered at Namecheap. Please check back later! This domain is registered at Namecheap. This domain was recently registered at Namecheap. Please check back later! The Sponsored Listings displayed above are served automatically by a third party. Neither Parkingcrew nor the domain owner maintain any relationship with the advertisers.

firemonkeys.com.au firemonkeys.com.au

Firemonkeys |

The Sims 3 (iPhone). The Sims 3 (Google Play). Sims 3 World (iPhone). Sims FreePlay (Google Play).

firemonkeys.net firemonkeys.net

FireMonkeys.net – One primate discovering fire (or something like that)

One primate discovering fire (or something like that). March 16, 2018. Over a billion seconds… and counting. Welcome to my fourth, maybe fifth, revamp of this site. I have been meaning to turn this into something helpful for some time, but I really get more involved in the projects and learning.. Designed with the Hueman theme.