company logo

Font :: usePixel - Pixel size property

When the property is set to true , pixel size is used instead of point size, which is used in case the property has been set to false . Pixel size makes the font device dependent.

Options.GUIFramework.Fonts._std_font.is_pixel=NO

Return value:  Enable resource ( bool  )

In order to enable the referenced resource true should be passed. Passing false will disable the resource.

Implementation overview

Implementation details

  1. Use pixels instead of points?
    bool Font  :: usePixel (  )

    The function returns true , when pixel metric is to be used and false otherwise.

  2. to list
  3. Set use pixel property
    bool Font  :: usePixel ( bool bEnable )

    The function sets the property value to the value passed in bEnable . Changing the value will not affect the size value, but the text presentation when applying the layout settings to the resource.

    • bEnable - Enable resource

      In order to enable the referenced resource true should be passed. Passing false will disable the resource.

  4. to list