我的目標是使用C庫來構建Web應用程序。 我已經選擇這樣做,通過使用「夜風」工具的方式。 的痛飲工具需要三樣東西 1) .c file which defines all the functions.
2) .i file also called interface file which is creating the
interface to load the APIs wherin I
任何人都可以幫助我得到這個運行?我正在瞄準一個自定義的演員。 (我在過去幾天剛開始使用Vala攻擊,Clutter也是一個謎。) drawme方法正在運行(當調用invalidate時),但似乎沒有任何繪圖發生(通過開羅上下文)。 ETA:我在構造函數中添加了一行以顯示修復 - this.set_size。 /*
Working from the sample code at:
https:
我正在玩雜波/開羅,我試圖畫一個矩形;但是,看起來set_source_rgb會自動繪製整個畫布及其來源,無論我是否告訴它繪製矩形(即,即使刪除了ctx.rectangle()和ctx.fill()線條,矩形仍然繪製)。爲什麼是這樣?我需要做什麼才能讓矩形做繪畫而不是set_source_rgb? public class AnActor : Clutter.Actor {
publi