Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

how to put a mask in a vector drawed gauge ?

Featured Replies

im trying to make a rectangle gauge round, the author of the gauge told me " all you need to do is use a round mask" i do not know anything about useing vectors, i have used masks, but the structure is different, the vector starts out so i do not know how to preceed it with

  • Author
  • Moderator

Here is an example of how to place a bitmap: (A:Plane heading degrees gyro,radians) /-/Although this particular example is using a bitmap for the HSI_Card_Outside (i.e., the "compass ring"), code for a vector drawn image would "fit" well instead within the same structure.Note that the has it's own x,y center coordinate specification...

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

thanks bill, i am familiar with masks used as your example, but... encompassing the entire gauge, but it did not work. the gauge drew through the image or it was ignored i cant tell which. since the picture(vector)name is part and parcel of the element command i do not how how to work a mask ahead of the vector picture. i have never used vectors and am only familar with image name = type elements

Hi,Here a piece of a PFD.......(A:Attitude indicator pitch degrees, degrees) /-/ (A:Attitude indicator bank degrees, radians)40---------------40nn----------nn30---------------30nn----------nn20---------------20n-----n----------n-----n10---------------10n-----n----------n-----nn-----n----------n-----n10---------------10n-----n----------n-----n20---------------20nn-----nn30---------------30(A:Attitude indicator pitch degrees, degrees) /-/ (A:Attitude indicator bank degrees, radians).....etc.Hope it helps,Jan"Beatus ille qui procul negotiis..."

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Author
  • Moderator

>i do not how how to work a mask ahead of the vector picture. i>have never used vectors and am only familar with image name =>type elementsYou don't. Paint the vector, THEN apply the mask image! ;)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.