Site Tools


documentation:development:opera:pf25:ppgfldr:ggsfldr:gprfldr:01gpr062

SetCurrentFontCCB

Sets the font's CCB.

Synopsis

Err SetCurrentFontCCB (CCB *ccb)

Description

This call sets the CCB of the current font. To modify the CCB of the current font, do the following:

  • Call GetCurrentFont()
  • Copy the CCB pointed to by the font structure
  • Edit your copy of the CCB
  • Call SetCurrentFontCCB()

When you submit a CCB, the ccb_PLUTPtr field should either be significant or set to NULL. The font flag, FONT_VERTICAL, determines whether characters are printed vertically (top to bottom) or horizontally (left to right). If the flag is set, the characters are printed vertically.

Arguments

  • ccb Pointer to the CCB.

Return Value

The call returns 0 if successful or an error code (a negative value) if an error occurs.

Implementation

Folio call implemented in Graphics folio V20.

Associated Files

graphics.h, graphics.lib

See Also

GetCurrentFont()

documentation/development/opera/pf25/ppgfldr/ggsfldr/gprfldr/01gpr062.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1