横画面の撮影画面調整とisFlatの調整

こんばんは フリーランスの永田です。

19日のアドベントカレンダー投稿予定の記事も書き上げてしまいました。

19日に公開させていただきます。

今回は題名の自作ライブラリーで発見したBugの修正方法を簡単に記載させていただきます。

 

           BothSidesCamera         

自作ライブラリーは前面背面を同時録画でき、スクリーンショット機能を持つライブラリーです。

問題1

パープルボタンを押下して2画面同じ比率にする際、録画画像が2ミリぐらいずれてしまっていた。

対応

縦画面では2画面同じ比率と、録画画像が合っていたので、同じロジックを横画面でも組み込む。

Action

解説

前面背面を指定したframeにする

2画面同じ比率の場合

半分の大きさにして、指定したY座標の設定

以上で横画面で2画面同じ比率の時も、縦画面と同じロジックで撮影画面と合いました。

問題2 +対応+解説

Action

上記は言語をプログラム化した内容になります。

以上で2つのBugを修正しました。合計で1時間30分ぐらいで対応しました。

あと青いButtonのカメラ切り替えの際に横画面の画面崩れが発生していた部分を修正しました。これは3分ぐらいです。

画面回転と横画面のプログラムを入れると、確認項目や難易度が一気に上がりますが、対応できたと思います。

以上、貴重なお時間お読み下さいまして、誠にありがとうございます。


投稿日

カテゴリー:

投稿者:

タグ:

コメント

“横画面の撮影画面調整とisFlatの調整” への9件のフィードバック

  1. lostangelesca.tumblr.comのアバター

    Excellent beat ! I wish too apprentice while you ammend your site, how can i subscribe for a blog
    web site? The account helped me a appropreiate deal.
    I had been tiny bit familiar of this your broadcast provided vivid clear idea

    1. dbankのアバター
      dbank

      If the act of raising technology becomes a simple daily routine, it becomes work and life becomes wealthy.

  2. kiet giang melbourneのアバター

    Today, I went to the beach with my children. I found a sea shell and gave it to my 4 year old daughter and said
    “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed.
    There was a hermit crab inside and it pinched
    her ear. She never wants to go back! LoL I know this is totally off topic but I had to tell someone!

  3. viagraのアバター

    Hi, Neat post. There is a problem along with your web site in web explorer, could test this?
    IE still is the market chief and a huge component to
    folks will omit your great writing due to this problem.

  4. porn moviesのアバター

    You should be a part of a contest for one of the greatest blogs on the internet.
    I most certainly will recommend this website!

  5. extreme-memer.tumblr.comのアバター

    constanty i used to read smaller posts that as well clear their motive,
    and that is also happening with this article which I am reading now.

  6. porn moviesのアバター

    I love it whenever people get together and
    share ideas. Great blog, stick with it!

  7. porn moviesのアバター

    This piece of writing will help the internet people
    for setting up new website or even a blog from
    start to end.

  8. buy dumps onlineのアバター

    I do not even кnow how I еnded uⲣ here, but I thought
    tһis post ᴡas grеat. Ӏ don’t know wh᧐ you аre but certaіnly yoou are going tօ a famous blogger
    if yоu aгen’t aⅼready 😉 Cheers!

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です